STMicroelectronics / STM32CubeG4

STM32Cube MCU Full Package for the STM32G4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
192 stars 103 forks source link

missing static const in static CRYP_AESGCM_Process_IT() #30

Closed CanastraRF closed 1 year ago

CanastraRF commented 2 years ago

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.

RKOUSTM commented 2 years ago

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 commented 2 years ago

ST Internal Reference: 120501

RJMSTM commented 1 year ago

Fixed in commit c4132af65fe74ddd7f54aced85a0f4acce736405