STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_hal_cryp_ex.c File Reference

Extended CRYP HAL module driver This file provides firmware functions to manage the following functionalities of CRYP extension peripheral: More...

Go to the source code of this file.

Functions

HAL_StatusTypeDef HAL_CRYPEx_AESGCM_GenerateAuthTAG (CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout)
 generate the GCM authentication TAG. More...
 
HAL_StatusTypeDef HAL_CRYPEx_AESCCM_GenerateAuthTAG (CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout)
 AES CCM Authentication TAG generation. More...
 
void HAL_CRYPEx_EnableAutoKeyDerivation (CRYP_HandleTypeDef *hcryp)
 AES enable key derivation functions. More...
 
void HAL_CRYPEx_DisableAutoKeyDerivation (CRYP_HandleTypeDef *hcryp)
 AES disable key derivation functions. More...
 

Detailed Description

Extended CRYP HAL module driver This file provides firmware functions to manage the following functionalities of CRYP extension peripheral:

Author
MCD Application Team
  • Extended AES processing functions
Attention

Copyright (c) 2016 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.

==============================================================================
                   ##### How to use this driver #####
==============================================================================
  [..]
  The CRYP extension HAL driver can be used as follows:
  (#)After AES-GCM or AES-CCM  Encryption/Decryption user can start following API
     to get the  authentication messages :
    (##) HAL_CRYPEx_AESGCM_GenerateAuthTAG
    (##) HAL_CRYPEx_AESCCM_GenerateAuthTAG

Definition in file stm32f4xx_hal_cryp_ex.c.