Dear Team,
I'm working with a AHAB using a i.MX8 chip.
upload no signed m4 image to device and program SRK fuse data.
as above title, Noticed that the following code api in debug log are always successful even the container m4 image was no signed, but seco event found
That is, sc_seco_authenticate() succeeds even if the hash value or signature value of the signed m4 image is changed.
============================================================================
memcpy((void *)SEC_SECURE_RAM_BASE, (const void *)M4_RAM_addr, ALIGN(length, CONFIG_SYS_CACHELINE_SIZE));
err = sc_seco_authenticate(ipc, SC_MISC_AUTH_CONTAINER, M4_RAM_addr);
do_ahab_status(ipc);
--> No return error, but SECO Event Found.
SECO Evnet List : 1) Invalid hash value : AHAB_BAD_HASH_IND (0xF1)
2) Invalid signature value : AHAB_BAD_SIGNATURE_IND (0xF0)
3) No signed m4_image : AHAB_NO_AUTHENTICATION_IND (0xEE)
========================================================================
Thus, the questions are:
Thanks in advance for the reply.
Best regard.