Merge pull request #5037 from JacobBarthelmeh/hsm

fix for function rename
This commit is contained in:
Sean Parkinson
2022-04-11 08:48:28 +10:00
committed by GitHub

View File

@@ -241,7 +241,7 @@ int wc_CAAM_ShaHash(wc_Sha* sha, const byte* in, word32 inSz, byte* digest)
/* in the case of update's just store up all data */ /* in the case of update's just store up all data */
if (in != NULL) { if (in != NULL) {
#ifdef WOLFSSL_HASH_KEEP #ifdef WOLFSSL_HASH_KEEP
ret = _wc_Sha_Grow(&(sha->msg), &(sha->used), &(sha->len), in, ret = _wc_Hash_Grow(&(sha->msg), &(sha->used), &(sha->len), in,
inSz, sha->heap); inSz, sha->heap);
#else #else
ret = _ShaUpdate(sha, data, len, SHA_DIGEST_SIZE, CAAM_SHA); ret = _ShaUpdate(sha, data, len, SHA_DIGEST_SIZE, CAAM_SHA);