Provide crypto_cpu_caps_init() as a CPU capability detection entry point.
authorjsing <jsing@openbsd.org>
Thu, 17 Oct 2024 14:27:57 +0000 (14:27 +0000)
committerjsing <jsing@openbsd.org>
Thu, 17 Oct 2024 14:27:57 +0000 (14:27 +0000)
commitb761d24c0b5d0d9ad512e141f454aa88f53007e5
tree3e00120ad008a5ccfcd250b1b417bf972b63ce4a
parent32ac497024192c28860a7248c295d2638805a96d
Provide crypto_cpu_caps_init() as a CPU capability detection entry point.

This can be overridden on a per-architecture basis. The default version
calls OPENSSL_cpuid_setup(), which will be eventually replaced/removed.

ok joshua@ tb@
lib/libcrypto/cryptlib.c
lib/libcrypto/crypto_init.c
lib/libcrypto/crypto_internal.h