Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
DnanohubCommand.c94 static struct DownloadState *mDownloadState; variable
165 if (osWriteShared((uint8_t*)(mDownloadState->start) + mDownloadState->dstOffset, data, len)) { in writeCbk()
167 mDownloadState->dstOffset += len; in writeCbk()
250 if (mDownloadState->appSecState) in freeDownloadState()
251 appSecDeinit(mDownloadState->appSecState); in freeDownloadState()
252 heapFree(mDownloadState); in freeDownloadState()
253 mDownloadState = NULL; in freeDownloadState()
261 if (mDownloadState->appSecState) in resetDownloadState()
262 appSecDeinit(mDownloadState->appSecState); in resetDownloadState()
263mDownloadState->appSecState = appSecInit(writeCbk, pubKeyFindCbk, osSecretKeyLookup, REQUIRE_SIGNE… in resetDownloadState()
[all …]