openssl/providers/fips
Pauli 8e9ca33452 fips: use memory ordering rather than locks
The FIPS provider accesses it's current state under lock.
This is overkill, little or no synchronisation is actually required in
practice (because it's essentially a read only setting).  Switch to using
TSAN operations in preference.

Fixes #21179

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21187)
2023-06-14 16:44:53 +10:00
..
build.info
fips_entry.c
fipsprov.c configure: introduce no-ecx to remove ECX related feature 2023-06-14 13:06:22 +10:00
self_test_data.inc fips: Use salt >= 16 bytes in PBKDF2 selftest 2023-03-07 18:28:54 +01:00
self_test_kats.c Update FIPS KATs for 140-3 2022-11-02 08:42:46 +11:00
self_test.c fips: use memory ordering rather than locks 2023-06-14 16:44:53 +10:00
self_test.h