Searched refs:AppSecErr (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/inc/ |
D | appSec.h | 25 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/src/ |
D | appSec.c | 167 static AppSecErr appSecBlockRx(struct AppSecState *state) in appSecBlockRx() 219 static AppSecErr appSecProcessIncomingHdr(struct AppSecState *state, uint32_t *needBytesOut) in appSecProcessIncomingHdr() 228 AppSecErr ret; in appSecProcessIncomingHdr() 346 static AppSecErr appSecProcessIncomingData(struct AppSecState *state) in appSecProcessIncomingData() 367 AppSecErr appSecDoSomeProcessing(struct AppSecState *state) in appSecDoSomeProcessing() 401 static AppSecErr appSecProcessIncomingSigData(struct AppSecState *state) in appSecProcessIncomingSigData() 423 static AppSecErr appSecVerifyEncryptedData(struct AppSecState *state) in appSecVerifyEncryptedData() 435 AppSecErr appSecRxData(struct AppSecState *state, const void *dataP, uint32_t len, uint32_t *lenUnu… in appSecRxData() 438 AppSecErr ret = APP_SEC_NO_ERROR; in appSecRxData() 517 AppSecErr appSecRxDataOver(struct AppSecState *state) in appSecRxDataOver() [all …]
|
D | nanohubCommand.c | 95 static AppSecErr mAppSecStatus; 161 static AppSecErr writeCbk(const void *data, uint32_t len) in writeCbk() 163 AppSecErr ret = APP_SEC_BAD; in writeCbk() 173 static AppSecErr pubKeyFindCbk(const uint32_t *gotKey, bool *foundP) in pubKeyFindCbk() 190 static AppSecErr osSecretKeyLookup(uint64_t keyId, void *keyBuf) in osSecretKeyLookup() 211 static AppSecErr osSecretKeyDelete(uint64_t keyId) in osSecretKeyDelete() 234 static AppSecErr osSecretKeyAdd(uint64_t keyId, void *keyBuf) in osSecretKeyAdd() 331 static AppSecErr updateKey(const struct AppHdr *app) in updateKey() 333 AppSecErr ret; in updateKey() 354 static uint32_t appSecErrToNanohubReply(AppSecErr status) in appSecErrToNanohubReply()
|