STM32H735xx HAL User Manual
|
Extended CRYP HAL module driver This file provides firmware functions to manage the following functionalities of CRYP extension peripheral: + Extended AES processing functions. More...
#include "stm32h7xx_hal.h"
Go to the source code of this file.
Defines | |
#define | CRYP_PHASE_INIT 0x00000000U |
#define | CRYP_PHASE_HEADER CRYP_CR_GCM_CCMPH_0 |
#define | CRYP_PHASE_PAYLOAD CRYP_CR_GCM_CCMPH_1 |
#define | CRYP_PHASE_FINAL CRYP_CR_GCM_CCMPH |
#define | CRYP_OPERATINGMODE_ENCRYPT 0x00000000U |
#define | CRYP_OPERATINGMODE_DECRYPT CRYP_CR_ALGODIR |
#define | CRYPEx_PHASE_PROCESS 0x02U |
#define | CRYPEx_PHASE_FINAL 0x03U |
#define | CRYP_CCM_CTR0_0 0x07FFFFFFU |
#define | CRYP_CCM_CTR0_3 0xFFFFFF00U |
Functions | |
HAL_StatusTypeDef | HAL_CRYPEx_AESGCM_GenerateAuthTAG (CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout) |
generate the GCM authentication TAG. | |
HAL_StatusTypeDef | HAL_CRYPEx_AESCCM_GenerateAuthTAG (CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout) |
AES CCM Authentication TAG generation. |
Extended CRYP HAL module driver This file provides firmware functions to manage the following functionalities of CRYP extension peripheral: + Extended AES processing functions.
Copyright (c) 2017 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 after AES-GCM or AES-CCM Encryption/Decryption to get the authentication messages.
Definition in file stm32h7xx_hal_cryp_ex.c.