mirror of
https://github.com/openssl/openssl.git
synced 2025-01-06 13:26:43 +08:00
a192b2439c
Fixes: #23979 Previously fips module relied on OPENSSL_cpuid_setup being used as constructor by the linker to correctly setup the capability vector, either via .section .init (for x86_64) or via __attribute__((constructor)). This would make ld.so call OPENSSL_cpuid_setup before the init function for fips module. However, this early constructing behavior has several disadvantages: 1. Not all platform/toolchain supports such behavior 2. Initialisation sequence is not well defined, and some function might not be initialized when cpuid_setup is called 3. Implicit path is hard to maintain and debug Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24419) |
||
---|---|---|
.. | ||
build.info | ||
fips_entry.c | ||
fipsprov.c | ||
self_test_data.inc | ||
self_test_kats.c | ||
self_test.c | ||
self_test.h |