build.info 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. LIBS=../../libcrypto
  2. $AESASM=aes_core.c aes_cbc.c
  3. IF[{- !$disabled{asm} -}]
  4. $AESASM_x86=aes-586.s
  5. $AESDEF_x86=AES_ASM
  6. $AESASM_x86_sse2=vpaes-x86.s aesni-x86.s
  7. $AESDEF_x86_sse2=VPAES_ASM
  8. $AESASM_x86_64=\
  9. aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s aesni-x86_64.s \
  10. aesni-sha1-x86_64.s aesni-sha256-x86_64.s aesni-mb-x86_64.s
  11. $AESDEF_x86_64=AES_ASM VPAES_ASM BSAES_ASM
  12. $AESASM_ia64=aes_core.c aes_cbc.c aes-ia64.s
  13. $AESDEF_ia64=AES_ASM
  14. $AESASM_sparcv9=\
  15. aes_core.c aes_cbc.c aes-sparcv9.S aest4-sparcv9.S aesfx-sparcv9.S
  16. $AESDEF_sparcv9=AES_ASM
  17. $AESASM_mips32=aes_cbc.c aes-mips.S
  18. $AESDEF_mips32=AES_ASM
  19. $AESASM_mips64=$AESASM_mips32
  20. $AESDEF_mips64=$AESDEF_mips32
  21. $AESASM_s390x=aes-s390x.S
  22. # aes-390x.S implements AES_ctr32_encrypt and AES_xts_[en|de]crypt
  23. $AESDEF_s390x=AES_ASM AES_CTR_ASM AES_XTS_ASM
  24. $AESASM_armv4=aes_cbc.c aes-armv4.S bsaes-armv7.S aesv8-armx.S
  25. $AESDEF_armv4=AES_ASM BSAES_ASM
  26. $AESASM_aarch64=aes_core.c aes_cbc.c aesv8-armx.S vpaes-armv8.S
  27. $AESDEF_aarch64=VPAES_ASM
  28. $AESASM_parisc11=aes_core.c aes_cbc.c aes-parisc.s
  29. $AESDEF_parisc11=AES_ASM
  30. $AESASM_parisc20_64=$AESASM_parisc11
  31. $AESDEF_parisc20_64=$AESDEF_parisc11
  32. $AESASM_ppc32=aes_core.c aes_cbc.c aes-ppc.s vpaes-ppc.s aesp8-ppc.s
  33. $AESDEF_ppc32=AES_ASM VPAES_ASM
  34. $AESASM_ppc64=$AESASM_ppc32
  35. $AESDEF_ppc64=$AESDEF_ppc32
  36. $AESASM_c64xplus=aes-c64xplus.s aes_cbc.c
  37. # aes-c64xplus.s implements AES_ctr32_encrypt
  38. $AESDEF_c64xplus=AES_ASM AES_CTR_ASM
  39. # Now that we have defined all the arch specific variables, use the
  40. # appropriate one, and define the appropriate macros
  41. IF[$AESASM_{- $target{asm_arch} -}]
  42. $AESASM=$AESASM_{- $target{asm_arch} -}
  43. $AESDEF=$AESDEF_{- $target{asm_arch} -}
  44. IF[{- !$disabled{sse2} -}]
  45. $AESASM=$AESASM $AESASM_{- $target{asm_arch} -}_sse2
  46. $AESDEF=$AESDEF $AESDEF_{- $target{asm_arch} -}_sse2
  47. ENDIF
  48. ENDIF
  49. ENDIF
  50. $COMMON=aes_misc.c aes_ecb.c $AESASM
  51. SOURCE[../../libcrypto]=$COMMON aes_cfb.c aes_ofb.c aes_wrap.c
  52. IF[{- !$disabled{'deprecated-3.0'} -}]
  53. SOURCE[../../libcrypto]=aes_ige.c
  54. ENDIF
  55. SOURCE[../../providers/libfips.a]=$COMMON
  56. # Implementations are now spread across several libraries, so the defines
  57. # need to be applied to all affected libraries and modules.
  58. DEFINE[../../libcrypto]=$AESDEF
  59. DEFINE[../../providers/libfips.a]=$AESDEF
  60. DEFINE[../../providers/libimplementations.a]=$AESDEF
  61. GENERATE[aes-ia64.s]=asm/aes-ia64.S
  62. GENERATE[aes-586.s]=asm/aes-586.pl
  63. DEPEND[aes-586.s]=../perlasm/x86asm.pl
  64. GENERATE[vpaes-x86.s]=asm/vpaes-x86.pl
  65. DEPEND[vpaes-586.s]=../perlasm/x86asm.pl
  66. GENERATE[aesni-x86.s]=asm/aesni-x86.pl
  67. DEPEND[aesni-586.s]=../perlasm/x86asm.pl
  68. GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl
  69. GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl
  70. GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl
  71. GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl
  72. GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl
  73. GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl
  74. GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl
  75. GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl
  76. INCLUDE[aes-sparcv9.o]=..
  77. GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl
  78. INCLUDE[aest4-sparcv9.o]=..
  79. DEPEND[aest4-sparcv9.S]=../perlasm/sparcv9_modes.pl
  80. GENERATE[aesfx-sparcv9.S]=asm/aesfx-sparcv9.pl
  81. INCLUDE[aesfx-sparcv9.o]=..
  82. GENERATE[aes-ppc.s]=asm/aes-ppc.pl
  83. GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl
  84. GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl
  85. GENERATE[aes-parisc.s]=asm/aes-parisc.pl
  86. GENERATE[aes-mips.S]=asm/aes-mips.pl
  87. INCLUDE[aes-mips.o]=..
  88. GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl
  89. INCLUDE[aesv8-armx.o]=..
  90. GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl
  91. GENERATE[aes-armv4.S]=asm/aes-armv4.pl
  92. INCLUDE[aes-armv4.o]=..
  93. GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl
  94. INCLUDE[bsaes-armv7.o]=..
  95. GENERATE[aes-s390x.S]=asm/aes-s390x.pl
  96. INCLUDE[aes-s390x.o]=..
  97. GENERATE[aes-c64xplus.S]=asm/aes-c64xplus.pl