diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/arch/amd64/Makefile.inc | 23 |
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 |
11 | CFLAGS+= -DAES_ASM | 11 | CFLAGS+= -DAES_ASM |
12 | SSLASM+= aes aes-x86_64 | 12 | SSLASM+= aes aes-x86_64 |
13 | CFLAGS+= -DBSAES_ASM | ||
14 | SSLASM+= aes bsaes-x86_64 | ||
15 | CFLAGS+= -DVPAES_ASM | ||
16 | SSLASM+= aes vpaes-x86_64 | ||
17 | SSLASM+= aes aesni-x86_64 | 13 | SSLASM+= aes aesni-x86_64 |
14 | SRCS += aes_amd64.c | ||
15 | |||
18 | # bn | 16 | # bn |
19 | CFLAGS+= -DOPENSSL_IA32_SSE2 | ||
20 | CFLAGS+= -DRSA_ASM | 17 | CFLAGS+= -DRSA_ASM |
21 | SSLASM+= bn modexp512-x86_64 | 18 | SSLASM+= bn modexp512-x86_64 |
22 | CFLAGS+= -DOPENSSL_BN_ASM_MONT | 19 | CFLAGS+= -DOPENSSL_BN_ASM_MONT |
@@ -29,11 +26,21 @@ SRCS += bn_arch.c | |||
29 | SRCS += bignum_add.S | 26 | SRCS += bignum_add.S |
30 | SRCS += bignum_cmadd.S | 27 | SRCS += bignum_cmadd.S |
31 | SRCS += bignum_cmul.S | 28 | SRCS += bignum_cmul.S |
29 | SRCS += bignum_modadd.S | ||
30 | SRCS += bignum_modsub.S | ||
32 | SRCS += bignum_mul.S | 31 | SRCS += bignum_mul.S |
32 | SRCS += bignum_mul_4_8.S | ||
33 | SRCS += bignum_mul_4_8_alt.S | 33 | SRCS += bignum_mul_4_8_alt.S |
34 | SRCS += bignum_mul_6_12.S | ||
35 | SRCS += bignum_mul_6_12_alt.S | ||
36 | SRCS += bignum_mul_8_16.S | ||
34 | SRCS += bignum_mul_8_16_alt.S | 37 | SRCS += bignum_mul_8_16_alt.S |
35 | SRCS += bignum_sqr.S | 38 | SRCS += bignum_sqr.S |
39 | SRCS += bignum_sqr_4_8.S | ||
36 | SRCS += bignum_sqr_4_8_alt.S | 40 | SRCS += bignum_sqr_4_8_alt.S |
41 | SRCS += bignum_sqr_6_12.S | ||
42 | SRCS += bignum_sqr_6_12_alt.S | ||
43 | SRCS += bignum_sqr_8_16.S | ||
37 | SRCS += bignum_sqr_8_16_alt.S | 44 | SRCS += bignum_sqr_8_16_alt.S |
38 | SRCS += bignum_sub.S | 45 | SRCS += bignum_sub.S |
39 | SRCS += word_clz.S | 46 | SRCS += word_clz.S |
@@ -41,11 +48,15 @@ SRCS += word_clz.S | |||
41 | # md5 | 48 | # md5 |
42 | CFLAGS+= -DMD5_ASM | 49 | CFLAGS+= -DMD5_ASM |
43 | SRCS+= md5_amd64_generic.S | 50 | SRCS+= md5_amd64_generic.S |
51 | |||
44 | # modes | 52 | # modes |
45 | CFLAGS+= -DGHASH_ASM | 53 | CFLAGS+= -DGHASH_ASM |
46 | SSLASM+= modes ghash-x86_64 | 54 | SSLASM+= modes ghash-x86_64 |
55 | SRCS += gcm128_amd64.c | ||
56 | |||
47 | # rc4 | 57 | # rc4 |
48 | SSLASM+= rc4 rc4-x86_64 | 58 | SSLASM+= rc4 rc4-x86_64 |
59 | |||
49 | # ripemd | 60 | # ripemd |
50 | # sha | 61 | # sha |
51 | SRCS+= sha1_amd64.c | 62 | SRCS+= sha1_amd64.c |