How to use the RSA encryption when receive RSA public key (S32K324 RTD4.4_2.0.1)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use the RSA encryption when receive RSA public key (S32K324 RTD4.4_2.0.1)

262 Views
Foxconn
Contributor II

Hello NXP RD,


When I receive an RSA2048 public key from the Host, I need to store the public key in the HSE RAM space and use it for encryption. However, storing the key results in a 0x55A5A399 (parameter fail) error from the MU register when using the KeyElementSet function to import.

 

I found infomation that KeyElementSet does not support RSA keys.

Foxconn_0-1718168934706.png

 

How should I to implement this RSA function ?

 

Thanks

Best Regards

0 Replies