Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DappSec.c80 uint8_t dataBytes[0]; //we actually use these two for access member
182 BL.blSha2processBytes(&state->sha, state->dataBytes, state->haveBytes); in appSecBlockRx()
210 BL.blSha2processBytes(&state->cbcSha, state->dataBytes, state->haveBytes); in appSecBlockRx()
226 uint8_t *hdr = state->dataBytes; in appSecProcessIncomingHdr()
262 BL.blSha2processBytes(&state->sha, state->dataBytes, needBytes); in appSecProcessIncomingHdr()
348 memcpy(state->dataBytes, &common, sizeof(common)); in appSecProcessIncomingHdr()
375 … return state->haveBytes ? state->writeCbk(state->dataBytes, state->haveBytes) : APP_SEC_NO_ERROR; in appSecProcessIncomingData()
405 BL.blSha2processBytes(&state->sha, state->dataBytes, APP_SIG_SIZE); in appSecDoSomeProcessing()
437 bool verified = memcmp(hash, state->dataBytes, SHA2_BLOCK_SIZE) == 0; in appSecVerifyEncryptedData()
457 state->dataBytes[state->haveBytes++] = *data++; in appSecRxData()