Home
last modified time | relevance | path

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

/hardware/nxp/secure_element/ls_client/src/
DLsClient.cpp316 Lsc_HashInfo_t lsHashInfo; in performLSDownload_thread() local
343 if (lsHashInfo.lsRawScriptBuf == nullptr) { in performLSDownload_thread()
344 lsHashInfo.lsRawScriptBuf = (uint8_t*)phNxpEse_memalloc(lsBufSize + 1); in performLSDownload_thread()
346 memset(lsHashInfo.lsRawScriptBuf, 0x00, (lsBufSize + 1)); in performLSDownload_thread()
347 if (fread(lsHashInfo.lsRawScriptBuf, (size_t)lsBufSize, 1, fIn) != 1) in performLSDownload_thread()
353 lsHashInfo.lsScriptHash = in performLSDownload_thread()
354 getHASH(lsHashInfo.lsRawScriptBuf, (size_t)lsBufSize); in performLSDownload_thread()
355 phNxpEse_free(lsHashInfo.lsRawScriptBuf); in performLSDownload_thread()
356 lsHashInfo.lsRawScriptBuf = nullptr; in performLSDownload_thread()
357 if (lsHashInfo.lsScriptHash == nullptr) break; in performLSDownload_thread()
[all …]