1

(4 replies, posted in wolfCrypt)

Hi,
I am getting the same error BAD_PADDING_E because ret is becoming non zero at line ret+=pkcsBlock[idx++] ^ 01. I am using RSA_OAEP padding with sha256 hasing function.  Version of wolfssl  is 3.9.6

Hi,
I am trying to sign the data with pkcs1 private key. I am able to decode the private key with RsaPrivateKeydecode(), but when I am trying to sign the data using RsaSSL_Sign() function, I am getting the error at the following function and the error following error:
error at function: integer.c:  Reredux(&M[x],p,mp).
it is giving return code other than MP_OKAY.

may I know the reason why it is failing.

regards
Kranthi