Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_cryp.c2520 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2540 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2544 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2547 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2550 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2551 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2557 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2570 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3294 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3314 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_cryp.c2522 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2542 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2546 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2549 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2552 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2553 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2559 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2572 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3296 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3316 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_cryp.c2520 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2540 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2544 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2547 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2550 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2551 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2557 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2570 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3294 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3314 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_cryp.c2520 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2540 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2544 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2547 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2550 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2551 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2557 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2570 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3294 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3314 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_cryp.c2520 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2540 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2544 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2547 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2550 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2551 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2557 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2570 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3294 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3314 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_cryp.c2674 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
2693 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
2697 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
2700 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
2703 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
2704 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
2710 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
2723 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3442 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3461 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_cryp.c3036 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
3058 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
3062 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
3065 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
3068 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
3069 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
3075 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
3088 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3909 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3928 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_cryp.c3065 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
3087 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
3091 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
3094 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
3097 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
3098 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
3104 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
3117 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
3974 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
3993 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_cryp.c3158 uint32_t headersize_in_bytes; in CRYP_DMAInCplt() local
3180 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_DMAInCplt()
3184 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_DMAInCplt()
3187 if ((headersize_in_bytes % 16U) != 0U) in CRYP_DMAInCplt()
3190 hcryp->CrypHeaderCount = (uint16_t)((headersize_in_bytes / 16U) * 4U); in CRYP_DMAInCplt()
3191 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++) in CRYP_DMAInCplt()
3197 if ((headersize_in_bytes % 4U) == 0U) in CRYP_DMAInCplt()
3210 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_DMAInCplt()
4048 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
4067 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_cryp.c4518 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
4540 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
4544 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_AESGCM_Process_IT()
4709 if (headersize_in_bytes == 0U) /*header phase is skipped*/ in CRYP_AESGCM_Process_IT()
4808 else if (headersize_in_bytes <= 16U) in CRYP_AESGCM_Process_IT()
4811 for (loopcounter = 0U; (loopcounter < (headersize_in_bytes / 4U)); loopcounter++) in CRYP_AESGCM_Process_IT()
4817 if ((headersize_in_bytes % 4U) == 0U) in CRYP_AESGCM_Process_IT()
4831 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
5753 uint32_t headersize_in_bytes; in CRYP_AESCCM_Process_IT() local
5922 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESCCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_cryp.c4502 uint32_t headersize_in_bytes; in CRYP_AESGCM_Process_IT() local
4524 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESGCM_Process_IT()
4528 headersize_in_bytes = hcryp->Init.HeaderSize; in CRYP_AESGCM_Process_IT()
4696 if (headersize_in_bytes == 0U) /*header phase is skipped*/ in CRYP_AESGCM_Process_IT()
4789 else if (headersize_in_bytes <= 16U) in CRYP_AESGCM_Process_IT()
4792 for (loopcounter = 0U; (loopcounter < (headersize_in_bytes / 4U)); loopcounter++) in CRYP_AESGCM_Process_IT()
4798 if ((headersize_in_bytes % 4U) == 0U) in CRYP_AESGCM_Process_IT()
4812 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)]; in CRYP_AESGCM_Process_IT()
5734 uint32_t headersize_in_bytes; in CRYP_AESCCM_Process_IT() local
5903 headersize_in_bytes = hcryp->Init.HeaderSize * 4U; in CRYP_AESCCM_Process_IT()
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_cryp.c5923 uint32_t headersize_in_bytes;
5932 headersize_in_bytes = hcryp->Init.HeaderSize * 4U;
5936 headersize_in_bytes = hcryp->Init.HeaderSize;
5939 if (headersize_in_bytes != 0U)
5950 if ((headersize_in_bytes % 16U) == 0U)
5953 for (loopcounter = 0U; (loopcounter < (headersize_in_bytes / 4U)); loopcounter += 4U)
5989 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 16U) * 4U)); loopcounter += 4U)
6022 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++)
6028 if ((headersize_in_bytes % 4U) == 0U)
6041 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)];
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_cryp.c5929 uint32_t headersize_in_bytes;
5938 headersize_in_bytes = hcryp->Init.HeaderSize * 4U;
5942 headersize_in_bytes = hcryp->Init.HeaderSize;
5945 if (headersize_in_bytes != 0U)
5956 if ((headersize_in_bytes % 16U) == 0U)
5959 for (loopcounter = 0U; (loopcounter < (headersize_in_bytes / 4U)); loopcounter += 4U)
5995 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 16U) * 4U)); loopcounter += 4U)
6028 for (loopcounter = 0U; (loopcounter < ((headersize_in_bytes / 4U) % 4U)); loopcounter++)
6034 if ((headersize_in_bytes % 4U) == 0U)
6047 tmp &= mask[(hcryp->Init.DataType * 2U) + (headersize_in_bytes % 4U)];
[all …]