build.info 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 ecp_nistp521-ppc64.s x25519-ppc64.s
  24. $ECDEF_ppc64=ECP_NISTZ256_ASM ECP_NISTP521_ASM X25519_ASM
  25. INCLUDE[ecp_nistp521.o]=..
  26. $ECASM_c64xplus=
  27. # Now that we have defined all the arch specific variables, use the
  28. # appropriate one, and define the appropriate macros
  29. IF[$ECASM_{- $target{asm_arch} -}]
  30. $ECASM=$ECASM_{- $target{asm_arch} -}
  31. $ECDEF=$ECDEF_{- $target{asm_arch} -}
  32. ENDIF
  33. ENDIF
  34. $COMMON=ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c \
  35. ec_curve.c ec_check.c ec_key.c ec_kmeth.c ecx_key.c ec_asn1.c \
  36. ec2_smpl.c \
  37. ecp_oct.c ec2_oct.c ec_oct.c ecdh_ossl.c \
  38. ecdsa_ossl.c ecdsa_sign.c ecdsa_vrf.c curve25519.c \
  39. curve448/f_generic.c curve448/scalar.c \
  40. curve448/curve448_tables.c curve448/eddsa.c curve448/curve448.c \
  41. $ECASM ec_backend.c ecx_backend.c ecdh_kdf.c curve448/arch_64/f_impl64.c \
  42. curve448/arch_32/f_impl32.c
  43. IF[{- !$disabled{'ec_nistp_64_gcc_128'} -}]
  44. $COMMON=$COMMON ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c
  45. ENDIF
  46. SOURCE[../../libcrypto]=$COMMON ec_ameth.c ec_pmeth.c ecx_meth.c \
  47. ec_err.c eck_prn.c \
  48. ec_deprecated.c ec_print.c
  49. SOURCE[../../providers/libfips.a]=$COMMON
  50. # Implementations are now spread across several libraries, so the defines
  51. # need to be applied to all affected libraries and modules.
  52. DEFINE[../../libcrypto]=$ECDEF
  53. DEFINE[../../providers/libfips.a]=$ECDEF
  54. GENERATE[ecp_nistz256-x86.s]=asm/ecp_nistz256-x86.pl
  55. GENERATE[ecp_nistz256-x86_64.s]=asm/ecp_nistz256-x86_64.pl
  56. GENERATE[ecp_nistz256-avx2.s]=asm/ecp_nistz256-avx2.pl
  57. GENERATE[ecp_nistz256-sparcv9.S]=asm/ecp_nistz256-sparcv9.pl
  58. INCLUDE[ecp_nistz256-sparcv9.o]=..
  59. INCLUDE[ecp_s390x_nistp.o]=..
  60. INCLUDE[ecx_s390x.o]=..
  61. INCLUDE[ecx_meth.o]=..
  62. GENERATE[ecp_nistz256-armv4.S]=asm/ecp_nistz256-armv4.pl
  63. INCLUDE[ecp_nistz256-armv4.o]=..
  64. GENERATE[ecp_nistz256-armv8.S]=asm/ecp_nistz256-armv8.pl
  65. INCLUDE[ecp_nistz256-armv8.o]=..
  66. GENERATE[ecp_nistz256-ppc64.s]=asm/ecp_nistz256-ppc64.pl
  67. GENERATE[ecp_nistp521-ppc64.s]=asm/ecp_nistp521-ppc64.pl
  68. GENERATE[x25519-x86_64.s]=asm/x25519-x86_64.pl
  69. GENERATE[x25519-ppc64.s]=asm/x25519-ppc64.pl