build.info 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. LIBS=../../libcrypto
  2. $SHA1ASM=
  3. IF[{- !$disabled{asm} -}]
  4. $SHA1ASM_x86=sha1-586.S sha256-586.S sha512-586.S
  5. $SHA1DEF_x86=SHA1_ASM SHA256_ASM SHA512_ASM
  6. $SHA1ASM_x86_64=\
  7. sha1-x86_64.s sha256-x86_64.s sha512-x86_64.s sha1-mb-x86_64.s \
  8. sha256-mb-x86_64.s
  9. $SHA1DEF_x86_64=SHA1_ASM SHA256_ASM SHA512_ASM
  10. $SHA1ASM_ia64=sha1-ia64.s sha256-ia64.s sha512-ia64.s
  11. $SHA1DEF_ia64=SHA1_ASM SHA256_ASM SHA512_ASM
  12. $SHA1ASM_sparcv9=sha1-sparcv9.S sha256-sparcv9.S sha512-sparcv9.S
  13. $SHA1DEF_sparcv9=SHA1_ASM SHA256_ASM SHA512_ASM
  14. $SHA1ASM_alpha=sha1-alpha.S
  15. $SHA1DEF_alpha=SHA1_ASM
  16. $SHA1ASM_mips32=sha1-mips.S sha256-mips.S
  17. $SHA1DEF_mips32=SHA1_ASM SHA256_ASM
  18. $SHA1ASM_mips64=$SHA1ASM_mips32 sha512-mips.S
  19. $SHA1DEF_mips64=$SHA1DEF_mips32 SHA512_ASM
  20. $SHA1ASM_s390x=sha1-s390x.S sha256-s390x.S sha512-s390x.S
  21. $SHA1DEF_s390x=SHA1_ASM SHA256_ASM SHA512_ASM
  22. $SHA1ASM_armv4=sha1-armv4-large.S sha256-armv4.S sha512-armv4.S
  23. $SHA1DEF_armv4=SHA1_ASM SHA256_ASM SHA512_ASM
  24. $SHA1ASM_aarch64=sha1-armv8.S sha256-armv8.S sha512-armv8.S
  25. $SHA1DEF_aarch64=SHA1_ASM SHA256_ASM SHA512_ASM
  26. $SHA1ASM_parisc11=sha1-parisc.s sha256-parisc.s sha512-parisc.s
  27. $SHA1DEF_parisc11=SHA1_ASM SHA256_ASM SHA512_ASM
  28. $SHA1ASM_parisc20_64=$SHA1ASM_parisc11
  29. $SHA1DEF_parisc20_64=$SHA1DEF_parisc11
  30. $SHA1ASM_ppc32=\
  31. sha_ppc.c sha1-ppc.s sha256-ppc.s sha512-ppc.s sha256p8-ppc.s \
  32. sha512p8-ppc.s
  33. $SHA1DEF_ppc32=SHA1_ASM SHA256_ASM SHA512_ASM
  34. $SHA1ASM_ppc64=$SHA1ASM_ppc32
  35. $SHA1DEF_ppc64=$SHA1DEF_ppc32
  36. $SHA1ASM_c64xplus=sha1-c64xplus.s sha256-c64xplus.s sha512-c64xplus.s
  37. $SHA1DEF_c64xplus=SHA1_ASM SHA256_ASM SHA512_ASM
  38. # Now that we have defined all the arch specific variables, use the
  39. # appropriate one, and define the appropriate macros
  40. IF[$SHA1ASM_{- $target{asm_arch} -}]
  41. $SHA1ASM=$SHA1ASM_{- $target{asm_arch} -}
  42. $SHA1DEF=$SHA1DEF_{- $target{asm_arch} -}
  43. ENDIF
  44. ENDIF
  45. $KECCAK1600ASM=keccak1600.c
  46. IF[{- !$disabled{asm} -}]
  47. $KECCAK1600ASM_x86=
  48. $KECCAK1600ASM_x86_64=keccak1600-x86_64.s
  49. $KECCAK1600ASM_s390x=keccak1600-s390x.S
  50. $KECCAK1600ASM_armv4=keccak1600-armv4.S
  51. $KECCAK1600ASM_aarch64=keccak1600-armv8.S
  52. $KECCAK1600ASM_ppc64=keccak1600-ppc64.s
  53. # Now that we have defined all the arch specific variables, use the
  54. # appropriate one, and define the appropriate macros
  55. IF[$KECCAK1600ASM_{- $target{asm_arch} -}]
  56. $KECCAK1600ASM=$KECCAK1600ASM_{- $target{asm_arch} -}
  57. $KECCAK1600DEF=KECCAK1600_ASM
  58. ENDIF
  59. ENDIF
  60. $COMMON=sha1dgst.c sha256.c sha512.c sha3.c $SHA1ASM $KECCAK1600ASM
  61. SOURCE[../../libcrypto]=$COMMON sha1_one.c
  62. SOURCE[../../providers/libfips.a]= $COMMON
  63. # Implementations are now spread across several libraries, so the defines
  64. # need to be applied to all affected libraries and modules.
  65. DEFINE[../../libcrypto]=$SHA1DEF $KECCAK1600DEF
  66. DEFINE[../../providers/libfips.a]=$SHA1DEF $KECCAK1600DEF
  67. DEFINE[../../providers/libdefault.a]=$SHA1DEF $KECCAK1600DEF
  68. # We only need to include the SHA1DEF and KECCAK1600DEF stuff in the
  69. # legacy provider when it's a separate module and it's dynamically
  70. # linked with libcrypto. Otherwise, it already gets everything that
  71. # the static libcrypto.a has, and doesn't need it added again.
  72. IF[{- !$disabled{module} && !$disabled{shared} -}]
  73. DEFINE[../providers/liblegacy.a]=$SHA1DEF $KECCAK1600DEF
  74. ENDIF
  75. GENERATE[sha1-586.S]=asm/sha1-586.pl
  76. DEPEND[sha1-586.S]=../perlasm/x86asm.pl
  77. GENERATE[sha256-586.S]=asm/sha256-586.pl
  78. DEPEND[sha256-586.S]=../perlasm/x86asm.pl
  79. GENERATE[sha512-586.S]=asm/sha512-586.pl
  80. DEPEND[sha512-586.S]=../perlasm/x86asm.pl
  81. GENERATE[sha1-ia64.s]=asm/sha1-ia64.pl
  82. GENERATE[sha256-ia64.s]=asm/sha512-ia64.pl
  83. GENERATE[sha512-ia64.s]=asm/sha512-ia64.pl
  84. GENERATE[sha1-alpha.S]=asm/sha1-alpha.pl
  85. GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl
  86. GENERATE[sha1-mb-x86_64.s]=asm/sha1-mb-x86_64.pl
  87. GENERATE[sha256-x86_64.s]=asm/sha512-x86_64.pl
  88. GENERATE[sha256-mb-x86_64.s]=asm/sha256-mb-x86_64.pl
  89. GENERATE[sha512-x86_64.s]=asm/sha512-x86_64.pl
  90. GENERATE[keccak1600-x86_64.s]=asm/keccak1600-x86_64.pl
  91. GENERATE[sha1-sparcv9a.S]=asm/sha1-sparcv9a.pl
  92. GENERATE[sha1-sparcv9.S]=asm/sha1-sparcv9.pl
  93. INCLUDE[sha1-sparcv9.o]=..
  94. GENERATE[sha256-sparcv9.S]=asm/sha512-sparcv9.pl
  95. INCLUDE[sha256-sparcv9.o]=..
  96. GENERATE[sha512-sparcv9.S]=asm/sha512-sparcv9.pl
  97. INCLUDE[sha512-sparcv9.o]=..
  98. GENERATE[sha1-ppc.s]=asm/sha1-ppc.pl
  99. GENERATE[sha256-ppc.s]=asm/sha512-ppc.pl
  100. GENERATE[sha512-ppc.s]=asm/sha512-ppc.pl
  101. GENERATE[sha256p8-ppc.s]=asm/sha512p8-ppc.pl
  102. GENERATE[sha512p8-ppc.s]=asm/sha512p8-ppc.pl
  103. GENERATE[keccak1600-ppc64.s]=asm/keccak1600-ppc64.pl
  104. GENERATE[sha1-parisc.s]=asm/sha1-parisc.pl
  105. GENERATE[sha256-parisc.s]=asm/sha512-parisc.pl
  106. GENERATE[sha512-parisc.s]=asm/sha512-parisc.pl
  107. GENERATE[sha1-mips.S]=asm/sha1-mips.pl
  108. INCLUDE[sha1-mips.o]=..
  109. GENERATE[sha256-mips.S]=asm/sha512-mips.pl
  110. INCLUDE[sha256-mips.o]=..
  111. GENERATE[sha512-mips.S]=asm/sha512-mips.pl
  112. INCLUDE[sha512-mips.o]=..
  113. GENERATE[sha1-armv4-large.S]=asm/sha1-armv4-large.pl
  114. INCLUDE[sha1-armv4-large.o]=..
  115. GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl
  116. INCLUDE[sha256-armv4.o]=..
  117. GENERATE[sha512-armv4.S]=asm/sha512-armv4.pl
  118. INCLUDE[sha512-armv4.o]=..
  119. GENERATE[keccak1600-armv4.S]=asm/keccak1600-armv4.pl
  120. INCLUDE[keccak1600-armv4.o]=..
  121. GENERATE[sha1-armv8.S]=asm/sha1-armv8.pl
  122. INCLUDE[sha1-armv8.o]=..
  123. GENERATE[sha256-armv8.S]=asm/sha512-armv8.pl
  124. INCLUDE[sha256-armv8.o]=..
  125. GENERATE[sha512-armv8.S]=asm/sha512-armv8.pl
  126. INCLUDE[sha512-armv8.o]=..
  127. GENERATE[keccak1600-armv8.S]=asm/keccak1600-armv8.pl
  128. INCLUDE[keccak1600-armv8.o]=..
  129. GENERATE[sha1-s390x.S]=asm/sha1-s390x.pl
  130. INCLUDE[sha1-s390x.o]=..
  131. GENERATE[sha256-s390x.S]=asm/sha512-s390x.pl
  132. INCLUDE[sha256-s390x.o]=..
  133. GENERATE[sha512-s390x.S]=asm/sha512-s390x.pl
  134. INCLUDE[sha512-s390x.o]=..
  135. GENERATE[keccak1600-s390x.S]=asm/keccak1600-s390x.pl
  136. GENERATE[sha1-c64xplus.S]=asm/sha1-c64xplus.pl
  137. GENERATE[sha256-c64xplus.S]=asm/sha256-c64xplus.pl
  138. GENERATE[sha512-c64xplus.S]=asm/sha512-c64xplus.pl
  139. GENERATE[keccak1600-c64x.S]=asm/keccak1600-c64x.pl
  140. # These are not yet used
  141. GENERATE[keccak1600-avx2.S]=asm/keccak1600-avx2.pl
  142. GENERATE[keccak1600-avx512.S]=asm/keccak1600-avx512.pl
  143. GENERATE[keccak1600-avx512vl.S]=asm/keccak1600-avx512vl.pl
  144. GENERATE[keccak1600-mmx.S]=asm/keccak1600-mmx.pl
  145. GENERATE[keccak1600p8-ppc.S]=asm/keccak1600p8-ppc.pl
  146. GENERATE[sha1-thumb.S]=asm/sha1-thumb.pl