This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC2640R2: AES implementation via simple peripheral example on IAR

Part Number: LAUNCHXL-CC2640R2

Hi,

https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/829109?tisearch=e2e-quicksearch&keymatch=AES

with reference to the above link I tried to implement AES via simple peripheral example.

After I call for AESECB_oneStepEncrypt(handle, &Operation_test);  it is getting struck at the below condition of AESECB_waitForResult(AESECB_Handle handle) function

if (object->returnBehavior == AESECB_RETURN_BEHAVIOR_BLOCKING) {
        SemaphoreP_pend(&CryptoResourceCC26XX_operationSemaphore, SemaphoreP_WAIT_FOREVER);

        return object->returnStatus;
    }

 

Is there any way to overcome this WAIT_FOREVER condition?