You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen in #26261 the release-linux-gnu build seems to have hardware detection turned off, so CryptoPP doesn't even try to see if the AES instruction set is supported. We should make sure we build it correctly.
The text was updated successfully, but these errors were encountered:
Fixescockroachdb#26383
Set appropriate `-m` flags for cryptopp to enable AES runtime detection
checks (without those, it does not even try).
Add a `UsesAESNI()` function in CryptoPP which returns true iff:
* AES-NI runtime detection is compiled in
* AES-NI instruction is available
Add a warning to stdout (normal logging requires `vmodule=rocksdb=3`) if
encryption is requested but AES-NI is not available.
Add a test to make sure our builds always have AES-NI enabled.
Release note (core): build release binaries with runtime AES detection.
26649: libroach: make CryptoPP build with runtime AES-NI detection. r=mberhault a=mberhault
Fixes#26383
Set appropriate `-m` flags for cryptopp to enable AES runtime detection
checks (without those, it does not even try).
Add a `UsesAESNI()` function in CryptoPP which returns true iff:
* AES-NI runtime detection is compiled in
* AES-NI instruction is available
Add a warning to stdout (normal logging requires `vmodule=rocksdb=3`) if
encryption is requested but AES-NI is not available.
Add a test to make sure our builds always have AES-NI enabled.
Release note (core): build release binaries with runtime AES detection.
Co-authored-by: marc <[email protected]>
As seen in #26261 the
release-linux-gnu
build seems to have hardware detection turned off, so CryptoPP doesn't even try to see if the AES instruction set is supported. We should make sure we build it correctly.The text was updated successfully, but these errors were encountered: