mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-13 17:44:48 +02:00
add sha224_test() call to cryptocb test
This commit is contained in:
@@ -2074,7 +2074,10 @@ static int Transform_Sha256(wc_Sha256* sha256, const byte* data)
|
|||||||
#ifdef WOLFSSL_SMALL_STACK_CACHE
|
#ifdef WOLFSSL_SMALL_STACK_CACHE
|
||||||
sha224->W = NULL;
|
sha224->W = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WOLF_CRYPTO_CB
|
||||||
|
sha224->devId = devId;
|
||||||
|
sha224->devCtx = NULL;
|
||||||
|
#endif
|
||||||
#if defined(WOLFSSL_USE_ESP32_CRYPT_HASH_HW)
|
#if defined(WOLFSSL_USE_ESP32_CRYPT_HASH_HW)
|
||||||
#if defined(NO_WOLFSSL_ESP32_CRYPT_HASH_SHA224)
|
#if defined(NO_WOLFSSL_ESP32_CRYPT_HASH_SHA224)
|
||||||
/* We know this is a fresh, uninitialized item, so set to INIT */
|
/* We know this is a fresh, uninitialized item, so set to INIT */
|
||||||
|
@@ -60741,6 +60741,10 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t cryptocb_test(void)
|
|||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
ret = sha_test();
|
ret = sha_test();
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WOLFSSL_SHA224
|
||||||
|
if (ret == 0)
|
||||||
|
ret = sha224_test();
|
||||||
|
#endif
|
||||||
#ifndef NO_SHA256
|
#ifndef NO_SHA256
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
ret = sha256_test();
|
ret = sha256_test();
|
||||||
|
Reference in New Issue
Block a user