cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H523 and AES HAL

hakeila
Associate III

Hi,

I am trying to configure the AES accelerator on STM32H523 MCU. But I couldn't find an option to configure AES engine in CubeMX.

 

I have double checked Reference manual and I found the AES engine in the MCU ref manual. I looked at the ST HAL and the AES is defined under CRYPTO module.

 

The only modules available under Security are

RNG, PKA, HASH, and of course the Global Trust Zone GTZC.

 

My CubeMX version is 6.13.0

1 ACCEPTED SOLUTION

Accepted Solutions
Souhaib MAZHOUD
ST Employee

Hello @hakeila 

This is normal behavior, as by checking DS14540, STM32H523 does not support AES feature.

KR, Souhaib

 

View solution in original post

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

Hello @hakeila 

This is normal behavior, as by checking DS14540, STM32H523 does not support AES feature.

KR, Souhaib

 

Hi Souhaib,

 

Thank you for your reply.

 

Actually the STM32H523 datasheet doesn't mention AES as part of the security. However, neither the PKA, HASH nor RNG HAL are mentioned in the datasheet even though they are already supported by this MCU and I installed them via CubeMX for this MCU.

This means that the datasheet is not complete or there are errors in it

 

In RM0481 reference manual, there is a complete section about AES and by reading it through, there was no mention of STM32H523 exclusion. 

 

I downloaded STM32-CRYPTOLIB-4.3.0. It is compiled successfully under my STM32H523 project but I haven't used it yet. It does contain AES as one of the encryption algorithms. Is there any implication on using this ST library on this MCU?

 

My whole point of using this is that I would like to know if I can use OEMiROT and OEMuROT on STM32H523 without using AES. And Is there any drawbacks in using STM32-CRYPTOLIB