[openssl/openssl] 8e9ca3: fips: use memory ordering rather than locks
Pauli
noreply at github.com
Wed Jun 14 06:47:08 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 8e9ca334528e0a923c4deb0af250a60510974be0
https://github.com/openssl/openssl/commit/8e9ca334528e0a923c4deb0af250a60510974be0
Author: Pauli <pauli at openssl.org>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M providers/fips/self_test.c
Log Message:
-----------
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 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
mailing list