Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DappSec.c225 struct AppSecEncrHdr *encrHdr = NULL; in appSecProcessIncomingHdr() local
242 needBytes += sizeof(*encrHdr); in appSecProcessIncomingHdr()
268 encrHdr = (struct AppSecEncrHdr *)hdr; hdr += sizeof(*encrHdr); in appSecProcessIncomingHdr()
271 __func__, encrHdr->dataLen, encrHdr->keyID); in appSecProcessIncomingHdr()
273 if (!encrHdr->dataLen || !encrHdr->keyID) in appSecProcessIncomingHdr()
275 ret = state->aesKeyAccessCbk(encrHdr->keyID, k); in appSecProcessIncomingHdr()
281 BL.blAesCbcInitForDecr(&state->cbc, k, encrHdr->IV); in appSecProcessIncomingHdr()
283 state->encryptedBytesOut = encrHdr->dataLen; in appSecProcessIncomingHdr()
290 state->signedBytesIn = state->signedBytesOut = signHdr->appDataLen - sizeof(*encrHdr); in appSecProcessIncomingHdr()