Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffcdh/
Dcc_ffcdh.c206 uint32_t curLen, /* [in] size of source buffer in bytes. */ in FfcDhWriteBufferBeToBe() argument
211 (*ppDst)[0] = (uint8_t)((curLen>>8) & 0xFF); (*ppDst)[1] = (uint8_t)(curLen & 0xFF); in FfcDhWriteBufferBeToBe()
213 CC_PalMemCopy(*ppDst, pSrc, curLen); in FfcDhWriteBufferBeToBe()
216 *ppDst += curLen; in FfcDhWriteBufferBeToBe()
218 *pFullLen += (curLen + CC_FFCDH_LENGTH_COUNTER_SIZE_IN_BYTES); in FfcDhWriteBufferBeToBe()
241 uint32_t curLen, /* [in] size of source in words. */ in FfcDhWriteBufferLeToBe() argument
246 curLen = curLen << 2; /* now size is in bytes*/ in FfcDhWriteBufferLeToBe()
248 (*ppDst)[0] = (uint8_t)((curLen>>8) & 0xFF); (*ppDst)[1] = (uint8_t)(curLen & 0xFF); in FfcDhWriteBufferLeToBe()
252 for (i = curLen - 1, j = 0; i >= 0; i--, j++) { in FfcDhWriteBufferLeToBe()
257 *ppDst += curLen; in FfcDhWriteBufferLeToBe()
[all …]