STM32F439xx HAL User Manual
Data Fields
CRYP_InitTypeDef Struct Reference

#include <stm32f4xx_hal_cryp.h>

Data Fields

uint32_t DataType
uint32_t KeySize
uint8_t * pKey
uint8_t * pInitVect
uint8_t IVSize
uint8_t TagSize
uint8_t * Header
uint32_t HeaderSize
uint8_t * pScratch

Detailed Description

Definition at line 68 of file stm32f4xx_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 CRYP Data Type

Definition at line 70 of file stm32f4xx_hal_cryp.h.

Referenced by HAL_CRYP_Init(), and HAL_CRYPEx_AESGCM_Finish().

The size of initialization vector. This parameter (called nonce size in CCM) is used only in AES-128/192/256 encryption/decryption CCM mode

Definition at line 81 of file stm32f4xx_hal_cryp.h.

Referenced by HAL_CRYPEx_AESCCM_Decrypt_DMA(), and HAL_CRYPEx_AESCCM_Encrypt_DMA().

Scratch buffer used to append the header. It's size must be equal to header size + 21 bytes. This parameter is used only in AES-128/192/256 encryption/decryption CCM mode

Definition at line 93 of file stm32f4xx_hal_cryp.h.

Referenced by HAL_CRYPEx_AESCCM_Decrypt_DMA(), HAL_CRYPEx_AESCCM_Encrypt_DMA(), and HAL_CRYPEx_AESCCM_Finish().

The size of returned authentication TAG. This parameter is used only in AES-128/192/256 encryption/decryption CCM mode

Definition at line 85 of file stm32f4xx_hal_cryp.h.

Referenced by HAL_CRYPEx_AESCCM_Decrypt_DMA(), and HAL_CRYPEx_AESCCM_Encrypt_DMA().


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