Home
last modified time | relevance | path

Searched refs:npblb (Results 1 – 12 of 12) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_cryp.c2612 uint32_t npblb; in CRYP_DMAOutCplt() local
2633 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_DMAOutCplt()
2640 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_DMAOutCplt()
2644 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
2646 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
2650 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
3066 uint32_t npblb; in CRYP_AESGCM_Process() local
3194 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_AESGCM_Process()
3200 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_AESGCM_Process()
3203 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_cryp.c2620 uint32_t npblb; in CRYP_DMAOutCplt() local
2641 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_DMAOutCplt()
2648 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_DMAOutCplt()
2652 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
2654 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
2658 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
3075 uint32_t npblb; in CRYP_AESGCM_Process() local
3203 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_AESGCM_Process()
3209 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_AESGCM_Process()
3212 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_cryp.c2612 uint32_t npblb; in CRYP_DMAOutCplt() local
2633 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_DMAOutCplt()
2640 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_DMAOutCplt()
2644 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
2646 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
2650 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
3066 uint32_t npblb; in CRYP_AESGCM_Process() local
3194 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_AESGCM_Process()
3200 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_AESGCM_Process()
3203 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_cryp.c2612 uint32_t npblb; in CRYP_DMAOutCplt() local
2633 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_DMAOutCplt()
2640 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_DMAOutCplt()
2644 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
2646 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
2650 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
3066 uint32_t npblb; in CRYP_AESGCM_Process() local
3194 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_AESGCM_Process()
3200 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_AESGCM_Process()
3203 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_cryp.c2782 uint32_t npblb; in CRYP_DMAOutCplt() local
2803 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_DMAOutCplt()
2810 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_DMAOutCplt()
2814 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
2816 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
2820 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
3236 uint32_t npblb; in CRYP_AESGCM_Process() local
3364 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_AESGCM_Process()
3370 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_AESGCM_Process()
3373 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_cryp.c3063 uint32_t npblb; in CRYP_DMAOutCplt() local
3086 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_DMAOutCplt()
3093 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_DMAOutCplt()
3097 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
3099 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
3103 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
3606 uint32_t npblb; in CRYP_AESGCM_Process() local
3728 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_AESGCM_Process()
3734 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_AESGCM_Process()
3737 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_cryp.c2465 uint32_t npblb; in CRYP_DMAOutCplt() local
2483 npblb = ((((uint32_t)(hcryp->Size) / 16U) + 1U) * 16U) - (uint32_t)(hcryp->Size); in CRYP_DMAOutCplt()
2498 MODIFY_REG(hcryp->Instance->CR, CRYP_CR_NPBLB, npblb << 20); in CRYP_DMAOutCplt()
2506 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
2508 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
2512 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
2902 uint32_t npblb ; in CRYP_AESGCM_Process() local
3055 npblb = ((((uint32_t)(hcryp->Size) / 16U) + 1U) * 16U) - (uint32_t)(hcryp->Size); in CRYP_AESGCM_Process()
3064 MODIFY_REG(hcryp->Instance->CR, CRYP_CR_NPBLB, npblb << 20); in CRYP_AESGCM_Process()
3070 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_cryp.c3096 uint32_t npblb; in CRYP_DMAOutCplt() local
3119 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_DMAOutCplt()
3126 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_DMAOutCplt()
3130 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
3132 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
3136 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
3639 uint32_t npblb; in CRYP_AESGCM_Process() local
3797 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_AESGCM_Process()
3803 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_AESGCM_Process()
3806 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_cryp.c3268 uint32_t npblb; in CRYP_DMAOutCplt() local
3291 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_DMAOutCplt()
3298 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_DMAOutCplt()
3302 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
3304 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
3308 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
3811 uint32_t npblb; in CRYP_AESGCM_Process() local
3973 npblb = ((((uint32_t)hcryp->Size / 16U) + 1U) * 16U) - ((uint32_t)hcryp->Size); in CRYP_AESGCM_Process()
3979 MODIFY_REG(hcryp->Instance->CR, AES_CR_NPBLB, npblb << 20U); in CRYP_AESGCM_Process()
3982 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_cryp.c2486 uint32_t npblb; in CRYP_DMAOutCplt() local
2504 npblb = ((((uint32_t)(hcryp->Size) / 16U) + 1U) * 16U) - (uint32_t)(hcryp->Size); in CRYP_DMAOutCplt()
2514 MODIFY_REG(hcryp->Instance->CR, CRYP_CR_NPBLB, npblb << 20); in CRYP_DMAOutCplt()
2521 if ((npblb % 4U) == 0U) in CRYP_DMAOutCplt()
2523 lastwordsize = (16U - npblb) / 4U; in CRYP_DMAOutCplt()
2527 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_DMAOutCplt()
2656 uint32_t npblb; in CRYP_MDMAOutCplt() local
2673 npblb = ((((uint32_t)(hcryp->Size) / 16U) + 1U) * 16U) - (uint32_t)(hcryp->Size); in CRYP_MDMAOutCplt()
2684 MODIFY_REG(hcryp->Instance->CR, CRYP_CR_NPBLB, npblb << 20); in CRYP_MDMAOutCplt()
2691 if ((npblb % 4U) == 0U) in CRYP_MDMAOutCplt()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_cryp.c3879 uint32_t npblb; in CRYP_AESGCM_Process_IT() local
4067 npblb = 16U - (uint32_t)(hcryp->Size); in CRYP_AESGCM_Process_IT()
4070 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process_IT()
4072 lastwordsize = (16U - npblb) / 4U; in CRYP_AESGCM_Process_IT()
4076 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_AESGCM_Process_IT()
4338 uint32_t npblb; in CRYP_AESCCM_Process() local
4630 npblb = ((((uint32_t)(hcryp->Size) / 16U) + 1U) * 16U) - (uint32_t)(hcryp->Size); in CRYP_AESCCM_Process()
4633 if ((npblb % 4U) == 0U) in CRYP_AESCCM_Process()
4635 lastwordsize = (16U - npblb) / 4U; in CRYP_AESCCM_Process()
4639 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_AESCCM_Process()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_cryp.c3873 uint32_t npblb; in CRYP_AESGCM_Process_IT() local
4061 npblb = 16U - (uint32_t)(hcryp->Size); in CRYP_AESGCM_Process_IT()
4064 if ((npblb % 4U) == 0U) in CRYP_AESGCM_Process_IT()
4066 lastwordsize = (16U - npblb) / 4U; in CRYP_AESGCM_Process_IT()
4070 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_AESGCM_Process_IT()
4332 uint32_t npblb; in CRYP_AESCCM_Process() local
4624 npblb = ((((uint32_t)(hcryp->Size) / 16U) + 1U) * 16U) - (uint32_t)(hcryp->Size); in CRYP_AESCCM_Process()
4627 if ((npblb % 4U) == 0U) in CRYP_AESCCM_Process()
4629 lastwordsize = (16U - npblb) / 4U; in CRYP_AESCCM_Process()
4633 lastwordsize = ((16U - npblb) / 4U) + 1U; in CRYP_AESCCM_Process()
[all …]