load key

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,171件の閲覧回数
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 解決策
2,145件の閲覧回数
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 返答(返信)
2,163件の閲覧回数
youxi
Contributor IV

youxi_0-1687935968348.png

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

0 件の賞賛
返信
2,146件の閲覧回数
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

921件の閲覧回数
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 件の賞賛
返信
903件の閲覧回数
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 件の賞賛
返信