I had downloaded the KSDK for FRDM-K82, tested the mbedtls selftest code which is available in the below path.
Question: Required help to generate rsa_genkey -2048 bits
Downloaded the attached rsa_genkey.htm from mbedtls and integrated in selftest.c which is attached for your reference
unfortunately the code is going to Hardfault when executing the function memset.
Thanks & regards,