STM32L476G-EVAL CRYP Examples Problem
The code from the 1.16 example builds fine in the EWARM. It writes the source blocks to the terminal, but as I see in the debugger, it fails to encrypt the input block. That times out as it fails to return a HAL_OK status.
/* Start decrypting aCyphertext, the decrypted data is available in aDecryptedtext */
if (HAL_CRYPEx_AES(&CrypHandle, aCyphertext, AES_TEXT_SIZE, aDecryptedtext, TIMEOUT_VALUE) == HAL_OK)
{
/* Display decrypted Data */
Display_DecryptedData(CBC, 128, AES_TEXT_SIZE);
}
else
{
/* Processing Error */
Error_Handler();
}
I have read all the how-to info in the examples.
Has anyone else run into this issue and found a solution?
