mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
check on keygen for make rsa key function
This commit is contained in:
@@ -11632,8 +11632,7 @@ static int test_wc_RsaPublicKeyDecodeRaw (void)
|
|||||||
} /* END test_wc_RsaPublicKeyDecodeRaw */
|
} /* END test_wc_RsaPublicKeyDecodeRaw */
|
||||||
|
|
||||||
|
|
||||||
#if (!defined(NO_RSA) || !defined(HAVE_FAST_RSA)) && (defined(WOLFSSL_KEY_GEN) || \
|
#if (!defined(NO_RSA) || !defined(HAVE_FAST_RSA)) && defined(WOLFSSL_KEY_GEN)
|
||||||
defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL))
|
|
||||||
/* In FIPS builds, wc_MakeRsaKey() will return an error if it cannot find
|
/* In FIPS builds, wc_MakeRsaKey() will return an error if it cannot find
|
||||||
* a probable prime in 5*(modLen/2) attempts. In non-FIPS builds, it keeps
|
* a probable prime in 5*(modLen/2) attempts. In non-FIPS builds, it keeps
|
||||||
* trying until it gets a probable prime. */
|
* trying until it gets a probable prime. */
|
||||||
|
Reference in New Issue
Block a user