mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 11:11:08 +01:00
Don't call SHA3 selftest when SHA3 is accelerated
`mbedtls_sha3_self_test` only exists in the built-in implementation. The SHA3 self-test won't run until the tf-psa-crypto submodule moves past https://github.com/Mbed-TLS/TF-PSA-Crypto/pull/618 Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -289,10 +289,7 @@ const selftest_t selftests[] =
|
||||
#if defined(MBEDTLS_SHA512_C)
|
||||
{ "sha512", mbedtls_sha512_self_test },
|
||||
#endif
|
||||
#if defined(PSA_WANT_ALG_SHA3_224) || \
|
||||
defined(PSA_WANT_ALG_SHA3_256) || \
|
||||
defined(PSA_WANT_ALG_SHA3_384) || \
|
||||
defined(PSA_WANT_ALG_SHA3_512)
|
||||
#if defined(MBEDTLS_SHA3_C)
|
||||
{ "sha3", mbedtls_sha3_self_test },
|
||||
#endif
|
||||
#if defined(MBEDTLS_AES_C)
|
||||
|
||||
Reference in New Issue
Block a user