You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

134 lines
3.0 KiB

  1. /**
  2. ******************************************************************************
  3. * @file stm32wbxx_hal_cryp_ex.h
  4. * @author MCD Application Team
  5. * @brief Header file of CRYPEx HAL module.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under BSD 3-Clause license,
  13. * the "License"; You may not use this file except in compliance with the
  14. * License. You may obtain a copy of the License at:
  15. * opensource.org/licenses/BSD-3-Clause
  16. *
  17. ******************************************************************************
  18. */
  19. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef STM32WBxx_HAL_CRYP_EX_H
  21. #define STM32WBxx_HAL_CRYP_EX_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32wbxx_hal_def.h"
  27. /** @addtogroup STM32WBxx_HAL_Driver
  28. * @{
  29. */
  30. /** @defgroup CRYPEx CRYPEx
  31. * @brief CRYP Extension HAL module driver.
  32. * @{
  33. */
  34. /* Exported types ------------------------------------------------------------*/
  35. /* Exported constants --------------------------------------------------------*/
  36. /* Private types -------------------------------------------------------------*/
  37. /** @defgroup CRYPEx_Private_Types CRYPEx Private Types
  38. * @{
  39. */
  40. /**
  41. * @}
  42. */
  43. /* Private variables ---------------------------------------------------------*/
  44. /** @defgroup CRYPEx_Private_Variables CRYPEx Private Variables
  45. * @{
  46. */
  47. /**
  48. * @}
  49. */
  50. /* Private constants ---------------------------------------------------------*/
  51. /** @defgroup CRYPEx_Private_Constants CRYPEx Private Constants
  52. * @{
  53. */
  54. /**
  55. * @}
  56. */
  57. /* Private macros ------------------------------------------------------------*/
  58. /** @defgroup CRYPEx_Private_Macros CRYPEx Private Macros
  59. * @{
  60. */
  61. /**
  62. * @}
  63. */
  64. /* Private functions ---------------------------------------------------------*/
  65. /** @defgroup CRYPEx_Private_Functions CRYPEx Private Functions
  66. * @{
  67. */
  68. /**
  69. * @}
  70. */
  71. /* Exported functions --------------------------------------------------------*/
  72. /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
  73. * @{
  74. */
  75. /** @addtogroup CRYPEx_Exported_Functions_Group1
  76. * @{
  77. */
  78. HAL_StatusTypeDef HAL_CRYPEx_AESGCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
  79. HAL_StatusTypeDef HAL_CRYPEx_AESCCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
  80. /**
  81. * @}
  82. */
  83. /** @addtogroup CRYPEx_Exported_Functions_Group2
  84. * @{
  85. */
  86. void HAL_CRYPEx_EnableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
  87. void HAL_CRYPEx_DisableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
  88. /**
  89. * @}
  90. */
  91. /**
  92. * @}
  93. */
  94. /**
  95. * @}
  96. */
  97. /**
  98. * @}
  99. */
  100. #ifdef __cplusplus
  101. }
  102. #endif
  103. #endif /* STM32WBxx_HAL_CRYP_EX_H */
  104. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/