From: jsing Date: Thu, 28 Mar 2024 01:14:31 +0000 (+0000) Subject: Stop building the assembly implementation of des and ripemd on i386. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=dba1fedea3261f3281d7d5a8f1dd634c92266cff;p=openbsd 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@ --- diff --git a/lib/libcrypto/arch/i386/Makefile.inc b/lib/libcrypto/arch/i386/Makefile.inc index 49eab685620..dcf50d95ca7 100644 --- a/lib/libcrypto/arch/i386/Makefile.inc +++ b/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