When RSA decrypting with Public key on ESP-IDF get error about BIGNUM

serkannuvia
Posts: 2
Joined: Thu Dec 21, 2017 2:29 pm

When RSA decrypting with Public key on ESP-IDF get error about BIGNUM

Postby serkannuvia » Fri Dec 22, 2017 12:03 pm

when I decrypting RSA with Public key on ESP-IDF, I get error code: -17028
I used mbedtls_rsa_pkcs1_decrypt() function for decrypting. And I got the below error-->
mbedtls_rsa_pkcs1_decrypt failed !
Error code: -17028

-------mbedtls_rsa_pkcs1_decrypt ERROR-------
RSA - The public key operation failed : BIGNUM - Bad input parameters to function


Why this error code is encountered? How can I overcome this?
Thanks.

Who is online

Users browsing this forum: cdollar and 113 guests