STM32CubeG4 icon indicating copy to clipboard operation
STM32CubeG4 copied to clipboard

missing static const in static CRYP_AESGCM_Process_IT()

Open CanastraRF opened this issue 3 years ago • 2 comments

Hi In the newest version of static HAL_StatusTypeDef CRYP_AESGCM_Process_IT(CRYP_HandleTypeDef * const hcryp) is a mask array

uint32_t mask[12U] = {0x0U, 0xFF000000UL, 0xFFFF0000UL, 0xFFFFFF00UL,  /* 32-bit data type */
                      0x0U, 0x0000FF00UL, 0x0000FFFFUL, 0xFF00FFFFUL,  /* 16-bit data type */
                      0x0U, 0x000000FFUL, 0x0000FFFFUL, 0x00FFFFFFUL}; /*  8-bit data type */

this should be static const. Please fix this.

CanastraRF avatar Jan 03 '22 13:01 CanastraRF

Hi @CanastraRF,

Thank you for your report. An internal tracker has been logged and a fix will be implemented and made available in the frame of a future release.

Thank you again for you report.

With regards,

RKOUSTM avatar Jan 07 '22 14:01 RKOUSTM

ST Internal Reference: 120501

RKOUSTM avatar Jan 07 '22 14:01 RKOUSTM

Fixed in commit c4132af65fe74ddd7f54aced85a0f4acce736405

RJMSTM avatar Jul 31 '23 12:07 RJMSTM