2023-11-07 09:22 AM
Hello,
I am working on STM32L496, that does not have an AES hardware encryption, and i wanted to generate a pair of RSA Keys, public and private keys.
I wonder if i can use mbedTLS or any library to do so or not?
If i can do it, is there any example or documentation?
Thanks
2023-11-08 12:26 AM
Hello @aybood ,
I'm not sure what link you make between AES and RSA.
RSA key pair generation is a very computation heavy process. On a STM32L496 you will easily reach 10 minutes.
You can use mbedTLS to generate such keys but you will have to integrate it.
One mbedTLS integration is available on L4 in the X-CUBE-SBSFU where it used for AES and ECDSA.
You will find it in following directory Projects\32L496GDISCOVERY\Applications\2_Images_OSC\2_Images_SECoreBin\
Best regards
Jocelyn