s32k312 hse export a aes key

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

s32k312 hse export a aes key

620 Views
victory
Contributor IV

demo shows a import and export ecc pub key. is it possible to a aes key. currently i got a 

HSE_SRV_RSP_NOT_ALLOWED, how to fix this?
0 Kudos
Reply
5 Replies

570 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

import and export ecc pub key

- It should be possible as stated in HSE-B Firmware Reference Manual - V2.3
6.2.4.5 Key values

 

and is it possible to export the private key of the ecc pair in the example?

- No, it is not allowed.

0 Kudos
Reply

559 Views
victory
Contributor IV
thanks for your info. what i want to know is about export a symm aes key. i've read the doc and it seems possible, but i dont know how to do it, could you give me a sample code ?
0 Kudos
Reply

544 Views
victory
Contributor IV
add cipher handle and params to export symm aes key.
0 Kudos
Reply

452 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

There are some examples in HSE Demo application you can download over nxp.com along with HSE firmware.

'Readme' file in the HSE DEMO installation directory:

davidtosenovjan_0-1722951269505.png

 

0 Kudos
Reply

614 Views
victory
Contributor IV
and is it possible to export the private key of the ecc pair in the example?
0 Kudos
Reply