load key

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

load key

Jump to solution
2,161 Views
youxi
Contributor IV

Hi:

load key Is that what storing key in HSE means? The second time on, can these keys still be used to encrypt and decrypt?

Tags (1)
0 Kudos
Reply
1 Solution
2,135 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @youxi 

yes, load key means that a key is either stored to flash or to RAM. Keys stored in flash will be available also after next reset / power cycle, RAM keys won't be available.

Format catalogue function will erase all the keys.

There's new set of HSE examples which could help:

https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples

Regards,

Lukas

View solution in original post

4 Replies
2,153 Views
youxi
Contributor IV

youxi_0-1687935968348.png

In addition, if format key, will all keys be deleted?

0 Kudos
Reply
2,136 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @youxi 

yes, load key means that a key is either stored to flash or to RAM. Keys stored in flash will be available also after next reset / power cycle, RAM keys won't be available.

Format catalogue function will erase all the keys.

There's new set of HSE examples which could help:

https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples

Regards,

Lukas

911 Views
anakha
Contributor III

wow. I was looking for a long time for this answer. I did not see this information in HSE reference, maybe I missed. Thanks @lukaszadrapa 

 

So, am I understand right?

First, define keys and Key catalog. format catalog, init and define key handles. then load them in your code.

Later, I can remove keys, format catalog and load key functions from code for later usage.

 

Tags (2)
0 Kudos
Reply
893 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @anakha 

Yes, that's correct. Just notice that key catalogs can be formatted only in CUST_DEL life cycle.

Regards,

Lukas

0 Kudos
Reply