Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DnanohubCommand.c98 static struct DownloadState *mDownloadState; variable
182 if (osWriteShared((uint8_t*)(mDownloadState->start) + mDownloadState->dstOffset, data, len)) { in writeCbk()
184 mDownloadState->dstOffset += len; in writeCbk()
267 if (mDownloadState->appSecState) in freeDownloadState()
268 appSecDeinit(mDownloadState->appSecState); in freeDownloadState()
269 heapFree(mDownloadState); in freeDownloadState()
270 mDownloadState = NULL; in freeDownloadState()
278 if (mDownloadState->appSecState) in resetDownloadState()
279 appSecDeinit(mDownloadState->appSecState); in resetDownloadState()
280mDownloadState->appSecState = appSecInit(writeCbk, pubKeyFindCbk, osSecretKeyLookup, REQUIRE_SIGNE… in resetDownloadState()
[all …]