HAL + 0/3 examples
CodeScope will show references to HASH_InitTypeDef::KeySize from the following samples and libraries:
Examples
STM32469I_EVAL
Examples
HASH
STM324x9I_EVAL
Examples
HASH
STM324xG_EVAL
Examples
HASH
 
Symbols
loading...
Files
loading...

HASH_InitTypeDef::KeySize field

The key size is used only in HMAC operation.

Syntax

uint32_t KeySize;

Examples

HASH_InitTypeDef::KeySize is referenced by 3 libraries and example projects.

References

LocationReferrerText
stm32f4xx_hal_hash.h:51
uint32_t KeySize; /*!< The key size is used only in HMAC operation. */
stm32f4xx_hal_hash.c:1751HASH_DMAXferCplt()
buffersize = hhash->Init.KeySize; /* DMA transfer size (in bytes) */
stm32f4xx_hal_hash.c:1754HASH_DMAXferCplt()
hhash->HashInCount = hhash->Init.KeySize; /* Initial size for second DMA transfer (input data) */
stm32f4xx_hal_hash.c:2149HASH_IT()
__HAL_HASH_SET_NBVALIDBITS(hhash->Init.KeySize); /* Set NBLW for the key */
stm32f4xx_hal_hash.c:2150HASH_IT()
hhash->HashInCount = hhash->Init.KeySize; /* Set the key size (in bytes) */
stm32f4xx_hal_hash.c:2305HMAC_Processing()
stm32f4xx_hal_hash.c:2381HMAC_Processing()
stm32f4xx_hal_hash.c:2394HMAC_Processing()
stm32f4xx_hal_hash.c:3158HMAC_Start()
if ((pInBuffer == NULL) || (Size == 0U) || (hhash->Init.pKey == NULL) || (hhash->Init.KeySize == 0U)
stm32f4xx_hal_hash.c:3175HMAC_Start()
if (hhash->Init.KeySize > 64U)
stm32f4xx_hal_hash.c:3198HMAC_Start()
hhash->HashKeyCount = hhash->Init.KeySize; /* Key size, HMAC_Processing input parameter for Step 1
stm32f4xx_hal_hash.c:3236HMAC_Start_IT()
if ((pInBuffer == NULL) || (Size == 0U) || (hhash->Init.pKey == NULL) || (hhash->Init.KeySize == 0U)
stm32f4xx_hal_hash.c:3256HMAC_Start_IT()
if (hhash->Init.KeySize > 64U)
stm32f4xx_hal_hash.c:3270HMAC_Start_IT()
hhash->HashInCount = hhash->Init.KeySize; /* Key size */
stm32f4xx_hal_hash.c:3281HMAC_Start_IT()
stm32f4xx_hal_hash.c:3351HMAC_Start_DMA()
if ((pInBuffer == NULL) || (Size == 0U) || (hhash->Init.pKey == NULL) || (hhash->Init.KeySize == 0U) ||
stm32f4xx_hal_hash.c:3376HMAC_Start_DMA()
if (hhash->Init.KeySize > 64U)
stm32f4xx_hal_hash.c:3388HMAC_Start_DMA()
if (hhash->Init.KeySize > 64U)
stm32f4xx_hal_hash.c:3401HMAC_Start_DMA()
hhash->HashInCount = hhash->Init.KeySize; /* Initial size for first DMA transfer (key size) */
stm32f4xx_hal_hash.c:3409HMAC_Start_DMA()
inputSize = hhash->Init.KeySize; /* Size for first DMA transfer (in bytes) */
stm32f4xx_hal_hash.c:3412HMAC_Start_DMA()

Data Use

Functions reading HASH_InitTypeDef::KeySize
HASH_InitTypeDef::KeySize
Type of HASH_InitTypeDef::KeySize
HASH_InitTypeDef::KeySize
uint32_t
all items filtered out