STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
CRYP Init Structure definition. More...
#include <stm32f4xx_hal_cryp.h>
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 |
CRYP Init Structure definition.
Definition at line 49 of file stm32f4xx_hal_cryp.h.
uint32_t CRYP_ConfigTypeDef::DataType |
32-bit data, 16-bit data, 8-bit data or 1-bit string. This parameter can be a value of CRYP Data Type
Definition at line 51 of file stm32f4xx_hal_cryp.h.
Referenced by CRYP_AESCCM_Process(), CRYP_AESCCM_Process_DMA(), CRYP_AESCCM_Process_IT(), CRYP_AESGCM_Process_IT(), CRYP_GCMCCM_SetHeaderPhase(), CRYP_GCMCCM_SetHeaderPhase_DMA(), CRYP_GCMCCM_SetHeaderPhase_IT(), HAL_CRYP_GetConfig(), HAL_CRYP_Init(), HAL_CRYP_SetConfig(), HAL_CRYPEx_AESCCM_GenerateAuthTAG(), and HAL_CRYPEx_AESGCM_GenerateAuthTAG().
uint32_t CRYP_ConfigTypeDef::KeySize |
Used only in AES mode : 128, 192 or 256 bit key length in CRYP1. 128 or 256 bit key length in TinyAES This parameter can be a value of CRYP Key Size
Definition at line 53 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().
uint32_t* CRYP_ConfigTypeDef::pKey |
The key used for encryption/decryption
Definition at line 55 of file stm32f4xx_hal_cryp.h.
Referenced by CRYP_SetKey(), HAL_CRYP_Decrypt(), HAL_CRYP_Decrypt_DMA(), HAL_CRYP_Decrypt_IT(), HAL_CRYP_Encrypt(), HAL_CRYP_Encrypt_DMA(), HAL_CRYP_Encrypt_IT(), HAL_CRYP_GetConfig(), and HAL_CRYP_SetConfig().
uint32_t* CRYP_ConfigTypeDef::pInitVect |
The initialization vector used also as initialization counter in CTR mode
Definition at line 56 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_AESGCM_Process(), CRYP_AESGCM_Process_DMA(), CRYP_AESGCM_Process_IT(), HAL_CRYP_Decrypt(), HAL_CRYP_Decrypt_DMA(), HAL_CRYP_Decrypt_IT(), HAL_CRYP_Encrypt(), HAL_CRYP_Encrypt_DMA(), HAL_CRYP_Encrypt_IT(), HAL_CRYP_GetConfig(), and HAL_CRYP_SetConfig().
uint32_t CRYP_ConfigTypeDef::Algorithm |
DES/ TDES Algorithm ECB/CBC AES Algorithm ECB/CBC/CTR/GCM or CCM This parameter can be a value of CRYP Algorithm Mode
Definition at line 58 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_DMAInCplt(), CRYP_DMAOutCplt(), CRYP_GCMCCM_SetHeaderPhase(), CRYP_GCMCCM_SetHeaderPhase_DMA(), CRYP_GCMCCM_SetHeaderPhase_IT(), CRYP_SetDMAConfig(), CRYP_Workaround(), HAL_CRYP_Decrypt(), HAL_CRYP_Decrypt_DMA(), HAL_CRYP_Decrypt_IT(), HAL_CRYP_Encrypt(), HAL_CRYP_Encrypt_DMA(), HAL_CRYP_Encrypt_IT(), HAL_CRYP_GetConfig(), HAL_CRYP_Init(), HAL_CRYP_IRQHandler(), and HAL_CRYP_SetConfig().
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().
uint32_t CRYP_ConfigTypeDef::HeaderSize |
The size of header buffer in word
Definition at line 64 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(), HAL_CRYP_IRQHandler(), HAL_CRYP_SetConfig(), and HAL_CRYPEx_AESGCM_GenerateAuthTAG().
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().
uint32_t CRYP_ConfigTypeDef::DataWidthUnit |
Data With Unit, this parameter can be value of CRYP Data Width Unit
Definition at line 66 of file stm32f4xx_hal_cryp.h.
Referenced by HAL_CRYP_Decrypt(), HAL_CRYP_Decrypt_DMA(), HAL_CRYP_Decrypt_IT(), HAL_CRYP_Encrypt(), HAL_CRYP_Encrypt_DMA(), HAL_CRYP_Encrypt_IT(), HAL_CRYP_GetConfig(), and HAL_CRYP_SetConfig().
uint32_t CRYP_ConfigTypeDef::HeaderWidthUnit |
Header Width Unit, this parameter can be value of CRYP Header Width Unit
Definition at line 67 of file stm32f4xx_hal_cryp.h.
Referenced by CRYP_GCMCCM_SetHeaderPhase(), CRYP_GCMCCM_SetHeaderPhase_DMA(), CRYP_GCMCCM_SetHeaderPhase_IT(), HAL_CRYP_GetConfig(), HAL_CRYP_SetConfig(), and HAL_CRYPEx_AESGCM_GenerateAuthTAG().
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().