summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/amd64/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/arch/amd64/Makefile.inc23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc
index b1a6563931..de9666afdb 100644
--- a/src/lib/libcrypto/arch/amd64/Makefile.inc
+++ b/src/lib/libcrypto/arch/amd64/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.37 2025/02/14 12:01:58 jsing Exp $ 1# $OpenBSD: Makefile.inc,v 1.42 2025/08/14 15:12:53 jsing Exp $
2 2
3# amd64-specific libcrypto build rules 3# amd64-specific libcrypto build rules
4 4
@@ -10,13 +10,10 @@ SRCS += crypto_cpu_caps.c
10# aes 10# aes
11CFLAGS+= -DAES_ASM 11CFLAGS+= -DAES_ASM
12SSLASM+= aes aes-x86_64 12SSLASM+= aes aes-x86_64
13CFLAGS+= -DBSAES_ASM
14SSLASM+= aes bsaes-x86_64
15CFLAGS+= -DVPAES_ASM
16SSLASM+= aes vpaes-x86_64
17SSLASM+= aes aesni-x86_64 13SSLASM+= aes aesni-x86_64
14SRCS += aes_amd64.c
15
18# bn 16# bn
19CFLAGS+= -DOPENSSL_IA32_SSE2
20CFLAGS+= -DRSA_ASM 17CFLAGS+= -DRSA_ASM
21SSLASM+= bn modexp512-x86_64 18SSLASM+= bn modexp512-x86_64
22CFLAGS+= -DOPENSSL_BN_ASM_MONT 19CFLAGS+= -DOPENSSL_BN_ASM_MONT
@@ -29,11 +26,21 @@ SRCS += bn_arch.c
29SRCS += bignum_add.S 26SRCS += bignum_add.S
30SRCS += bignum_cmadd.S 27SRCS += bignum_cmadd.S
31SRCS += bignum_cmul.S 28SRCS += bignum_cmul.S
29SRCS += bignum_modadd.S
30SRCS += bignum_modsub.S
32SRCS += bignum_mul.S 31SRCS += bignum_mul.S
32SRCS += bignum_mul_4_8.S
33SRCS += bignum_mul_4_8_alt.S 33SRCS += bignum_mul_4_8_alt.S
34SRCS += bignum_mul_6_12.S
35SRCS += bignum_mul_6_12_alt.S
36SRCS += bignum_mul_8_16.S
34SRCS += bignum_mul_8_16_alt.S 37SRCS += bignum_mul_8_16_alt.S
35SRCS += bignum_sqr.S 38SRCS += bignum_sqr.S
39SRCS += bignum_sqr_4_8.S
36SRCS += bignum_sqr_4_8_alt.S 40SRCS += bignum_sqr_4_8_alt.S
41SRCS += bignum_sqr_6_12.S
42SRCS += bignum_sqr_6_12_alt.S
43SRCS += bignum_sqr_8_16.S
37SRCS += bignum_sqr_8_16_alt.S 44SRCS += bignum_sqr_8_16_alt.S
38SRCS += bignum_sub.S 45SRCS += bignum_sub.S
39SRCS += word_clz.S 46SRCS += word_clz.S
@@ -41,11 +48,15 @@ SRCS += word_clz.S
41# md5 48# md5
42CFLAGS+= -DMD5_ASM 49CFLAGS+= -DMD5_ASM
43SRCS+= md5_amd64_generic.S 50SRCS+= md5_amd64_generic.S
51
44# modes 52# modes
45CFLAGS+= -DGHASH_ASM 53CFLAGS+= -DGHASH_ASM
46SSLASM+= modes ghash-x86_64 54SSLASM+= modes ghash-x86_64
55SRCS += gcm128_amd64.c
56
47# rc4 57# rc4
48SSLASM+= rc4 rc4-x86_64 58SSLASM+= rc4 rc4-x86_64
59
49# ripemd 60# ripemd
50# sha 61# sha
51SRCS+= sha1_amd64.c 62SRCS+= sha1_amd64.c