From 03fc8f9b9ecbb65326348dd8eccc5d22344abefe Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 17 Jan 2026 16:18:32 +0000 Subject: Provide LIBRESSL_USE_.*_ASSEMBLY defines. Make life easier for portable by providing LIBRESSL_USE_.*_ASSEMBLY defines, which enable/disable assembly for a specific algorithm. This means that selected platforms can include the assembly files and specify a define, rather than having to try to patch the crypto_arch.h headers. Discussed with tb@ --- src/lib/libcrypto/arch/powerpc64/Makefile.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/arch/powerpc64') diff --git a/src/lib/libcrypto/arch/powerpc64/Makefile.inc b/src/lib/libcrypto/arch/powerpc64/Makefile.inc index a70a5b2057..4a72726eab 100644 --- a/src/lib/libcrypto/arch/powerpc64/Makefile.inc +++ b/src/lib/libcrypto/arch/powerpc64/Makefile.inc @@ -1,13 +1,16 @@ -# $OpenBSD: Makefile.inc,v 1.17 2026/01/17 13:55:31 jsing Exp $ +# $OpenBSD: Makefile.inc,v 1.18 2026/01/17 16:18:32 jsing Exp $ # powerpc-specific libcrypto build rules +# aes # slower than C code #SSLASM+= aes aes-ppc aes-ppc + # bn #SSLASM+= bn ppc bn-ppc #SSLASM+= bn ppc-mont ppc-mont #CFLAGS+= -DOPENSSL_BN_ASM_MONT + # sha #SSLASM+= sha sha1-ppc sha1-ppc #SSLASM+= sha sha512-ppc sha256-ppc -- cgit v1.2.3-55-g6feb