cancel
Showing results for 
Search instead for 
Did you mean: 

AES in STM32F423

mick
Associate II

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. 

2 REPLIES 2
STOne-32
ST Employee

 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. 

IMG_6553.jpeg

Hope it helps you .

STOne-32

mick
Associate II

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 

1.png

2.png

3.png

  I hope my question become clear enough

Thanks for any advice