diff --git a/wolfcrypt/src/rsa.c b/wolfcrypt/src/rsa.c index 8205d480b..6b651eee5 100644 --- a/wolfcrypt/src/rsa.c +++ b/wolfcrypt/src/rsa.c @@ -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, diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 0ebce4278..a7946fdf0 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -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);