2023-02-28 12:12 AM
looks like the same issue like in:
STM32F423 Generating AuthTag for AES crypto is not working
2023-02-28 07:12 AM
Hi @NStro.2
The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.
Regards,
Billy
2023-02-28 09:31 AM
Hello @NStro.2 ,
From what I can see, there was a fix in release 1.16.1 of the STM32CubeF7:
But it concerns only the header.
Is your issue concerning header or payload ?
Thank you
Best regards
Jocelyn
2023-02-28 09:58 PM
Hello Jocelyn,
it concerns only the payload the header is working fine.
Best regards
Norbert
2023-03-01 12:54 AM
Hello Norbert,
I'm sorry I answered you with STM32F7 instead of STM32H7.
For STM32H7, there are different versions of the crypto accelerator depending on the variant.
STM32H75x have hw crypto version < 2.2 and STM32H7Bx and STM32H73x have version 2.2
Also, STM32H75x have a hardware fix related to this topic starting from Rev B.
Normally all the cases are handled in HAL code with regard to payload size alignment but it is done in different way for STM32H75x before Rev B.
So, could you please share what version of STM32H7 you are using and also check if you are using the right define to use the right configuration.
Thank you
Best regards
Jocelyn