build.info 5.0 KB

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