Unable to load key to SECO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Unable to load key to SECO

54 次查看
Chandni
Contributor I

Hi All,

On IMx8DX, I am trying to generate a key blob using SECO and then I want to load the key to SECO using this key blob. For this I am using these two APIs: sc_seco_gen_key_blob() and sc_seco_load_key().

My chip is in OEM closed lifecycle state.
I have two questions:

  1. I can generate KEY blob using sc_seco_gen_key_blob() but only a DEK key blob. I could not generate any other key blob like KEK, I always get  SECO Event[1] = 0x00AFBC2. Is it not possible to generate any key blob other than DEK key blob?
  2. Once I generate the DEK key blob, I want to load the key to SECO. For this I am using sc_seco_load_key(). It always fails with the SECO Event[1] = 0x0090A429. I cannot understand why It fails. I know that 0xA4 is AHAB_BAD_BLOB_IND but I passed the same the key blob which was generated earlier with the same key Identifier to sc_seco_load_key(). Can you please throw some light on it?

@Yuri 

Thanking you in advance.
Chandni

标记 (3)
0 项奖励
1 回复

15 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Can generate these blobs 

Harvey021_0-1718864065238.png

The API load key is for IEE

Harvey021_1-1718864100445.png

For storing common data, you can consider using CAAM red/black blob directly

 

Regards

Harvey

0 项奖励