This is a legacy algorithm and the assembly is only marginally faster than
the C code.
Discussed with beck@ and tb@
-# $OpenBSD: Makefile.inc,v 1.20 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.21 2024/03/29 01:24:07 jsing Exp $
# amd64-specific libcrypto build rules
cd ${LCRYPTO_SRC}/sha/asm ; \
/usr/bin/perl ./sha512-x86_64.pl ${.OBJDIR}/${.TARGET}
# whrlpool
-CFLAGS+= -DWHIRLPOOL_ASM
-SSLASM+= whrlpool wp-x86_64
+SRCS+= wp_block.c
.for dir f in ${SSLASM}
SRCS+= ${f}.S
-# $OpenBSD: Makefile.inc,v 1.17 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.18 2024/03/29 01:24:07 jsing Exp $
# i386-specific libcrypto build rules
SSLASM+= sha sha512-586
# whrlpool
SRCS+= wp_block.c
-CFLAGS+= -DWHIRLPOOL_ASM
-SSLASM+= whrlpool wp-mmx
.for dir f in ${SSLASM}
SRCS+= ${f}.S