i.MX93: Encrypted Data Storage API Test Error

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

i.MX93: Encrypted Data Storage API Test Error

929 Views
petertseng
Contributor IV

Hi Team,

I performed ELE-HSM Tests according to the method provided in the README file at https://github.com/nxp-imx/imx-secure-enclave/blob/lf-6.12.49_2.2.0/

The following error was encountered.

---------------------------------------------------
Encrypted Data Storage API Test
---------------------------------------------------
Data [Encrypted + Signed] stored. SUCCESS

Data [Encrypted + Signed] retrieved. SUCCESS

Signature Verified. SUCCESS.

Decrypted data matches stored Plain data. SUCCESS


SAB Error: SAB CMD [0xa2] Resp [0x329] - Provided key-id, Unknown to key store..

hsm_data_ops [RETRIEVE Again] err: 0x3. SUCCESS
Retrieved Again: Data Empty. SUCCESS
---------------------------------------------------

 

Why is the ELE-HSM test reporting an error?

Do I need to store the key in OTP first?

 

Attach the logfile

 

Thanks,

Peter

Tags (2)
0 Kudos
Reply
4 Replies

852 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @petertseng 

This is a phenomenon consistent with the test expectations; there is no need to store the key in the OTP.

Best Regards,
Zhiming

0 Kudos
Reply

830 Views
petertseng
Contributor IV

Hi Zhiming,

Can an IMX93 ELE-HSM be used to replace the Crypto Authentication IC (e.g., ATECC608A)?

If possible, how should I achieve this?

I would be extremely grateful if you could provide any relevant information or documents.

 

Thanks,

Peter

0 Kudos
Reply

789 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @petertseng 

In certain scenarios, their functionalities overlap, but ELE-HSM cannot fully replace ATECC608A. If you require a completely independent/offiline secure element, then ATECC608A should be used. If your needs are limited to key storage + AES encryption/decryption + RNG + SHA + secure boot, then using ELE is an option.

Best Regards,
Zhiming

0 Kudos
Reply

594 Views
petertseng
Contributor IV

Hi Zhiming,

How can I store the public key on the IMX93 ?

Where is the public key physically stored ? (e.g., in OTP/eFUSE or root filesystem)?

Thanks,

Peter

0 Kudos
Reply