build.info 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. LIBS=../../libcrypto
  2. $MODESASM=
  3. IF[{- !$disabled{asm} -}]
  4. $MODESASM_x86=ghash-x86.S
  5. $MODESDEF_x86=GHASH_ASM
  6. $MODESASM_x86_64=ghash-x86_64.s aesni-gcm-x86_64.s aes-gcm-avx512.s
  7. $MODESDEF_x86_64=GHASH_ASM
  8. # ghash-ia64.s doesn't work on VMS
  9. IF[{- $config{target} !~ /^vms-/ -}]
  10. $MODESASM_ia64=ghash-ia64.s
  11. $MODESDEF_ia64=GHASH_ASM
  12. ENDIF
  13. $MODESASM_sparcv9=ghash-sparcv9.S
  14. $MODESDEF_sparcv9=GHASH_ASM
  15. $MODESASM_alpha=ghash-alpha.S
  16. $MODESDEF_alpha=GHASH_ASM
  17. $MODESASM_s390x=ghash-s390x.S
  18. $MODESDEF_s390x=GHASH_ASM
  19. $MODESASM_armv4=ghash-armv4.S ghashv8-armx.S
  20. $MODESDEF_armv4=GHASH_ASM
  21. $MODESASM_aarch64=ghashv8-armx.S aes-gcm-armv8_64.S aes-gcm-armv8-unroll8_64.S
  22. $MODESDEF_aarch64=
  23. $MODESASM_parisc11=ghash-parisc.s
  24. $MODESDEF_parisc11=GHASH_ASM
  25. $MODESASM_parisc20_64=$MODESASM_parisc11
  26. $MODESDEF_parisc20_64=$MODESDEF_parisc11
  27. $MODESASM_ppc32=ghashp8-ppc.s aes-gcm-ppc.s
  28. $MODESDEF_ppc32=
  29. $MODESASM_ppc64=$MODESASM_ppc32
  30. $MODESDEF_ppc64=$MODESDEF_ppc32
  31. $MODESASM_c64xplus=ghash-c64xplus.s
  32. $MODESDEF_c64xplus=GHASH_ASM
  33. $MODESASM_riscv64=ghash-riscv64.s
  34. $MODESDEF_riscv64=GHASH_ASM
  35. # Now that we have defined all the arch specific variables, use the
  36. # appropriate one, and define the appropriate macros
  37. IF[$MODESASM_{- $target{asm_arch} -}]
  38. $MODESASM=$MODESASM_{- $target{asm_arch} -}
  39. $MODESDEF=$MODESDEF_{- $target{asm_arch} -}
  40. ENDIF
  41. ENDIF
  42. $COMMON=cbc128.c ctr128.c cfb128.c ofb128.c gcm128.c ccm128.c xts128.c \
  43. wrap128.c $MODESASM
  44. SOURCE[../../libcrypto]=$COMMON \
  45. cts128.c ocb128.c siv128.c
  46. SOURCE[../../providers/libfips.a]=$COMMON
  47. # Implementations are now spread across several libraries, so the defines
  48. # need to be applied to all affected libraries and modules.
  49. DEFINE[../../libcrypto]=$MODESDEF
  50. DEFINE[../../providers/libfips.a]=$MODESDEF
  51. INCLUDE[gcm128.o]=..
  52. GENERATE[ghash-ia64.s]=asm/ghash-ia64.pl
  53. GENERATE[ghash-x86.S]=asm/ghash-x86.pl
  54. GENERATE[ghash-x86_64.s]=asm/ghash-x86_64.pl
  55. GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl
  56. GENERATE[aes-gcm-avx512.s]=asm/aes-gcm-avx512.pl
  57. GENERATE[ghash-sparcv9.S]=asm/ghash-sparcv9.pl
  58. INCLUDE[ghash-sparcv9.o]=..
  59. GENERATE[ghash-alpha.S]=asm/ghash-alpha.pl
  60. GENERATE[ghash-parisc.s]=asm/ghash-parisc.pl
  61. GENERATE[ghashp8-ppc.s]=asm/ghashp8-ppc.pl
  62. GENERATE[aes-gcm-ppc.s]=asm/aes-gcm-ppc.pl
  63. GENERATE[ghash-armv4.S]=asm/ghash-armv4.pl
  64. INCLUDE[ghash-armv4.o]=..
  65. GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl
  66. INCLUDE[ghashv8-armx.o]=..
  67. GENERATE[aes-gcm-armv8_64.S]=asm/aes-gcm-armv8_64.pl
  68. INCLUDE[aes-gcm-armv8_64.o]=..
  69. GENERATE[aes-gcm-armv8-unroll8_64.S]=asm/aes-gcm-armv8-unroll8_64.pl
  70. INCLUDE[aes-gcm-armv8-unroll8_64.o]=..
  71. GENERATE[ghash-s390x.S]=asm/ghash-s390x.pl
  72. INCLUDE[ghash-s390x.o]=..
  73. GENERATE[ghash-c64xplus.S]=asm/ghash-c64xplus.pl
  74. GENERATE[ghash-riscv64.s]=asm/ghash-riscv64.pl