cancel
Showing results for 
Search instead for 
Did you mean: 

RSA Pair Key generation on STM32L496

aybood
Associate

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

 

1 REPLY 1
Jocelyn RICARD
ST Employee

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