mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
Remove wc_RsaSSL_VerifyInline from Cryptocell
This commit is contained in:
@@ -3106,7 +3106,7 @@ int wc_RsaPrivateDecrypt_ex(const byte* in, word32 inLen, byte* out,
|
||||
#endif /* WC_NO_RSA_OAEP || WC_RSA_NO_PADDING */
|
||||
#endif /* WOLFSSL_RSA_PUBLIC_ONLY */
|
||||
|
||||
|
||||
#if !defined(WOLFSSL_CRYPTOCELL)
|
||||
int wc_RsaSSL_VerifyInline(byte* in, word32 inLen, byte** out, RsaKey* key)
|
||||
{
|
||||
WC_RNG* rng = NULL;
|
||||
@@ -3117,6 +3117,7 @@ int wc_RsaSSL_VerifyInline(byte* in, word32 inLen, byte** out, RsaKey* key)
|
||||
RSA_PUBLIC_DECRYPT, RSA_BLOCK_TYPE_1, WC_RSA_PKCSV15_PAD,
|
||||
WC_HASH_TYPE_NONE, WC_MGF1NONE, NULL, 0, 0, rng);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WOLFSSL_RSA_VERIFY_ONLY
|
||||
int wc_RsaSSL_Verify(const byte* in, word32 inLen, byte* out, word32 outLen,
|
||||
|
@@ -11844,6 +11844,7 @@ int rsa_test(void)
|
||||
#ifndef WOLFSSL_RSA_VERIFY_INLINE
|
||||
|
||||
#if defined(WOLFSSL_CRYPTOCELL)
|
||||
/* Cryptocell requires the input data and signature to verify */
|
||||
ret = wc_RsaSSL_Verify(in, inLen, out, outSz, &key);
|
||||
#else
|
||||
ret = wc_RsaSSL_Verify(out, idx, plain, plainSz, &key);
|
||||
|
Reference in New Issue
Block a user