build.info 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. $ECASM=
  2. IF[{- !$disabled{asm} -}]
  3. $ECASM_x86=ecp_nistz256.c ecp_nistz256-x86.s
  4. $ECDEF_x86=ECP_NISTZ256_ASM
  5. $ECASM_x86_64=ecp_nistz256.c ecp_nistz256-x86_64.s x25519-x86_64.s
  6. $ECDEF_x86_64=ECP_NISTZ256_ASM X25519_ASM
  7. $ECASM_ia64=
  8. $ECASM_sparcv9=ecp_nistz256.c ecp_nistz256-sparcv9.S
  9. $ECDEF_sparcv9=ECP_NISTZ256_ASM
  10. $ECASM_sparcv8=
  11. $ECASM_alpha=
  12. $ECASM_mips32=
  13. $ECASM_mips64=
  14. $ECASM_s390x=ecp_s390x_nistp.c ecx_s390x.c
  15. $ECDEF_s390x=S390X_EC_ASM
  16. $ECASM_armv4=ecp_nistz256.c ecp_nistz256-armv4.S
  17. $ECDEF_armv4=ECP_NISTZ256_ASM
  18. $ECASM_aarch64=ecp_nistz256.c ecp_nistz256-armv8.S
  19. $ECDEF_aarch64=ECP_NISTZ256_ASM
  20. $ECASM_parisc11=
  21. $ECASM_parisc20_64=
  22. $ECASM_ppc32=
  23. $ECASM_ppc64=ecp_nistz256.c ecp_nistz256-ppc64.s x25519-ppc64.s
  24. $ECDEF_ppc64=ECP_NISTZ256_ASM X25519_ASM
  25. $ECASM_c64xplus=
  26. # Now that we have defined all the arch specific variables, use the
  27. # appropriate one, and define the appropriate macros
  28. IF[$ECASM_{- $target{asm_arch} -}]
  29. $ECASM=$ECASM_{- $target{asm_arch} -}
  30. $ECDEF=$ECDEF_{- $target{asm_arch} -}
  31. ENDIF
  32. ENDIF
  33. $COMMON=ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c \
  34. ec_curve.c ec_check.c ec_print.c ec_key.c ecx_key.c ec_asn1.c \
  35. ec2_smpl.c \
  36. ecp_oct.c ec2_oct.c ec_oct.c ec_kmeth.c ecdh_ossl.c \
  37. ecdsa_ossl.c ecdsa_sign.c ecdsa_vrf.c curve25519.c \
  38. curve448/arch_32/f_impl.c curve448/f_generic.c curve448/scalar.c \
  39. curve448/curve448_tables.c curve448/eddsa.c curve448/curve448.c \
  40. $ECASM ec_backend.c ecx_backend.c ecdh_kdf.c
  41. IF[{- !$disabled{'ec_nistp_64_gcc_128'} -}]
  42. $COMMON=$COMMON ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c
  43. ENDIF
  44. SOURCE[../../libcrypto]=$COMMON ec_ameth.c ec_pmeth.c ecx_meth.c ecx_key.c \
  45. ec_err.c eck_prn.c ec_ctrl.c
  46. SOURCE[../../providers/libfips.a]=$COMMON
  47. # Implementations are now spread across several libraries, so the defines
  48. # need to be applied to all affected libraries and modules.
  49. DEFINE[../../libcrypto]=$ECDEF
  50. DEFINE[../../providers/libfips.a]=$ECDEF
  51. DEFINE[../../providers/libimplementations.a]=$ECDEF
  52. GENERATE[ecp_nistz256-x86.s]=asm/ecp_nistz256-x86.pl
  53. GENERATE[ecp_nistz256-x86_64.s]=asm/ecp_nistz256-x86_64.pl
  54. GENERATE[ecp_nistz256-avx2.s]=asm/ecp_nistz256-avx2.pl
  55. GENERATE[ecp_nistz256-sparcv9.S]=asm/ecp_nistz256-sparcv9.pl
  56. INCLUDE[ecp_nistz256-sparcv9.o]=..
  57. INCLUDE[ecp_s390x_nistp.o]=..
  58. INCLUDE[ecx_s390x.o]=..
  59. INCLUDE[ecx_meth.o]=..
  60. GENERATE[ecp_nistz256-armv4.S]=asm/ecp_nistz256-armv4.pl
  61. INCLUDE[ecp_nistz256-armv4.o]=..
  62. GENERATE[ecp_nistz256-armv8.S]=asm/ecp_nistz256-armv8.pl
  63. INCLUDE[ecp_nistz256-armv8.o]=..
  64. GENERATE[ecp_nistz256-ppc64.s]=asm/ecp_nistz256-ppc64.pl
  65. GENERATE[x25519-x86_64.s]=asm/x25519-x86_64.pl
  66. GENERATE[x25519-ppc64.s]=asm/x25519-ppc64.pl
  67. INCLUDE[curve448/arch_32/f_impl.o]=curve448/arch_32 curve448
  68. INCLUDE[curve448/f_generic.o]=curve448/arch_32 curve448
  69. INCLUDE[curve448/scalar.o]=curve448/arch_32 curve448
  70. INCLUDE[curve448/curve448_tables.o]=curve448/arch_32 curve448
  71. INCLUDE[curve448/eddsa.o]=curve448/arch_32 curve448
  72. INCLUDE[curve448/curve448.o]=curve448/arch_32 curve448