add sha224_test() call to cryptocb test

This commit is contained in:
Hideki Miyazaki
2025-08-07 08:14:26 +09:00
parent ccdef57e8e
commit d1bf35b209
2 changed files with 8 additions and 1 deletions

View File

@@ -2074,7 +2074,10 @@ static int Transform_Sha256(wc_Sha256* sha256, const byte* data)
#ifdef WOLFSSL_SMALL_STACK_CACHE
sha224->W = NULL;
#endif
#ifdef WOLF_CRYPTO_CB
sha224->devId = devId;
sha224->devCtx = NULL;
#endif
#if defined(WOLFSSL_USE_ESP32_CRYPT_HASH_HW)
#if defined(NO_WOLFSSL_ESP32_CRYPT_HASH_SHA224)
/* We know this is a fresh, uninitialized item, so set to INIT */

View File

@@ -60741,6 +60741,10 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t cryptocb_test(void)
if (ret == 0)
ret = sha_test();
#endif
#ifdef WOLFSSL_SHA224
if (ret == 0)
ret = sha224_test();
#endif
#ifndef NO_SHA256
if (ret == 0)
ret = sha256_test();