Searched refs:firstBlockRemSize (Results 1 – 2 of 2) sorted by relevance
174 uint32_t firstBlockRemSize = 0; in ccm_ass_data() local219 firstBlockRemSize = CC_AES_BLOCK_SIZE_IN_BYTES - Asize; in ccm_ass_data()221 if (assocDataSize < firstBlockRemSize) in ccm_ass_data()223 firstBlockRemSize = assocDataSize; in ccm_ass_data()226 CC_PalMemCopy(pAesCcmCtx->tempBuff + Asize, pAssocData, firstBlockRemSize); in ccm_ass_data()228 assocDataSize -= firstBlockRemSize; in ccm_ass_data()229 pAssocData += firstBlockRemSize; in ccm_ass_data()
263 uint32_t firstBlockRemSize = 0; in ccm_ass_data() local302 firstBlockRemSize = CC_AES_BLOCK_SIZE_IN_BYTES - Asize; in ccm_ass_data()304 if (assocDataSize < firstBlockRemSize) { in ccm_ass_data()305 firstBlockRemSize = assocDataSize; in ccm_ass_data()308 CC_PalMemCopy(context->tempBuff + Asize, pAssocData, firstBlockRemSize); in ccm_ass_data()310 assocDataSize -= firstBlockRemSize; in ccm_ass_data()311 pAssocData += firstBlockRemSize; in ccm_ass_data()