From 417eb2ee99ee039b1f6aaaee5f1407ca5e4f94cf Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 11 Jun 2025 04:08:16 +0000 Subject: Remove BF_PTR In bf_local.h r1.2, openssl/opensslconf.h was pulled out of the HEADER_BF_LOCL_H header guard, so BF_PTR was never defined from opensslfeatures.h. Thus, alpha, mips64, sparc64 haven't used the path that is supposedly optimized for them. On the M3k the speed gain of bf-cbc with BF_PTR is roughly 5%, so not really great. This is blowfish, so I don't think we want to carry complications for alpha and mips64 only. ok jsing kenjiro --- src/lib/libcrypto/arch/powerpc64/opensslconf.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/lib/libcrypto/arch/powerpc64/opensslconf.h') diff --git a/src/lib/libcrypto/arch/powerpc64/opensslconf.h b/src/lib/libcrypto/arch/powerpc64/opensslconf.h index 3aaa6bd0b8..49cdf69a38 100644 --- a/src/lib/libcrypto/arch/powerpc64/opensslconf.h +++ b/src/lib/libcrypto/arch/powerpc64/opensslconf.h @@ -27,11 +27,6 @@ #undef BN_LLONG #endif -#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) -#define CONFIG_HEADER_BF_LOCL_H -#undef BF_PTR -#endif /* HEADER_BF_LOCL_H */ - #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) #define CONFIG_HEADER_DES_LOCL_H #ifndef DES_DEFAULT_OPTIONS -- cgit v1.2.3-55-g6feb