Home
last modified time | relevance | path

Searched refs:KeySize (Results 1 – 6 of 6) sorted by relevance

/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_hash.c1582 buffersize = hhash->Init.KeySize; /* DMA transfer size (in bytes) */ in HASH_DMAXferCplt()
1585 …hhash->HashInCount = hhash->Init.KeySize; /* Initial size for second DMA transfer (input data)… in HASH_DMAXferCplt()
1970 __HAL_HASH_SET_NBVALIDBITS(hhash->Init.KeySize); /* Set NBLW for the key */ in HASH_IT()
1971 hhash->HashInCount = hhash->Init.KeySize; /* Set the key size (in bytes) */ in HASH_IT()
2104 __HAL_HASH_SET_NBVALIDBITS(hhash->Init.KeySize); in HMAC_Processing()
2180 hhash->HashKeyCount = hhash->Init.KeySize; in HMAC_Processing()
2193 __HAL_HASH_SET_NBVALIDBITS(hhash->Init.KeySize); in HMAC_Processing()
2744 …if ((pInBuffer == NULL) || (Size == 0U) || (hhash->Init.pKey == NULL) || (hhash->Init.KeySize == 0… in HMAC_Start()
2760 if(hhash->Init.KeySize > 64U) in HMAC_Start()
2778 …hhash->HashKeyCount = hhash->Init.KeySize; /* Key size, HMAC_Processing input parameter for … in HMAC_Start()
[all …]
Dstm32l4xx_hal_cryp.c268 assert_param(IS_CRYP_KEYSIZE(hcryp->Init.KeySize)); in HAL_CRYP_Init()
353 MODIFY_REG(hcryp->Instance->CR, AES_CR_KEYSIZE, hcryp->Init.KeySize); in HAL_CRYP_Init()
1549 if (hcryp->Init.KeySize == CRYP_KEYSIZE_256B) in CRYP_SetKey()
1645 if (hcryp->Init.KeySize == CRYP_KEYSIZE_256B) in CRYP_AES_IT()
Dstm32l4xx_hal_cryp_ex.c2011 void HAL_CRYPEx_Read_KeyRegisters(CRYP_HandleTypeDef *hcryp, uint8_t* Output, uint32_t KeySize) in HAL_CRYPEx_Read_KeyRegisters() argument
2015 if (KeySize == CRYP_KEYSIZE_256B) in HAL_CRYPEx_Read_KeyRegisters()
2046 void HAL_CRYPEx_Write_KeyRegisters(CRYP_HandleTypeDef *hcryp, uint8_t* Input, uint32_t KeySize) in HAL_CRYPEx_Write_KeyRegisters() argument
2050 if (KeySize == CRYP_KEYSIZE_256B) in HAL_CRYPEx_Write_KeyRegisters()
2890 if (hcryp->Init.KeySize == CRYP_KEYSIZE_256B) in CRYP_ReadKey()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_cryp_ex.h103 void HAL_CRYPEx_Read_KeyRegisters(CRYP_HandleTypeDef *hcryp, uint8_t* Output, uint32_t KeySize);
104 void HAL_CRYPEx_Write_KeyRegisters(CRYP_HandleTypeDef *hcryp, uint8_t* Input, uint32_t KeySize);
Dstm32l4xx_hal_hash.h68 uint32_t KeySize; /*!< The key size is used only in HMAC operation. */ member
Dstm32l4xx_hal_cryp.h70 uint32_t KeySize; /*!< 128 or 256-bit key length. member