Lines Matching refs:index
2910 uint32_t index ; in CRYP_AESGCM_Process() local
3088 for (index = 0U; index < lastwordsize; index ++) in CRYP_AESGCM_Process()
3095 while (index < 4U) in CRYP_AESGCM_Process()
3098 index++; in CRYP_AESGCM_Process()
3125 for (index = 0U; index < 4U; index++) in CRYP_AESGCM_Process()
3129 temp[index] = hcryp->Instance->DOUT; in CRYP_AESGCM_Process()
3132 for (index = 0U; index < lastwordsize; index++) in CRYP_AESGCM_Process()
3136 if (index == (lastwordsize - 1U)) in CRYP_AESGCM_Process()
3143 *(pval) = (uint8_t)(temp[index]); in CRYP_AESGCM_Process()
3145 *(pval) = (uint8_t)(temp[index] >> 8U); in CRYP_AESGCM_Process()
3147 *(pval) = (uint8_t)(temp[index] >> 16U); in CRYP_AESGCM_Process()
3150 *(pval) = (uint8_t)(temp[index]); in CRYP_AESGCM_Process()
3152 *(pval) = (uint8_t)(temp[index] >> 8U); in CRYP_AESGCM_Process()
3155 *(pval) = (uint8_t)(temp[index]); in CRYP_AESGCM_Process()
3158 *(pval) = (uint8_t)(temp[index]); in CRYP_AESGCM_Process()
3160 *(pval) = (uint8_t)(temp[index] >> 8U); in CRYP_AESGCM_Process()
3162 *(pval) = (uint8_t)(temp[index] >> 16U); in CRYP_AESGCM_Process()
3164 *(pval) = (uint8_t)(temp[index] >> 24U); in CRYP_AESGCM_Process()
3170 *(uint32_t *)(hcryp->pCrypOutBuffPtr + (hcryp->CrypOutCount)) = temp[index]; in CRYP_AESGCM_Process()
3294 uint32_t index; in CRYP_AESGCM_Process_DMA() local
3444 for (index = 0; index < lastwordsize; index ++) in CRYP_AESGCM_Process_DMA()
3451 while (index < 4U) in CRYP_AESGCM_Process_DMA()
3454 index++; in CRYP_AESGCM_Process_DMA()
3485 for (index = 0U; index < 4U; index++) in CRYP_AESGCM_Process_DMA()
3489 temp[index] = hcryp->Instance->DOUT; in CRYP_AESGCM_Process_DMA()
3491 for (index = 0; index < lastwordsize; index++) in CRYP_AESGCM_Process_DMA()
3493 *(uint32_t *)(hcryp->pCrypOutBuffPtr + hcryp->CrypOutCount) = temp[index]; in CRYP_AESGCM_Process_DMA()
3523 uint32_t index ; in CRYP_AESCCM_Process() local
3747 for (index = 0U; index < lastwordsize; index ++) in CRYP_AESCCM_Process()
3754 while (index < 4U) in CRYP_AESCCM_Process()
3757 index++; in CRYP_AESCCM_Process()
3784 for (index = 0U; index < 4U; index++) in CRYP_AESCCM_Process()
3788 temp[index] = hcryp->Instance->DOUT; in CRYP_AESCCM_Process()
3790 for (index = 0; index < lastwordsize; index++) in CRYP_AESCCM_Process()
3792 *(uint32_t *)(hcryp->pCrypOutBuffPtr + hcryp->CrypOutCount) = temp[index]; in CRYP_AESCCM_Process()
3955 uint32_t index; in CRYP_AESCCM_Process_DMA() local
4145 for (index = 0U; index < lastwordsize; index ++) in CRYP_AESCCM_Process_DMA()
4152 while (index < 4U) in CRYP_AESCCM_Process_DMA()
4155 index++; in CRYP_AESCCM_Process_DMA()
4186 for (index = 0U; index < 4U; index++) in CRYP_AESCCM_Process_DMA()
4190 temp[index] = hcryp->Instance->DOUT; in CRYP_AESCCM_Process_DMA()
4192 for (index = 0; index < lastwordsize; index++) in CRYP_AESCCM_Process_DMA()
4194 *(uint32_t *)(hcryp->pCrypOutBuffPtr + hcryp->CrypOutCount) = temp[index]; in CRYP_AESCCM_Process_DMA()
4815 uint32_t index; in CRYP_Workaround() local
4850 for (index = 0; index < lastwordsize ; index ++) in CRYP_Workaround()
4856 while (index < 4U) in CRYP_Workaround()
4860 index++; in CRYP_Workaround()
4884 for (index = 0U; index < 4U; index++) in CRYP_Workaround()
4887 intermediate_data[index] = hcryp->Instance->DOUT; in CRYP_Workaround()
4890 *(uint32_t *)(hcryp->pCrypOutBuffPtr + (hcryp->CrypOutCount)) = intermediate_data[index]; in CRYP_Workaround()
4967 for (index = 0U; index < lastwordsize ; index ++) in CRYP_Workaround()
4970 hcryp->Instance->DIN = intermediate_data[index]; in CRYP_Workaround()
4972 while (index < 4U) in CRYP_Workaround()
4976 index++; in CRYP_Workaround()
5001 for (index = 0U; index < 4U; index++) in CRYP_Workaround()
5003 intermediate_data[index] = hcryp->Instance->DOUT; in CRYP_Workaround()
5035 for (index = 0U; index < lastwordsize; index ++) in CRYP_Workaround()
5041 while (index < 4U) in CRYP_Workaround()
5045 index++; in CRYP_Workaround()
5070 for (index = 0U; index < 4U; index++) in CRYP_Workaround()
5073 intermediate_data[index] = hcryp->Instance->DOUT; in CRYP_Workaround()
5076 *(uint32_t *)(hcryp->pCrypOutBuffPtr + (hcryp->CrypOutCount)) = intermediate_data[index]; in CRYP_Workaround()
5095 for (index = lastwordsize; index < 4U; index ++) in CRYP_Workaround()
5097 intermediate_data[index] = 0U; in CRYP_Workaround()
5113 for (index = 0U; index < 4U ; index ++) in CRYP_Workaround()
5115 intermediate_data[index] ^= temp[index]; in CRYP_Workaround()
5116 intermediate_data[index] ^= temp2[index]; in CRYP_Workaround()
5118 for (index = 0U; index < 4U; index ++) in CRYP_Workaround()
5121 hcryp->Instance->DIN = intermediate_data[index] ; in CRYP_Workaround()