Unable to load key to SECO

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

Unable to load key to SECO

29 Views
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

Tags (3)
0 Kudos
0 Replies