This is now built on all platforms.
-# $OpenBSD: Makefile,v 1.185 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile,v 1.186 2024/03/29 02:33:44 jsing Exp $
LIB= crypto
LIBREBUILD=y
SRCS+= ui_util.c
# whrlpool/
+SRCS+= wp_block.c
SRCS+= wp_dgst.c
# x509/
SRCS+= camellia.c
SRCS+= cmll_cbc.c
SRCS+= cmll_misc.c
-SRCS+= wp_block.c
.endif
BUILDFIRST = ${GENERATED}
-# $OpenBSD: Makefile.inc,v 1.10 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.11 2024/03/29 02:33:44 jsing Exp $
# aarch64-specific libcrypto build rules
SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# modes
# sha
-# whrlpool
-SRCS+= wp_block.c
.for dir f in ${SSLASM}
SRCS+= ${f}.S
-# $OpenBSD: Makefile.inc,v 1.11 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.12 2024/03/29 02:33:44 jsing Exp $
# alpha-specific libcrypto build rules
# sha
CFLAGS+= -DSHA1_ASM
SSLASM+= sha sha1-alpha
-# whrlpool
-SRCS+= wp_block.c
.for dir f in ${SSLASM}
SRCS+= ${f}.S
-# $OpenBSD: Makefile.inc,v 1.21 2024/03/29 01:24:07 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.22 2024/03/29 02:33:44 jsing Exp $
# amd64-specific libcrypto build rules
sha512-x86_64.S: ${LCRYPTO_SRC}/sha/asm/sha512-x86_64.pl ${EXTRA_PL}
cd ${LCRYPTO_SRC}/sha/asm ; \
/usr/bin/perl ./sha512-x86_64.pl ${.OBJDIR}/${.TARGET}
-# whrlpool
-SRCS+= wp_block.c
.for dir f in ${SSLASM}
SRCS+= ${f}.S
SSLASM+= sha sha256-armv4
CFLAGS+= -DSHA512_ASM
SSLASM+= sha sha512-armv4
-# whrlpool
-SRCS+= wp_block.c
.for dir f in ${SSLASM}
SRCS+= ${f}.S
-# $OpenBSD: Makefile.inc,v 1.20 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.21 2024/03/29 02:33:44 jsing Exp $
# hppa-specific libcrypto build rules
SSLASM+= sha sha1-parisc sha1-parisc
CFLAGS+= -DSHA256_ASM
SSLASM+= sha sha512-parisc sha256-parisc
-# whrlpool
-SRCS+= wp_block.c
.for dir src dst in ${SSLASM}
SRCS+= ${dst}.S
-# $OpenBSD: Makefile.inc,v 1.18 2024/03/29 01:24:07 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.19 2024/03/29 02:33:44 jsing Exp $
# i386-specific libcrypto build rules
SSLASM+= sha sha256-586
CFLAGS+= -DSHA512_ASM
SSLASM+= sha sha512-586
-# whrlpool
-SRCS+= wp_block.c
.for dir f in ${SSLASM}
SRCS+= ${f}.S
-# $OpenBSD: Makefile.inc,v 1.12 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.13 2024/03/29 02:33:44 jsing Exp $
# mips64-specific libcrypto build rules
CFLAGS+= -DSHA256_ASM
SSLASM+= sha sha512-mips sha512-mips
CFLAGS+= -DSHA512_ASM
-# whrlpool
-SRCS+= wp_block.c
.for dir src dst in ${SSLASM}
SRCS+= ${dst}.S
-# $OpenBSD: Makefile.inc,v 1.9 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.10 2024/03/29 02:33:44 jsing Exp $
# powerpc-specific libcrypto build rules
SSLASM+= sha sha1-ppc sha1-ppc
CFLAGS+= -DSHA256_ASM
SSLASM+= sha sha512-ppc sha256-ppc
-# whrlpool
-SRCS+= wp_block.c
.for dir src dst in ${SSLASM}
SRCS+= ${dst}.S
-# $OpenBSD: Makefile.inc,v 1.11 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.12 2024/03/29 02:33:45 jsing Exp $
# powerpc-specific libcrypto build rules
#SSLASM+= sha sha1-ppc sha1-ppc
#CFLAGS+= -DSHA256_ASM
#SSLASM+= sha sha512-ppc sha256-ppc
-# whrlpool
-SRCS+= wp_block.c
.for dir src dst in ${SSLASM}
SRCS+= ${dst}.S
-# $OpenBSD: Makefile.inc,v 1.7 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2024/03/29 02:33:45 jsing Exp $
# riscv64 libcrypto build rules
SRCS+= camellia.c
SRCS+= cmll_cbc.c
SRCS+= cmll_misc.c
-
-# whrlpool
-SRCS+= wp_block.c
-# $OpenBSD: Makefile.inc,v 1.14 2024/03/28 12:52:58 jsing Exp $
+# $OpenBSD: Makefile.inc,v 1.15 2024/03/29 02:33:45 jsing Exp $
# sparc64-specific libcrypto build rules
CFLAGS+= -DSHA256_ASM
SSLASM+= sha sha512-sparcv9 sha512-sparcv9
CFLAGS+= -DSHA512_ASM
-# whrlpool
-SRCS+= wp_block.c
.for dir src dst in ${SSLASM}
SRCS+= ${dst}.S