build.info 2.6 KB

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