mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Fix issues from infer diff report: init mp_digit to 0.
This commit is contained in:
@ -2495,7 +2495,7 @@ static int RsaFunctionPrivate(mp_int* tmp, RsaKey* key, WC_RNG* rng)
|
|||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
#if defined(WC_RSA_BLINDING) && !defined(WC_NO_RNG)
|
#if defined(WC_RSA_BLINDING) && !defined(WC_NO_RNG)
|
||||||
mp_digit mp;
|
mp_digit mp = 0;
|
||||||
DECL_MP_INT_SIZE_DYN(rnd, mp_bitsused(&key->n), RSA_MAX_SIZE);
|
DECL_MP_INT_SIZE_DYN(rnd, mp_bitsused(&key->n), RSA_MAX_SIZE);
|
||||||
DECL_MP_INT_SIZE_DYN(rndi, mp_bitsused(&key->n), RSA_MAX_SIZE);
|
DECL_MP_INT_SIZE_DYN(rndi, mp_bitsused(&key->n), RSA_MAX_SIZE);
|
||||||
#endif /* WC_RSA_BLINDING && !WC_NO_RNG */
|
#endif /* WC_RSA_BLINDING && !WC_NO_RNG */
|
||||||
|
Reference in New Issue
Block a user