build.info 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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
  28. $MODESDEF_ppc32=
  29. $MODESASM_ppc64=$MODESASM_ppc32
  30. IF[{- $target{sys_id} ne "AIX" && $target{sys_id} ne "MACOSX" -}]
  31. $MODESASM_ppc64=$MODESASM_ppc32 aes-gcm-ppc.s
  32. ENDIF
  33. $MODESDEF_ppc64=$MODESDEF_ppc32
  34. $MODESASM_c64xplus=ghash-c64xplus.s
  35. $MODESDEF_c64xplus=GHASH_ASM
  36. $MODESASM_riscv64=ghash-riscv64.s
  37. $MODESDEF_riscv64=GHASH_ASM
  38. # Now that we have defined all the arch specific variables, use the
  39. # appropriate one, and define the appropriate macros
  40. IF[$MODESASM_{- $target{asm_arch} -}]
  41. $MODESASM=$MODESASM_{- $target{asm_arch} -}
  42. $MODESDEF=$MODESDEF_{- $target{asm_arch} -}
  43. ENDIF
  44. ENDIF
  45. $COMMON=cbc128.c ctr128.c cfb128.c ofb128.c gcm128.c ccm128.c xts128.c \
  46. wrap128.c xts128gb.c $MODESASM
  47. SOURCE[../../libcrypto]=$COMMON \
  48. cts128.c ocb128.c siv128.c
  49. SOURCE[../../providers/libfips.a]=$COMMON
  50. # Implementations are now spread across several libraries, so the defines
  51. # need to be applied to all affected libraries and modules.
  52. DEFINE[../../libcrypto]=$MODESDEF
  53. DEFINE[../../providers/libfips.a]=$MODESDEF
  54. INCLUDE[gcm128.o]=..
  55. GENERATE[ghash-ia64.s]=asm/ghash-ia64.pl
  56. GENERATE[ghash-x86.S]=asm/ghash-x86.pl
  57. GENERATE[ghash-x86_64.s]=asm/ghash-x86_64.pl
  58. GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl
  59. GENERATE[aes-gcm-avx512.s]=asm/aes-gcm-avx512.pl
  60. GENERATE[ghash-sparcv9.S]=asm/ghash-sparcv9.pl
  61. INCLUDE[ghash-sparcv9.o]=..
  62. GENERATE[ghash-alpha.S]=asm/ghash-alpha.pl
  63. GENERATE[ghash-parisc.s]=asm/ghash-parisc.pl
  64. GENERATE[ghashp8-ppc.s]=asm/ghashp8-ppc.pl
  65. GENERATE[aes-gcm-ppc.s]=asm/aes-gcm-ppc.pl
  66. GENERATE[ghash-armv4.S]=asm/ghash-armv4.pl
  67. INCLUDE[ghash-armv4.o]=..
  68. GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl
  69. INCLUDE[ghashv8-armx.o]=..
  70. GENERATE[aes-gcm-armv8_64.S]=asm/aes-gcm-armv8_64.pl
  71. INCLUDE[aes-gcm-armv8_64.o]=..
  72. GENERATE[aes-gcm-armv8-unroll8_64.S]=asm/aes-gcm-armv8-unroll8_64.pl
  73. INCLUDE[aes-gcm-armv8-unroll8_64.o]=..
  74. GENERATE[ghash-s390x.S]=asm/ghash-s390x.pl
  75. INCLUDE[ghash-s390x.o]=..
  76. GENERATE[ghash-c64xplus.S]=asm/ghash-c64xplus.pl
  77. GENERATE[ghash-riscv64.s]=asm/ghash-riscv64.pl