STM32L443xx HAL User Manual
Data Fields
CRYP_InitTypeDef Struct Reference

CRYP Configuration Structure definition. More...

#include <stm32l4xx_hal_cryp.h>

Data Fields

uint32_t DataType
uint32_t KeySize
uint32_t OperatingMode
uint32_t ChainingMode
uint32_t KeyWriteFlag
uint32_t GCMCMACPhase
uint8_t * pKey
uint8_t * pInitVect
uint8_t * Header
uint64_t HeaderSize

Detailed Description

CRYP Configuration Structure definition.

Definition at line 47 of file stm32l4xx_hal_cryp.h.


Field Documentation

32-bit data, 16-bit data, 8-bit data or 1-bit string. This parameter can be a value of AES Data Type selection

Definition at line 49 of file stm32l4xx_hal_cryp.h.

Referenced by CRYP_AES_Auth_IT(), CRYP_Padding(), HAL_CRYP_Init(), HAL_CRYPEx_AES_Auth(), HAL_CRYPEx_AES_Auth_DMA(), and HAL_CRYPEx_AES_Auth_IT().

Indicates the processing phase of the Galois Counter Mode (GCM), Galois Message Authentication Code (GMAC), Cipher Message Authentication Code (CMAC) (when applicable) or Counter with Cipher Mode (CCM) (when applicable). This parameter can be a value of GCM/GMAC and CCM/CMAC (when applicable) processing phase selection

Definition at line 64 of file stm32l4xx_hal_cryp.h.

Referenced by CRYP_AES_Auth_IT(), CRYP_Authentication_DMAInCplt(), CRYP_Padding(), HAL_CRYP_Init(), HAL_CRYPEx_AES_Auth(), HAL_CRYPEx_AES_Auth_DMA(), and HAL_CRYPEx_AES_Auth_IT().

Header used in GCM/GMAC, CMAC (when applicable) and CCM (when applicable) modes

Definition at line 75 of file stm32l4xx_hal_cryp.h.

Referenced by CRYP_AES_Auth_IT(), HAL_CRYPEx_AES_Auth(), HAL_CRYPEx_AES_Auth_DMA(), and HAL_CRYPEx_AES_Auth_IT().

Header size in bytes

Definition at line 77 of file stm32l4xx_hal_cryp.h.

Referenced by CRYP_AES_Auth_IT(), HAL_CRYPEx_AES_Auth(), HAL_CRYPEx_AES_Auth_DMA(), and HAL_CRYPEx_AES_Auth_IT().

128 or 256-bit key length. This parameter can be a value of Key size selection

Definition at line 52 of file stm32l4xx_hal_cryp.h.

Referenced by CRYP_AES_IT(), CRYP_ReadKey(), CRYP_SetKey(), and HAL_CRYP_Init().

Initialization Vector used for CTR, CBC, GCM/GMAC, CMAC (when applicable) and CCM (when applicable) modes

Definition at line 72 of file stm32l4xx_hal_cryp.h.

Referenced by CRYP_SetInitVector().

Encryption/Decryption Key

Definition at line 70 of file stm32l4xx_hal_cryp.h.

Referenced by CRYP_SetKey().


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