Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DappSec.c223 uint32_t needBytes; in appSecProcessIncomingHdr() local
238 needBytes = sizeof(*image); in appSecProcessIncomingHdr()
240 needBytes += sizeof(*signHdr); in appSecProcessIncomingHdr()
242 needBytes += sizeof(*encrHdr); in appSecProcessIncomingHdr()
244 *needBytesOut = needBytes; in appSecProcessIncomingHdr()
246 if (needBytes > state->haveBytes) in appSecProcessIncomingHdr()
262 BL.blSha2processBytes(&state->sha, state->dataBytes, needBytes); in appSecProcessIncomingHdr()
450 uint32_t needBytes; in appSecRxData() local
463 needBytes = 0; in appSecRxData()
464 ret = appSecProcessIncomingHdr(state, &needBytes); in appSecRxData()
[all …]