Home
last modified time | relevance | path

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

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rnd_dma/
Dcc_rnd_common.c175 uint32_t maxVectSizeBytes = 0; in CC_RndGenerateVectorInRange() local
246 AddInt8ValueToUin8Vector(maxVect_ptr, -2/*val*/, maxVectSizeBytes); in CC_RndGenerateVectorInRange()
248 maxVectSizeBytes = CALC_FULL_BYTES(maxVectSizeBits); in CC_RndGenerateVectorInRange()
251 extraBytes = rndSizeInBytes - maxVectSizeBytes; in CC_RndGenerateVectorInRange()
254 CC_PalMemSetZero(rndVect_ptr + maxVectSizeBytes, extraBytes); in CC_RndGenerateVectorInRange()
257 if ((uint32_t)maxVectSizeBytes > CC_AES_BLOCK_SIZE_IN_BYTES) { in CC_RndGenerateVectorInRange()
260 checkingSizeBytes = maxVectSizeBytes; in CC_RndGenerateVectorInRange()
273 … RndGenerateVectFunc((void *)rndState_ptr, (unsigned char *)rndVect_ptr, (size_t)maxVectSizeBytes); in CC_RndGenerateVectorInRange()
279 CC_CommonReverseMemcpy(rndVect_ptr, rndVect_ptr, maxVectSizeBytes); in CC_RndGenerateVectorInRange()
282 rndVect_ptr[maxVectSizeBytes - 1] &= mask; in CC_RndGenerateVectorInRange()
[all …]