build.info 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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 OPENSSL_IA32_SSE2
  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 bsaes-armv8.S vpaes-armv8.S
  27. $AESDEF_aarch64=BSAES_ASM 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. IF[{- $target{sys_id} ne "AIX" && $target{sys_id} ne "MACOSX" -}]
  33. $AESASM_ppc32=aes_core.c aes_cbc.c aes-ppc.s vpaes-ppc.s aesp8-ppc.s
  34. ELSE
  35. $AESASM_ppc32=aes_core.c aes_cbc.c aes-ppc.s vpaes-ppc.s
  36. ENDIF
  37. $AESDEF_ppc32=AES_ASM VPAES_ASM
  38. $AESASM_ppc64=$AESASM_ppc32
  39. $AESDEF_ppc64=$AESDEF_ppc32
  40. $AESASM_c64xplus=aes-c64xplus.s aes_cbc.c
  41. # aes-c64xplus.s implements AES_ctr32_encrypt
  42. $AESDEF_c64xplus=AES_ASM AES_CTR_ASM
  43. $AESASM_riscv64=aes_cbc.c aes-riscv64.s aes-riscv64-zkn.s aes-riscv64-zvkb-zvkned.s aes-riscv64-zvkned.s aes-riscv64-zvbb-zvkg-zvkned.s
  44. $AESDEF_riscv64=AES_ASM
  45. $AESASM_riscv32=aes_core.c aes_cbc.c aes-riscv32-zkn.s
  46. $AESASM_loongarch64=aes_core.c aes_cbc.c vpaes-loongarch64.S
  47. $AESDEF_loongarch64=VPAES_ASM
  48. # Now that we have defined all the arch specific variables, use the
  49. # appropriate one, and define the appropriate macros
  50. IF[$AESASM_{- $target{asm_arch} -}]
  51. $AESASM=$AESASM_{- $target{asm_arch} -}
  52. $AESDEF=$AESDEF_{- $target{asm_arch} -}
  53. IF[{- !$disabled{sse2} -}]
  54. $AESASM=$AESASM $AESASM_{- $target{asm_arch} -}_sse2
  55. $AESDEF=$AESDEF $AESDEF_{- $target{asm_arch} -}_sse2
  56. ENDIF
  57. ENDIF
  58. ENDIF
  59. $COMMON=aes_misc.c aes_ecb.c $AESASM
  60. SOURCE[../../libcrypto]=$COMMON aes_cfb.c aes_ofb.c aes_wrap.c
  61. IF[{- !$disabled{'deprecated-3.0'} -}]
  62. SOURCE[../../libcrypto]=aes_ige.c
  63. ENDIF
  64. SOURCE[../../providers/libfips.a]=$COMMON
  65. # Implementations are now spread across several libraries, so the defines
  66. # need to be applied to all affected libraries and modules.
  67. DEFINE[../../libcrypto]=$AESDEF
  68. DEFINE[../../providers/libfips.a]=$AESDEF
  69. DEFINE[../../providers/libdefault.a]=$AESDEF
  70. # We only need to include the AESDEF stuff in the legacy provider when it's a
  71. # separate module and it's dynamically linked with libcrypto. Otherwise, it
  72. # already gets everything that the static libcrypto.a has, and doesn't need it
  73. # added again.
  74. IF[{- !$disabled{module} && !$disabled{shared} -}]
  75. DEFINE[../../providers/liblegacy.a]=$AESDEF
  76. ENDIF
  77. GENERATE[aes-ia64.s]=asm/aes-ia64.S
  78. GENERATE[bsaes-armv8.S]=asm/bsaes-armv8.pl
  79. GENERATE[aes-586.S]=asm/aes-586.pl
  80. DEPEND[aes-586.S]=../perlasm/x86asm.pl
  81. GENERATE[vpaes-x86.S]=asm/vpaes-x86.pl
  82. DEPEND[vpaes-586.S]=../perlasm/x86asm.pl
  83. GENERATE[aesni-x86.S]=asm/aesni-x86.pl
  84. DEPEND[aesni-586.S]=../perlasm/x86asm.pl
  85. GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl
  86. GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl
  87. GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl
  88. GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl
  89. GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl
  90. GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl
  91. GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl
  92. GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl
  93. INCLUDE[aes-sparcv9.o]=..
  94. GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl
  95. INCLUDE[aest4-sparcv9.o]=..
  96. DEPEND[aest4-sparcv9.S]=../perlasm/sparcv9_modes.pl
  97. GENERATE[aesfx-sparcv9.S]=asm/aesfx-sparcv9.pl
  98. INCLUDE[aesfx-sparcv9.o]=..
  99. GENERATE[aes-ppc.s]=asm/aes-ppc.pl
  100. GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl
  101. GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl
  102. GENERATE[aes-parisc.s]=asm/aes-parisc.pl
  103. GENERATE[aes-mips.S]=asm/aes-mips.pl
  104. INCLUDE[aes-mips.o]=..
  105. GENERATE[aes-riscv64.s]=asm/aes-riscv64.pl
  106. GENERATE[aes-riscv64-zkn.s]=asm/aes-riscv64-zkn.pl
  107. GENERATE[aes-riscv32-zkn.s]=asm/aes-riscv32-zkn.pl
  108. GENERATE[aes-riscv64-zvkb-zvkned.s]=asm/aes-riscv64-zvkb-zvkned.pl
  109. GENERATE[aes-riscv64-zvkned.s]=asm/aes-riscv64-zvkned.pl
  110. GENERATE[aes-riscv64-zvbb-zvkg-zvkned.s]=asm/aes-riscv64-zvbb-zvkg-zvkned.pl
  111. GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl
  112. INCLUDE[aesv8-armx.o]=..
  113. GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl
  114. INCLUDE[vpaes-armv8.o]=..
  115. GENERATE[aes-armv4.S]=asm/aes-armv4.pl
  116. INCLUDE[aes-armv4.o]=..
  117. GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl
  118. INCLUDE[bsaes-armv7.o]=..
  119. GENERATE[aes-s390x.S]=asm/aes-s390x.pl
  120. INCLUDE[aes-s390x.o]=..
  121. GENERATE[aes-c64xplus.S]=asm/aes-c64xplus.pl
  122. GENERATE[vpaes-loongarch64.S]=asm/vpaes-loongarch64.pl
  123. INCLUDE[vpaes-loongarch64.o]=..