[openssl/openssl] f5690f: fips: use memory ordering rather than locks
noreply at github.com
Wed Jun 14 06:47:07 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)
(cherry picked from commit 8e9ca334528e0a923c4deb0af250a60510974be0)
More information about the openssl-commits