s32k312 hse export a aes key

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

s32k312 hse export a aes key

708 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

658 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

647 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

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

540 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

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