Home
last modified time | relevance | path

Searched refs:firstBlockRemSize (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_ccm_internal.c174 uint32_t firstBlockRemSize = 0; in ccm_ass_data() local
219 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()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_ccm.c263 uint32_t firstBlockRemSize = 0; in ccm_ass_data() local
302 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()