buggy STM32H7S CRYP HAL
Hello,
HAL driver for CRYP peripheral of STM32H7RSxx series generates invalid AES GCM TAG.
According specs, header should be 0-padded to 16 bytes, but in the function CRYP_GCMCCM_SetHeaderPhase() the HeaderSize field is assumed to be expressed in words.
This leads to errors when header is, for example, 5 bytes long (as in TLS handshake).
cfr. STM32H7xx series implementation
STM32Cube FW_H7RS V1.2.0
Alessandro
