From bd99d8e483ec2de937ab0a0186f9b05cf1e056cb Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 28 Mar 2024 01:14:31 +0000 Subject: 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@ --- src/lib/libcrypto/arch/i386/Makefile.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') 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 @@ -# $OpenBSD: Makefile.inc,v 1.11 2024/03/27 11:12:08 jsing Exp $ +# $OpenBSD: Makefile.inc,v 1.12 2024/03/28 01:14:31 jsing Exp $ # i386-specific libcrypto build rules @@ -20,8 +20,7 @@ SSLASM+= bn x86-mont # camellia SSLASM+= camellia cmll-x86 # des -SRCS+= fcrypt_b.c -SSLASM+= des des-586 +SRCS+= des_enc.c fcrypt_b.c # md5 CFLAGS+= -DMD5_ASM SSLASM+= md5 md5-586 @@ -30,9 +29,6 @@ CFLAGS+= -DGHASH_ASM SSLASM+= modes ghash-x86 # rc4 SSLASM+= rc4 rc4-586 -# ripemd -CFLAGS+= -DRMD160_ASM -SSLASM+= ripemd rmd-586 # sha CFLAGS+= -DSHA1_ASM SSLASM+= sha sha1-586 -- cgit v1.2.3-55-g6feb