Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
DappSec.h25 typedef uint32_t AppSecErr; typedef
28 typedef AppSecErr (*AppSecWriteCbk)(const void *data, uint32_t len);
29 typedef AppSecErr (*AppSecPubKeyFindCbk)(const uint32_t *gotKey, bool *foundP); // fill in *foundP …
30 typedef AppSecErr (*AppSecGetAesKeyCbk)(uint64_t keyIdx, void *keyBuf); // return APP_SEC_KEY_NOT_F…
52 AppSecErr appSecRxData(struct AppSecState *state, const void *data, uint32_t len, uint32_t *lenUnus…
53 AppSecErr appSecDoSomeProcessing(struct AppSecState *state); //caleed when any appSec function retu…
54 AppSecErr appSecRxDataOver(struct AppSecState *state); //caleed when there is no more data
/device/google/contexthub/firmware/os/core/
DappSec.c166 static AppSecErr appSecBlockRx(struct AppSecState *state) in appSecBlockRx()
218 static AppSecErr appSecProcessIncomingHdr(struct AppSecState *state, uint32_t *needBytesOut) in appSecProcessIncomingHdr()
227 AppSecErr ret; in appSecProcessIncomingHdr()
357 static AppSecErr appSecProcessIncomingData(struct AppSecState *state) in appSecProcessIncomingData()
378 AppSecErr appSecDoSomeProcessing(struct AppSecState *state) in appSecDoSomeProcessing()
412 static AppSecErr appSecProcessIncomingSigData(struct AppSecState *state) in appSecProcessIncomingSigData()
434 static AppSecErr appSecVerifyEncryptedData(struct AppSecState *state) in appSecVerifyEncryptedData()
446 AppSecErr appSecRxData(struct AppSecState *state, const void *dataP, uint32_t len, uint32_t *lenUnu… in appSecRxData()
449 AppSecErr ret = APP_SEC_NO_ERROR; in appSecRxData()
528 AppSecErr appSecRxDataOver(struct AppSecState *state) in appSecRxDataOver()
[all …]
DnanohubCommand.c99 static AppSecErr mAppSecStatus;
178 static AppSecErr writeCbk(const void *data, uint32_t len) in writeCbk()
180 AppSecErr ret = APP_SEC_BAD; in writeCbk()
190 static AppSecErr pubKeyFindCbk(const uint32_t *gotKey, bool *foundP) in pubKeyFindCbk()
207 static AppSecErr osSecretKeyLookup(uint64_t keyId, void *keyBuf) in osSecretKeyLookup()
228 static AppSecErr osSecretKeyDelete(uint64_t keyId) in osSecretKeyDelete()
251 static AppSecErr osSecretKeyAdd(uint64_t keyId, void *keyBuf) in osSecretKeyAdd()
354 static AppSecErr updateKey(const struct AppHdr *app) in updateKey()
356 AppSecErr ret; in updateKey()
377 static uint32_t appSecErrToNanohubReply(AppSecErr status) in appSecErrToNanohubReply()