Home
last modified time | relevance | path

Searched refs:headerlength (Results 1 – 16 of 16) sorted by relevance

/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_cryp_ex.c436 uint64_t headerlength ; in HAL_CRYPEx_AES_Auth() local
606 headerlength = (((hcryp->Init.HeaderSize)/16U)*16U) ; in HAL_CRYPEx_AES_Auth()
609 difflength = (uint32_t) (hcryp->Init.HeaderSize - headerlength); in HAL_CRYPEx_AES_Auth()
611 for(index=0U ; index < headerlength; index += 16U) in HAL_CRYPEx_AES_Auth()
636 if ((hcryp->SuspendRequest == HAL_CRYP_SUSPEND) && (index_temp < headerlength)) in HAL_CRYPEx_AES_Auth()
805 headerlength = hcryp->Init.HeaderSize * 8U; /* Header length in bits */ in HAL_CRYPEx_AES_Auth()
811 hcryp->Instance->DINR = __RBIT((uint32_t)(headerlength>>32)); in HAL_CRYPEx_AES_Auth()
812 hcryp->Instance->DINR = __RBIT((uint32_t)headerlength); in HAL_CRYPEx_AES_Auth()
818 hcryp->Instance->DINR = __REV((uint32_t)(headerlength>>32)); in HAL_CRYPEx_AES_Auth()
819 hcryp->Instance->DINR = __REV((uint32_t)headerlength); in HAL_CRYPEx_AES_Auth()
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_cryp_ex.c132 uint64_t headerlength = (uint64_t)(hcryp->Init.HeaderSize) * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
139 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
191 hcryp->Instance->DIN = __RBIT((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
198 hcryp->Instance->DIN = __REV((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
205 hcryp->Instance->DIN = __ROR((uint32_t)headerlength, 16U); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
212 hcryp->Instance->DIN = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
263 hcryp->Instance->DINR = __RBIT((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
270 hcryp->Instance->DINR = __REV((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
277 hcryp->Instance->DINR = __ROR((uint32_t)headerlength, 16U); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
284 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_cryp_ex.c132 uint64_t headerlength = (uint64_t)(hcryp->Init.HeaderSize) * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
139 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
191 hcryp->Instance->DIN = __RBIT((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
198 hcryp->Instance->DIN = __REV((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
205 hcryp->Instance->DIN = __ROR((uint32_t)headerlength, 16U); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
212 hcryp->Instance->DIN = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
263 hcryp->Instance->DINR = __RBIT((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
270 hcryp->Instance->DINR = __REV((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
277 hcryp->Instance->DINR = __ROR((uint32_t)headerlength, 16U); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
284 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_cryp_ex.c114 uint64_t headerlength = (uint64_t)(hcryp->Init.HeaderSize) * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
121 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
174 hcryp->Instance->DIN = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
184 hcryp->Instance->DIN = __RBIT((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
191 hcryp->Instance->DIN = __REV((uint32_t)(headerlength)); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
198 hcryp->Instance->DIN = __ROR((uint32_t)headerlength, 16U); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
205 hcryp->Instance->DIN = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_cryp_ex.c122 uint64_t headerlength; in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
130 headerlength = (uint64_t)(hcryp->Init.HeaderSize) * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
134 headerlength = (uint64_t)(hcryp->Init.HeaderSize) * 8U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
185 ((CRYP_TypeDef *)(hcryp->Instance))->DIN = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
228 ((SAES_TypeDef *)(hcryp->Instance))->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_cryp_ex.c122 uint64_t headerlength; in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
130 headerlength = (uint64_t)(hcryp->Init.HeaderSize) * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
134 headerlength = (uint64_t)(hcryp->Init.HeaderSize) * 8U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
185 ((CRYP_TypeDef *)(hcryp->Instance))->DIN = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
228 ((SAES_TypeDef *)(hcryp->Instance))->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_cryp_ex.c102 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
109 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
153 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_cryp_ex.c102 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
109 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
153 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_cryp_ex.c102 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
109 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
153 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_cryp_ex.c102 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
109 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
153 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_cryp_ex.c102 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
109 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
153 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_cryp_ex.c102 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
109 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
153 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_cryp_ex.c107 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
116 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
145 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_cryp_ex.c109 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
118 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
140 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_cryp_ex.c108 uint64_t headerlength = (uint64_t)hcryp->Init.HeaderSize * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
117 headerlength /= 4U; in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
146 hcryp->Instance->DINR = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_cryp_ex.c112 uint64_t headerlength = (uint64_t)(hcryp->Init.HeaderSize) * 32U; /* Header length in bits */ in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
161 hcryp->Instance->DIN = (uint32_t)(headerlength); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()