Dear,
I want to using CSEC_DRV_GenerateMACAddrMode calculate CMAC for DFLASH data, but the return value is STATUS_ERROR. The code is CSEC_DRV_GenerateMACAddrMode(CSEC_KEY1, (const uint8_t *)0x10000000, 0x30d80, flash_ext_cmac_cal);
but I using the same KEY to calclate the PFLASH data is OK, the function can return STATUS_SUCCESS.
How to using the CSEC calculate CMAC for DFLASH data?