diff options
author | jsing <> | 2024-03-28 01:14:31 +0000 |
---|---|---|
committer | jsing <> | 2024-03-28 01:14:31 +0000 |
commit | bd99d8e483ec2de937ab0a0186f9b05cf1e056cb (patch) | |
tree | de848cb2d76c67e8878ecfbc7b1ca93366362ac0 /src | |
parent | 002827124a8e678ed75003442278b33a2674a961 (diff) | |
download | openbsd-bd99d8e483ec2de937ab0a0186f9b05cf1e056cb.tar.gz openbsd-bd99d8e483ec2de937ab0a0186f9b05cf1e056cb.tar.bz2 openbsd-bd99d8e483ec2de937ab0a0186f9b05cf1e056cb.zip |
Stop building the assembly implementation of des and ripemd on i386.
This is the only architecture that has an assembly implementation for these
algorithms. There is little to gain from accelerating legacy algorithms on
a legacy architecture.
Discussed with beck@ and tb@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/arch/i386/Makefile.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/libcrypto/arch/i386/Makefile.inc b/src/lib/libcrypto/arch/i386/Makefile.inc index 49eab68562..dcf50d95ca 100644 --- a/src/lib/libcrypto/arch/i386/Makefile.inc +++ b/src/lib/libcrypto/arch/i386/Makefile.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.11 2024/03/27 11:12:08 jsing Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.12 2024/03/28 01:14:31 jsing Exp $ |
2 | 2 | ||
3 | # i386-specific libcrypto build rules | 3 | # i386-specific libcrypto build rules |
4 | 4 | ||
@@ -20,8 +20,7 @@ SSLASM+= bn x86-mont | |||
20 | # camellia | 20 | # camellia |
21 | SSLASM+= camellia cmll-x86 | 21 | SSLASM+= camellia cmll-x86 |
22 | # des | 22 | # des |
23 | SRCS+= fcrypt_b.c | 23 | SRCS+= des_enc.c fcrypt_b.c |
24 | SSLASM+= des des-586 | ||
25 | # md5 | 24 | # md5 |
26 | CFLAGS+= -DMD5_ASM | 25 | CFLAGS+= -DMD5_ASM |
27 | SSLASM+= md5 md5-586 | 26 | SSLASM+= md5 md5-586 |
@@ -30,9 +29,6 @@ CFLAGS+= -DGHASH_ASM | |||
30 | SSLASM+= modes ghash-x86 | 29 | SSLASM+= modes ghash-x86 |
31 | # rc4 | 30 | # rc4 |
32 | SSLASM+= rc4 rc4-586 | 31 | SSLASM+= rc4 rc4-586 |
33 | # ripemd | ||
34 | CFLAGS+= -DRMD160_ASM | ||
35 | SSLASM+= ripemd rmd-586 | ||
36 | # sha | 32 | # sha |
37 | CFLAGS+= -DSHA1_ASM | 33 | CFLAGS+= -DSHA1_ASM |
38 | SSLASM+= sha sha1-586 | 34 | SSLASM+= sha sha1-586 |