Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DappSec.c89 uint16_t haveBytes; //in dataBytes... member
128 state->haveBytes); in appSecSetCurState()
172 if (state->haveBytes > state->signedBytesIn) in appSecBlockRx()
174 state->signedBytesIn -= state->haveBytes; in appSecBlockRx()
177 if (state->signedBytesOut < state->haveBytes) in appSecBlockRx()
178 state->haveBytes = state->signedBytesOut; in appSecBlockRx()
179 state->signedBytesOut -= state->haveBytes; in appSecBlockRx()
182 BL.blSha2processBytes(&state->sha, state->dataBytes, state->haveBytes); in appSecBlockRx()
189 uint32_t i, numBlocks = state->haveBytes / APP_DATA_CHUNK_SIZE; in appSecBlockRx()
192 if (state->haveBytes % APP_DATA_CHUNK_SIZE) in appSecBlockRx()
[all …]