mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-03 23:35:04 +01:00
@@ -410,6 +410,7 @@ static int InitSha256(wc_Sha256* sha256)
|
||||
if (ret != 0) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef FREESCALE_MMCAU_CLASSIC_SHA
|
||||
cau_sha256_initialize_output(sha256->digest);
|
||||
#else
|
||||
@@ -420,6 +421,9 @@ static int InitSha256(wc_Sha256* sha256)
|
||||
sha256->buffLen = 0;
|
||||
sha256->loLen = 0;
|
||||
sha256->hiLen = 0;
|
||||
#ifdef WOLFSSL_SMALL_STACK_CACHE
|
||||
sha256->W = NULL;
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -86,13 +86,13 @@ WOLFSSL_LOCAL int sp_ModExp_4096(mp_int* base, mp_int* exp, mp_int* mod,
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef WOLFSSL_SP_MATH
|
||||
/* math settings check */
|
||||
word32 CheckRunTimeSettings(void)
|
||||
{
|
||||
return CTC_SETTINGS;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* math settings size check */
|
||||
word32 CheckRunTimeFastMath(void)
|
||||
|
||||
Reference in New Issue
Block a user