Home
last modified time | relevance | path

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

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