Hi,
I have two tasks calling to CryptoCC26XX_transact.
I detected a scenario that both tasks call the same function at the same time, thus generating CRYPTOCC26XX_OP_AES_CCM_ENCRYPT_AAD_ONLY error.
I noticed that trans.mode was not initialized so I initialized it:
trans.mode = CRYPTOCC26XX_MODE_BLOCKING;
but I still get into an error when both tasks enter this function.
What is missing in order to enable the CRYPTOCC26XX_MODE_BLOCKING successfully without an errors?