mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 17:52:23 +01:00
Fixes for RSA with no RNG
This commit is contained in:
@@ -3886,7 +3886,7 @@ int wc_RsaSSL_VerifyInline(byte* in, word32 inLen, byte** out, RsaKey* key)
|
||||
{
|
||||
WC_RNG* rng;
|
||||
int ret;
|
||||
#ifdef WC_RSA_BLINDING
|
||||
#if defined(WC_RSA_BLINDING) && !defined(WC_NO_RNG)
|
||||
if (key == NULL) {
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
@@ -3997,7 +3997,7 @@ int wc_RsaPSS_VerifyInline_ex(byte* in, word32 inLen, byte** out,
|
||||
{
|
||||
WC_RNG* rng;
|
||||
int ret;
|
||||
#ifdef WC_RSA_BLINDING
|
||||
#if defined(WC_RSA_BLINDING) && !defined(WC_NO_RNG)
|
||||
if (key == NULL) {
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
@@ -4055,7 +4055,7 @@ int wc_RsaPSS_Verify_ex(const byte* in, word32 inLen, byte* out, word32 outLen,
|
||||
{
|
||||
WC_RNG* rng;
|
||||
int ret;
|
||||
#ifdef WC_RSA_BLINDING
|
||||
#if defined(WC_RSA_BLINDING) && !defined(WC_NO_RNG)
|
||||
if (key == NULL) {
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user