summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2024-03-28 01:14:31 +0000
committerjsing <>2024-03-28 01:14:31 +0000
commitbd99d8e483ec2de937ab0a0186f9b05cf1e056cb (patch)
treede848cb2d76c67e8878ecfbc7b1ca93366362ac0 /src
parent002827124a8e678ed75003442278b33a2674a961 (diff)
downloadopenbsd-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.inc8
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
21SSLASM+= camellia cmll-x86 21SSLASM+= camellia cmll-x86
22# des 22# des
23SRCS+= fcrypt_b.c 23SRCS+= des_enc.c fcrypt_b.c
24SSLASM+= des des-586
25# md5 24# md5
26CFLAGS+= -DMD5_ASM 25CFLAGS+= -DMD5_ASM
27SSLASM+= md5 md5-586 26SSLASM+= md5 md5-586
@@ -30,9 +29,6 @@ CFLAGS+= -DGHASH_ASM
30SSLASM+= modes ghash-x86 29SSLASM+= modes ghash-x86
31# rc4 30# rc4
32SSLASM+= rc4 rc4-586 31SSLASM+= rc4 rc4-586
33# ripemd
34CFLAGS+= -DRMD160_ASM
35SSLASM+= ripemd rmd-586
36# sha 32# sha
37CFLAGS+= -DSHA1_ASM 33CFLAGS+= -DSHA1_ASM
38SSLASM+= sha sha1-586 34SSLASM+= sha sha1-586