Remove wc_RsaSSL_VerifyInline from Cryptocell

This commit is contained in:
Tesfa Mael
2019-12-05 10:40:21 -08:00
parent 889f111454
commit 4f8a37ef7b
2 changed files with 3 additions and 1 deletions

View File

@@ -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,

View File

@@ -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);