Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/kdf/
Dcc_kdf.c68 uint32_t blockSizeBytes) in KdfHashUnalignUpdate() argument
78 if (dataSize >= blockSizeBytes - *remBuffSize_ptr) { in KdfHashUnalignUpdate()
80 CC_PalMemCopy(tmp_ptr, data_ptr, blockSizeBytes - *remBuffSize_ptr); in KdfHashUnalignUpdate()
84 error = mbedtls_md_update(p_hash_ctx, buff_ptr, blockSizeBytes); in KdfHashUnalignUpdate()
86 error = CC_HashUpdate( hashContext_ptr, buff_ptr, blockSizeBytes); in KdfHashUnalignUpdate()
92 data_ptr += blockSizeBytes - *remBuffSize_ptr; in KdfHashUnalignUpdate()
93 dataSize -= blockSizeBytes - *remBuffSize_ptr; in KdfHashUnalignUpdate()
103 tmpSize = dataSize % blockSizeBytes; in KdfHashUnalignUpdate()