load key

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决
3,109 次查看
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?

标记 (1)
0 项奖励
回复
1 解答
3,083 次查看
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

在原帖中查看解决方案

4 回复数
3,101 次查看
youxi
Contributor IV

youxi_0-1687935968348.png

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

0 项奖励
回复
3,084 次查看
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

1,859 次查看
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.

 

标记 (2)
0 项奖励
回复
1,841 次查看
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 项奖励
回复