From d39d8479ca24e780b5d1860cbc61d7210201ed32 Mon Sep 17 00:00:00 2001 From: jsing Date: Fri, 29 Mar 2024 02:33:44 +0000 Subject: [PATCH] Move wp_block.c to the primary Makefile. This is now built on all platforms. --- lib/libcrypto/Makefile | 4 ++-- lib/libcrypto/arch/aarch64/Makefile.inc | 4 +--- lib/libcrypto/arch/alpha/Makefile.inc | 4 +--- lib/libcrypto/arch/amd64/Makefile.inc | 4 +--- lib/libcrypto/arch/arm/Makefile.inc | 2 -- lib/libcrypto/arch/hppa/Makefile.inc | 4 +--- lib/libcrypto/arch/i386/Makefile.inc | 4 +--- lib/libcrypto/arch/mips64/Makefile.inc | 4 +--- lib/libcrypto/arch/powerpc/Makefile.inc | 4 +--- lib/libcrypto/arch/powerpc64/Makefile.inc | 4 +--- lib/libcrypto/arch/riscv64/Makefile.inc | 5 +---- lib/libcrypto/arch/sparc64/Makefile.inc | 4 +--- 12 files changed, 12 insertions(+), 35 deletions(-) diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile index 918454e7a44..d3533412fdc 100644 --- a/lib/libcrypto/Makefile +++ b/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $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 @@ -557,6 +557,7 @@ SRCS+= ui_openssl.c SRCS+= ui_util.c # whrlpool/ +SRCS+= wp_block.c SRCS+= wp_dgst.c # x509/ @@ -792,7 +793,6 @@ SRCS+= aes_core.c SRCS+= camellia.c SRCS+= cmll_cbc.c SRCS+= cmll_misc.c -SRCS+= wp_block.c .endif BUILDFIRST = ${GENERATED} diff --git a/lib/libcrypto/arch/aarch64/Makefile.inc b/lib/libcrypto/arch/aarch64/Makefile.inc index 6f57fa230f4..0c16c8d79a5 100644 --- a/lib/libcrypto/arch/aarch64/Makefile.inc +++ b/lib/libcrypto/arch/aarch64/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -9,8 +9,6 @@ SRCS+= aes_core.c SRCS+= camellia.c cmll_cbc.c cmll_misc.c # modes # sha -# whrlpool -SRCS+= wp_block.c .for dir f in ${SSLASM} SRCS+= ${f}.S diff --git a/lib/libcrypto/arch/alpha/Makefile.inc b/lib/libcrypto/arch/alpha/Makefile.inc index ac8314563c9..9c5923589b3 100644 --- a/lib/libcrypto/arch/alpha/Makefile.inc +++ b/lib/libcrypto/arch/alpha/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -15,8 +15,6 @@ SSLASM+= modes ghash-alpha # sha CFLAGS+= -DSHA1_ASM SSLASM+= sha sha1-alpha -# whrlpool -SRCS+= wp_block.c .for dir f in ${SSLASM} SRCS+= ${f}.S diff --git a/lib/libcrypto/arch/amd64/Makefile.inc b/lib/libcrypto/arch/amd64/Makefile.inc index 8ae28f16e97..ac5cf874f5d 100644 --- a/lib/libcrypto/arch/amd64/Makefile.inc +++ b/lib/libcrypto/arch/amd64/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -66,8 +66,6 @@ GENERATED+= sha512-x86_64.S 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 diff --git a/lib/libcrypto/arch/arm/Makefile.inc b/lib/libcrypto/arch/arm/Makefile.inc index b0d125572cf..7db36aaa60a 100644 --- a/lib/libcrypto/arch/arm/Makefile.inc +++ b/lib/libcrypto/arch/arm/Makefile.inc @@ -20,8 +20,6 @@ CFLAGS+= -DSHA256_ASM SSLASM+= sha sha256-armv4 CFLAGS+= -DSHA512_ASM SSLASM+= sha sha512-armv4 -# whrlpool -SRCS+= wp_block.c .for dir f in ${SSLASM} SRCS+= ${f}.S diff --git a/lib/libcrypto/arch/hppa/Makefile.inc b/lib/libcrypto/arch/hppa/Makefile.inc index bbe4c9ac1e9..948aff2107f 100644 --- a/lib/libcrypto/arch/hppa/Makefile.inc +++ b/lib/libcrypto/arch/hppa/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -19,8 +19,6 @@ CFLAGS+= -DSHA1_ASM 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 diff --git a/lib/libcrypto/arch/i386/Makefile.inc b/lib/libcrypto/arch/i386/Makefile.inc index 9da377a3c6d..c8e5a535e5c 100644 --- a/lib/libcrypto/arch/i386/Makefile.inc +++ b/lib/libcrypto/arch/i386/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -37,8 +37,6 @@ CFLAGS+= -DSHA256_ASM SSLASM+= sha sha256-586 CFLAGS+= -DSHA512_ASM SSLASM+= sha sha512-586 -# whrlpool -SRCS+= wp_block.c .for dir f in ${SSLASM} SRCS+= ${f}.S diff --git a/lib/libcrypto/arch/mips64/Makefile.inc b/lib/libcrypto/arch/mips64/Makefile.inc index d40bbdf00e3..4fde831c9ad 100644 --- a/lib/libcrypto/arch/mips64/Makefile.inc +++ b/lib/libcrypto/arch/mips64/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -18,8 +18,6 @@ SSLASM+= sha sha512-mips sha256-mips 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 diff --git a/lib/libcrypto/arch/powerpc/Makefile.inc b/lib/libcrypto/arch/powerpc/Makefile.inc index 9e3a2f7280f..a20d083434b 100644 --- a/lib/libcrypto/arch/powerpc/Makefile.inc +++ b/lib/libcrypto/arch/powerpc/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -19,8 +19,6 @@ CFLAGS+= -DSHA1_ASM 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 diff --git a/lib/libcrypto/arch/powerpc64/Makefile.inc b/lib/libcrypto/arch/powerpc64/Makefile.inc index ea466bb8a3c..1e71fd4ba01 100644 --- a/lib/libcrypto/arch/powerpc64/Makefile.inc +++ b/lib/libcrypto/arch/powerpc64/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -19,8 +19,6 @@ SRCS+= camellia.c cmll_cbc.c cmll_misc.c #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 diff --git a/lib/libcrypto/arch/riscv64/Makefile.inc b/lib/libcrypto/arch/riscv64/Makefile.inc index 0737d3ce118..ddb2e631e85 100644 --- a/lib/libcrypto/arch/riscv64/Makefile.inc +++ b/lib/libcrypto/arch/riscv64/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -9,6 +9,3 @@ SRCS+= aes_core.c SRCS+= camellia.c SRCS+= cmll_cbc.c SRCS+= cmll_misc.c - -# whrlpool -SRCS+= wp_block.c diff --git a/lib/libcrypto/arch/sparc64/Makefile.inc b/lib/libcrypto/arch/sparc64/Makefile.inc index e540fcbbba5..ef1fdcfcd07 100644 --- a/lib/libcrypto/arch/sparc64/Makefile.inc +++ b/lib/libcrypto/arch/sparc64/Makefile.inc @@ -1,4 +1,4 @@ -# $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 @@ -19,8 +19,6 @@ SSLASM+= sha sha512-sparcv9 sha256-sparcv9 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 -- 2.20.1