Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DnanohubCommand.c90 static struct DownloadState *mDownloadState; variable
173 if (osWriteShared((uint8_t*)(mDownloadState->start) + mDownloadState->dstOffset, data, len)) { in writeCbk()
175 mDownloadState->dstOffset += len; in writeCbk()
258 if (mDownloadState->appSecState) in freeDownloadState()
259 appSecDeinit(mDownloadState->appSecState); in freeDownloadState()
260 heapFree(mDownloadState); in freeDownloadState()
261 mDownloadState = NULL; in freeDownloadState()
269 if (mDownloadState->appSecState) in resetDownloadState()
270 appSecDeinit(mDownloadState->appSecState); in resetDownloadState()
271mDownloadState->appSecState = appSecInit(writeCbk, pubKeyFindCbk, osSecretKeyLookup, REQUIRE_SIGNE… in resetDownloadState()
[all …]