Home
last modified time | relevance | path

Searched refs:headersize_in_bytes (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/hal/Src/
Dstm32h5xx_hal_cryp.c2807 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2829 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2833 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2836 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2839 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2840 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2846 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2859 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3693 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3712 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_cryp.c2504 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2523 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2527 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2530 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2533 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2534 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2540 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2553 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3272 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3291 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_cryp.c2724 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2745 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2749 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2752 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2755 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2756 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2762 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2775 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3550 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3569 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]