123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- /**
- ******************************************************************************
- * @file stm32g0xx_hal_cryp_ex.h
- * @author MCD Application Team
- * @brief Header file of CRYPEx HAL module.
- ******************************************************************************
- * @attention
- *
- * Copyright (c) 2018 STMicroelectronics.
- * All rights reserved.
- *
- * This software is licensed under terms that can be found in the LICENSE file
- * in the root directory of this software component.
- * If no LICENSE file comes with this software, it is provided AS-IS.
- *
- ******************************************************************************
- */
- /* Define to prevent recursive inclusion -------------------------------------*/
- #ifndef STM32G0xx_HAL_CRYP_EX_H
- #define STM32G0xx_HAL_CRYP_EX_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* Includes ------------------------------------------------------------------*/
- #include "stm32g0xx_hal_def.h"
- /** @addtogroup STM32G0xx_HAL_Driver
- * @{
- */
- #if defined(AES)
- /** @defgroup CRYPEx CRYPEx
- * @brief CRYP Extension HAL module driver.
- * @{
- */
- /* Exported types ------------------------------------------------------------*/
- /* Exported constants --------------------------------------------------------*/
- /* Private types -------------------------------------------------------------*/
- /** @defgroup CRYPEx_Private_Types CRYPEx Private Types
- * @{
- */
- /**
- * @}
- */
- /* Private variables ---------------------------------------------------------*/
- /** @defgroup CRYPEx_Private_Variables CRYPEx Private Variables
- * @{
- */
- /**
- * @}
- */
- /* Private constants ---------------------------------------------------------*/
- /** @defgroup CRYPEx_Private_Constants CRYPEx Private Constants
- * @{
- */
- /**
- * @}
- */
- /* Private macros ------------------------------------------------------------*/
- /** @defgroup CRYPEx_Private_Macros CRYPEx Private Macros
- * @{
- */
- /**
- * @}
- */
- /* Private functions ---------------------------------------------------------*/
- /** @defgroup CRYPEx_Private_Functions CRYPEx Private Functions
- * @{
- */
- /**
- * @}
- */
- /* Exported functions --------------------------------------------------------*/
- /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
- * @{
- */
- /** @addtogroup CRYPEx_Exported_Functions_Group1
- * @{
- */
- HAL_StatusTypeDef HAL_CRYPEx_AESGCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
- HAL_StatusTypeDef HAL_CRYPEx_AESCCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
- /**
- * @}
- */
- /** @addtogroup CRYPEx_Exported_Functions_Group2
- * @{
- */
- void HAL_CRYPEx_EnableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
- void HAL_CRYPEx_DisableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
- /**
- * @}
- */
- /**
- * @}
- */
- /**
- * @}
- */
- #endif /* AES */
- /**
- * @}
- */
- #ifdef __cplusplus
- }
- #endif
- #endif /* STM32G0xx_HAL_CRYP_EX_H */
|