STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
CRYP_ConfigTypeDef Struct Reference

CRYP Init Structure definition. More...

#include <stm32f4xx_hal_cryp.h>

Collaboration diagram for CRYP_ConfigTypeDef:

Data Fields

uint32_t DataType
 
uint32_t KeySize
 
uint32_t * pKey
 
uint32_t * pInitVect
 
uint32_t Algorithm
 
uint32_t * Header
 
uint32_t HeaderSize
 
uint32_t * B0
 
uint32_t DataWidthUnit
 
uint32_t HeaderWidthUnit
 
uint32_t KeyIVConfigSkip
 

Detailed Description

CRYP Init Structure definition.

Definition at line 49 of file stm32f4xx_hal_cryp.h.

Field Documentation

◆ DataType

◆ KeySize

uint32_t CRYP_ConfigTypeDef::KeySize

◆ pKey

uint32_t* CRYP_ConfigTypeDef::pKey

◆ pInitVect

◆ Algorithm

◆ Header

uint32_t* CRYP_ConfigTypeDef::Header

used only in AES GCM and CCM Algorithm for authentication, GCM : also known as Additional Authentication Data CCM : named B1 composed of the associated data length and Associated Data.

Definition at line 61 of file stm32f4xx_hal_cryp.h.

Referenced by CRYP_AESCCM_Process(), CRYP_AESCCM_Process_DMA(), CRYP_AESGCM_Process_IT(), CRYP_GCMCCM_SetHeaderPhase(), CRYP_GCMCCM_SetHeaderPhase_DMA(), CRYP_GCMCCM_SetHeaderPhase_IT(), HAL_CRYP_GetConfig(), and HAL_CRYP_SetConfig().

◆ HeaderSize

◆ B0

uint32_t* CRYP_ConfigTypeDef::B0

B0 is first authentication block used only in AES CCM mode

Definition at line 65 of file stm32f4xx_hal_cryp.h.

Referenced by CRYP_AESCCM_Process(), CRYP_AESCCM_Process_DMA(), CRYP_AESCCM_Process_IT(), HAL_CRYP_GetConfig(), HAL_CRYP_SetConfig(), and HAL_CRYPEx_AESCCM_GenerateAuthTAG().

◆ DataWidthUnit

uint32_t CRYP_ConfigTypeDef::DataWidthUnit

◆ HeaderWidthUnit

uint32_t CRYP_ConfigTypeDef::HeaderWidthUnit

◆ KeyIVConfigSkip

uint32_t CRYP_ConfigTypeDef::KeyIVConfigSkip

CRYP peripheral Key and IV configuration skip, to config Key and Initialization Vector only once and to skip configuration for consecutive processings. This parameter can be a value of CRYP Key and IV Configuration Skip Mode

Definition at line 68 of file stm32f4xx_hal_cryp.h.

Referenced by CRYP_AES_Decrypt(), CRYP_AES_Decrypt_DMA(), CRYP_AES_Decrypt_IT(), CRYP_AES_Encrypt(), CRYP_AES_Encrypt_IT(), CRYP_AESCCM_Process(), CRYP_AESCCM_Process_DMA(), CRYP_AESCCM_Process_IT(), CRYP_AESGCM_Process(), CRYP_AESGCM_Process_DMA(), CRYP_AESGCM_Process_IT(), HAL_CRYP_Encrypt_DMA(), HAL_CRYP_GetConfig(), HAL_CRYP_Init(), and HAL_CRYP_SetConfig().


The documentation for this struct was generated from the following file: