mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
src/ssl_crypto.c: revert FIPS gate threshold in wolfSSL_AES_decrypt() changed in d85c108952
-- original value was correct, misdiagnosed by faulty test.
This commit is contained in:
@@ -3041,7 +3041,7 @@ void wolfSSL_AES_decrypt(const unsigned char* input, unsigned char* output,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
#if !defined(HAVE_SELFTEST) && \
|
#if !defined(HAVE_SELFTEST) && \
|
||||||
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION3_GE(5,2,1)))
|
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION3_GE(5,3,0)))
|
||||||
/* Decrypt a block with wolfCrypt AES. */
|
/* Decrypt a block with wolfCrypt AES. */
|
||||||
if (wc_AesDecryptDirect((Aes*)key, output, input) != 0) {
|
if (wc_AesDecryptDirect((Aes*)key, output, input) != 0) {
|
||||||
WOLFSSL_MSG("wc_AesDecryptDirect failed");
|
WOLFSSL_MSG("wc_AesDecryptDirect failed");
|
||||||
|
Reference in New Issue
Block a user