We are using mbedtls-2.4.0 with IMX6UL hardware callbacks. Our requirement is to generate RSA key pair and CSR.
When we call mbedtls_rsa_gen_key() it internally calls Freescale hardware and generates prime numbers. But while generating the key i am getting below error
Error code 0x20000b87
caam_out_job_ring_test_and_remove 499! Error Code = 0x20000b87
mbedtls_rsa_gen_key failed returned -0x418e
Can anyone help me out what could be the reason of caam error.