mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
wc_RsaEncryptSize needed in verify only and no-PSS builds
This commit is contained in:
@@ -3992,8 +3992,6 @@ int wc_RsaPSS_Sign_ex(const byte* in, word32 inLen, byte* out, word32 outLen,
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(WOLFSSL_RSA_VERIFY_ONLY) || !defined(WOLFSSL_SP_MATH) || \
|
|
||||||
defined(WC_RSA_PSS)
|
|
||||||
int wc_RsaEncryptSize(const RsaKey* key)
|
int wc_RsaEncryptSize(const RsaKey* key)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
@@ -4012,7 +4010,6 @@ int wc_RsaEncryptSize(const RsaKey* key)
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
||||||
/* flatten RsaKey structure into individual elements (e, n) */
|
/* flatten RsaKey structure into individual elements (e, n) */
|
||||||
|
Reference in New Issue
Block a user