diff options
author | jsing <> | 2024-03-29 01:24:07 +0000 |
---|---|---|
committer | jsing <> | 2024-03-29 01:24:07 +0000 |
commit | f73069c288cf93e137bf25cfb7a9903d4c67f020 (patch) | |
tree | 7e5db3ffce3fbeb904e263880889125acd80370f /src/lib/libcrypto/arch/amd64 | |
parent | 630636f982d21b4493447a7a6633a3b6202aaf87 (diff) | |
download | openbsd-f73069c288cf93e137bf25cfb7a9903d4c67f020.tar.gz openbsd-f73069c288cf93e137bf25cfb7a9903d4c67f020.tar.bz2 openbsd-f73069c288cf93e137bf25cfb7a9903d4c67f020.zip |
Stop building whirlpool assembly on amd64 and i386.
This is a legacy algorithm and the assembly is only marginally faster than
the C code.
Discussed with beck@ and tb@
Diffstat (limited to 'src/lib/libcrypto/arch/amd64')
-rw-r--r-- | src/lib/libcrypto/arch/amd64/Makefile.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc index 2dcf64d045..8ae28f16e9 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.20 2024/03/28 12:52:58 jsing Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.21 2024/03/29 01:24:07 jsing Exp $ |
2 | 2 | ||
3 | # amd64-specific libcrypto build rules | 3 | # amd64-specific libcrypto build rules |
4 | 4 | ||
@@ -67,8 +67,7 @@ sha512-x86_64.S: ${LCRYPTO_SRC}/sha/asm/sha512-x86_64.pl ${EXTRA_PL} | |||
67 | cd ${LCRYPTO_SRC}/sha/asm ; \ | 67 | cd ${LCRYPTO_SRC}/sha/asm ; \ |
68 | /usr/bin/perl ./sha512-x86_64.pl ${.OBJDIR}/${.TARGET} | 68 | /usr/bin/perl ./sha512-x86_64.pl ${.OBJDIR}/${.TARGET} |
69 | # whrlpool | 69 | # whrlpool |
70 | CFLAGS+= -DWHIRLPOOL_ASM | 70 | SRCS+= wp_block.c |
71 | SSLASM+= whrlpool wp-x86_64 | ||
72 | 71 | ||
73 | .for dir f in ${SSLASM} | 72 | .for dir f in ${SSLASM} |
74 | SRCS+= ${f}.S | 73 | SRCS+= ${f}.S |