HomeSort by relevance Sort by last modified time
    Searched refs:AppSecErr (Results 1 - 3 of 3) sorted by null

  /device/google/contexthub/firmware/os/inc/
appSec.h 25 typedef uint32_t AppSecErr;
28 typedef AppSecErr (*AppSecWriteCbk)(const void *data, uint32_t len);
29 typedef AppSecErr (*AppSecPubKeyFindCbk)(const uint32_t *gotKey, bool *foundP); // fill in *foundP on result of lookup
30 typedef AppSecErr (*AppSecGetAesKeyCbk)(uint64_t keyIdx, void *keyBuf); // return APP_SEC_KEY_NOT_FOUND or APP_SEC_NO_ERROR
52 AppSecErr appSecRxData(struct AppSecState *state, const void *data, uint32_t len, uint32_t *lenUnusedP);
53 AppSecErr appSecDoSomeProcessing(struct AppSecState *state); //caleed when any appSec function returns APP_SEC_NEED_MORE_TIME
54 AppSecErr appSecRxDataOver(struct AppSecState *state); //caleed when there is no more data
  /device/google/contexthub/firmware/os/core/
appSec.c 166 static AppSecErr appSecBlockRx(struct AppSecState *state)
218 static AppSecErr appSecProcessIncomingHdr(struct AppSecState *state, uint32_t *needBytesOut)
227 AppSecErr ret;
345 static AppSecErr appSecProcessIncomingData(struct AppSecState *state)
366 AppSecErr appSecDoSomeProcessing(struct AppSecState *state)
400 static AppSecErr appSecProcessIncomingSigData(struct AppSecState *state)
422 static AppSecErr appSecVerifyEncryptedData(struct AppSecState *state)
434 AppSecErr appSecRxData(struct AppSecState *state, const void *dataP, uint32_t len, uint32_t *lenUnusedP)
437 AppSecErr ret = APP_SEC_NO_ERROR;
516 AppSecErr appSecRxDataOver(struct AppSecState *state
    [all...]
nanohubCommand.c 91 static AppSecErr mAppSecStatus;
169 static AppSecErr writeCbk(const void *data, uint32_t len)
171 AppSecErr ret = APP_SEC_BAD;
181 static AppSecErr pubKeyFindCbk(const uint32_t *gotKey, bool *foundP)
198 static AppSecErr osSecretKeyLookup(uint64_t keyId, void *keyBuf)
219 static AppSecErr osSecretKeyDelete(uint64_t keyId)
242 static AppSecErr osSecretKeyAdd(uint64_t keyId, void *keyBuf)
342 static AppSecErr updateKey(const struct AppHdr *app)
344 AppSecErr ret;
365 static uint32_t appSecErrToNanohubReply(AppSecErr status
    [all...]

Completed in 1364 milliseconds