Not able to read AES256 encrypted data from microcontroller using UART. I am used the STM32L442KC microcontroller. I am new for AES Encryption / Descryption.
I am using atolic truestudio 9.3 . myplaintext is a[1]={97}; uint8_t ciphertext [32]; my code is below, uint32_t retval=HAL_CRYP_AESECB_Encrypt(&hcryp, plaintext, 8, ciphertext, 5); if(retval==0) { HAL_UART_Transmit(&huart1,(uint8_t *)...