build.info 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. sha1-ppc.s sha256-ppc.s sha512-ppc.s sha256p8-ppc.s sha512p8-ppc.s
  32. $SHA1DEF_ppc32=SHA1_ASM SHA256_ASM SHA512_ASM
  33. $SHA1ASM_ppc64=$SHA1ASM_ppc32
  34. $SHA1DEF_ppc64=$SHA1DEF_ppc32
  35. $SHA1ASM_c64xplus=sha1-c64xplus.s sha256-c64xplus.s sha512-c64xplus.s
  36. $SHA1DEF_c64xplus=SHA1_ASM SHA256_ASM SHA512_ASM
  37. # Now that we have defined all the arch specific variables, use the
  38. # appropriate one, and define the appropriate macros
  39. IF[$SHA1ASM_{- $target{asm_arch} -}]
  40. $SHA1ASM=$SHA1ASM_{- $target{asm_arch} -}
  41. $SHA1DEF=$SHA1DEF_{- $target{asm_arch} -}
  42. ENDIF
  43. ENDIF
  44. $KECCAK1600ASM=keccak1600.c
  45. IF[{- !$disabled{asm} -}]
  46. $KECCAK1600ASM_x86=
  47. $KECCAK1600ASM_x86_64=keccak1600-x86_64.s
  48. $KECCAK1600ASM_s390x=keccak1600-s390x.S
  49. $KECCAK1600ASM_armv4=keccak1600-armv4.S
  50. $KECCAK1600ASM_aarch64=keccak1600-armv8.S
  51. $KECCAK1600ASM_ppc64=keccak1600-ppc64.s
  52. # Now that we have defined all the arch specific variables, use the
  53. # appropriate one, and define the appropriate macros
  54. IF[$KECCAK1600ASM_{- $target{asm_arch} -}]
  55. $KECCAK1600ASM=$KECCAK1600ASM_{- $target{asm_arch} -}
  56. $KECCAK1600DEF=KECCAK1600_ASM
  57. ENDIF
  58. ENDIF
  59. $COMMON=sha1dgst.c sha256.c sha512.c sha3.c $SHA1ASM $KECCAK1600ASM
  60. SOURCE[../../libcrypto]=$COMMON sha1_one.c
  61. DEFINE[../../libcrypto]=$SHA1DEF $KECCAK1600DEF
  62. SOURCE[../../providers/fips]= $COMMON
  63. DEFINE[../../providers/fips]= $SHA1DEF $KECCAK1600DEF
  64. GENERATE[sha1-586.s]=asm/sha1-586.pl \
  65. $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
  66. DEPEND[sha1-586.s]=../perlasm/x86asm.pl
  67. GENERATE[sha256-586.s]=asm/sha256-586.pl \
  68. $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
  69. DEPEND[sha256-586.s]=../perlasm/x86asm.pl
  70. GENERATE[sha512-586.s]=asm/sha512-586.pl \
  71. $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
  72. DEPEND[sha512-586.s]=../perlasm/x86asm.pl
  73. GENERATE[sha1-ia64.s]=asm/sha1-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS)
  74. GENERATE[sha256-ia64.s]=asm/sha512-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS)
  75. GENERATE[sha512-ia64.s]=asm/sha512-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS)
  76. GENERATE[sha1-alpha.S]=asm/sha1-alpha.pl $(PERLASM_SCHEME)
  77. GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl $(PERLASM_SCHEME)
  78. GENERATE[sha1-mb-x86_64.s]=asm/sha1-mb-x86_64.pl $(PERLASM_SCHEME)
  79. GENERATE[sha256-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME)
  80. GENERATE[sha256-mb-x86_64.s]=asm/sha256-mb-x86_64.pl $(PERLASM_SCHEME)
  81. GENERATE[sha512-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME)
  82. GENERATE[keccak1600-x86_64.s]=asm/keccak1600-x86_64.pl $(PERLASM_SCHEME)
  83. GENERATE[sha1-sparcv9a.S]=asm/sha1-sparcv9a.pl $(PERLASM_SCHEME)
  84. GENERATE[sha1-sparcv9.S]=asm/sha1-sparcv9.pl $(PERLASM_SCHEME)
  85. INCLUDE[sha1-sparcv9.o]=..
  86. GENERATE[sha256-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME)
  87. INCLUDE[sha256-sparcv9.o]=..
  88. GENERATE[sha512-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME)
  89. INCLUDE[sha512-sparcv9.o]=..
  90. GENERATE[sha1-ppc.s]=asm/sha1-ppc.pl $(PERLASM_SCHEME)
  91. GENERATE[sha256-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME)
  92. GENERATE[sha512-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME)
  93. GENERATE[sha256p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME)
  94. GENERATE[sha512p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME)
  95. GENERATE[keccak1600-ppc64.s]=asm/keccak1600-ppc64.pl $(PERLASM_SCHEME)
  96. GENERATE[sha1-parisc.s]=asm/sha1-parisc.pl $(PERLASM_SCHEME)
  97. GENERATE[sha256-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME)
  98. GENERATE[sha512-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME)
  99. GENERATE[sha1-mips.S]=asm/sha1-mips.pl $(PERLASM_SCHEME)
  100. INCLUDE[sha1-mips.o]=..
  101. GENERATE[sha256-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
  102. INCLUDE[sha256-mips.o]=..
  103. GENERATE[sha512-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
  104. INCLUDE[sha512-mips.o]=..
  105. GENERATE[sha1-armv4-large.S]=asm/sha1-armv4-large.pl $(PERLASM_SCHEME)
  106. INCLUDE[sha1-armv4-large.o]=..
  107. GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl $(PERLASM_SCHEME)
  108. INCLUDE[sha256-armv4.o]=..
  109. GENERATE[sha512-armv4.S]=asm/sha512-armv4.pl $(PERLASM_SCHEME)
  110. INCLUDE[sha512-armv4.o]=..
  111. GENERATE[keccak1600-armv4.S]=asm/keccak1600-armv4.pl $(PERLASM_SCHEME)
  112. INCLUDE[keccak1600-armv4.o]=..
  113. GENERATE[sha1-armv8.S]=asm/sha1-armv8.pl $(PERLASM_SCHEME)
  114. INCLUDE[sha1-armv8.o]=..
  115. GENERATE[sha256-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME)
  116. INCLUDE[sha256-armv8.o]=..
  117. GENERATE[sha512-armv8.S]=asm/sha512-armv8.pl $(PERLASM_SCHEME)
  118. INCLUDE[sha512-armv8.o]=..
  119. GENERATE[keccak1600-armv8.S]=asm/keccak1600-armv8.pl $(PERLASM_SCHEME)
  120. GENERATE[sha1-s390x.S]=asm/sha1-s390x.pl $(PERLASM_SCHEME)
  121. INCLUDE[sha1-s390x.o]=..
  122. GENERATE[sha256-s390x.S]=asm/sha512-s390x.pl $(PERLASM_SCHEME)
  123. INCLUDE[sha256-s390x.o]=..
  124. GENERATE[sha512-s390x.S]=asm/sha512-s390x.pl $(PERLASM_SCHEME)
  125. INCLUDE[sha512-s390x.o]=..
  126. GENERATE[keccak1600-s390x.S]=asm/keccak1600-s390x.pl $(PERLASM_SCHEME)
  127. GENERATE[sha1-c64xplus.S]=asm/sha1-c64xplus.pl $(PERLASM_SCHEME)
  128. GENERATE[sha256-c64xplus.S]=asm/sha256-c64xplus.pl $(PERLASM_SCHEME)
  129. GENERATE[sha512-c64xplus.S]=asm/sha512-c64xplus.pl $(PERLASM_SCHEME)
  130. GENERATE[keccak1600-c64x.S]=asm/keccak1600-c64x.pl $(PERLASM_SCHEME)
  131. # These are not yet used
  132. GENERATE[keccak1600-avx2.S]=asm/keccak1600-avx2.pl $(PERLASM_SCHEME)
  133. GENERATE[keccak1600-avx512.S]=asm/keccak1600-avx512.pl $(PERLASM_SCHEME)
  134. GENERATE[keccak1600-avx512vl.S]=asm/keccak1600-avx512vl.pl $(PERLASM_SCHEME)
  135. GENERATE[keccak1600-mmx.S]=asm/keccak1600-mmx.pl $(PERLASM_SCHEME)
  136. GENERATE[keccak1600p8-ppc.S]=asm/keccak1600p8-ppc.pl $(PERLASM_SCHEME)
  137. GENERATE[sha1-thumb.S]=asm/sha1-thumb.pl $(PERLASM_SCHEME)