Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/
Dcc_dh.c114 uint16_t tmpSize; in CC_DhGeneratePubPrv() local
195 tmpSize = CC_MIN( PrimeSize*8, in CC_DhGeneratePubPrv()
200 if (PrimeSize - CALC_FULL_BYTES(tmpSize) > 0) { in CC_DhGeneratePubPrv()
201 Prime_ptr += PrimeSize - CALC_FULL_BYTES(tmpSize); in CC_DhGeneratePubPrv()
202 PrimeSize = CALC_FULL_BYTES(tmpSize); in CC_DhGeneratePubPrv()
222 tmpSize /*rndSizeInBits*/, in CC_DhGeneratePubPrv()
236 if (L > tmpSize) { in CC_DhGeneratePubPrv()
255 if (L == tmpSize) { in CC_DhGeneratePubPrv()
264 tmpSize /*rndSizeInBits*/, in CC_DhGeneratePubPrv()
327 tmpSize = (uint16_t)CC_CommonGetBytesCounterEffectiveSizeInBits( in CC_DhGeneratePubPrv()
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/kdf/
Dcc_kdf.c71 uint32_t tmpSize; in KdfHashUnalignUpdate() local
103 tmpSize = dataSize % blockSizeBytes; in KdfHashUnalignUpdate()
104 if (tmpSize > 0) { in KdfHashUnalignUpdate()
105 dataSize -= tmpSize; in KdfHashUnalignUpdate()
106 CC_PalMemCopy(tmp_ptr, data_ptr + dataSize, tmpSize); in KdfHashUnalignUpdate()
107 *remBuffSize_ptr += tmpSize; in KdfHashUnalignUpdate()