[openssl/openssl] 8e9ca3: fips: use memory ordering rather than locks
noreply at github.com
Wed Jun 14 06:47:08 UTC 2023
Author: Pauli <pauli at openssl.org>
Date: 2023-06-14 (Wed, 14 Jun 2023)
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.
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21187)
More information about the openssl-commits