2024-02-24 11:59 PM
Hello for all
In last days i was begin to implementation AES to work on stm32f423
I am using example in NIST Special Publication 800-38A to take key-128 bit, input data that plain text , encryption and decryption data.
but nothing seems to work , when i print HAL_CRYP_GetError(&hcryp)
it return 0.
I hope my question clear enough.
Any tips for this.
best regard.
2024-02-25 01:54 AM
Dear @mick ,
Can you please give more details on your code and also to run default examples in HAL and see if working ?
In this series Crypto engine is different and optimized for AES only vs others bigger variants . So may be the Software calls are not correct.
Hope it helps you .
STOne-32
2024-02-25 06:27 AM
Thank @STOne-32 for reply
i am new for using AES in this MCU stm32f423
i am using cube Mx to active AES in ECB mode and generate the code
I hope my question become clear enough
Thanks for any advice