Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
DappSec.h24 struct AppSecState;
48 struct AppSecState *appSecInit(AppSecWriteCbk writeCbk, AppSecPubKeyFindCbk pubKeyFindCbk, AppSecGe…
49 void appSecDeinit (struct AppSecState *state);
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.c54 struct AppSecState { struct
99 static void limitChunkSize(struct AppSecState *state) in limitChunkSize() argument
107 static void appSecSetCurState(struct AppSecState *state, uint32_t curState) in appSecSetCurState()
135 static inline uint32_t appSecGetCurState(const struct AppSecState *state) in appSecGetCurState()
141 struct AppSecState *appSecInit(AppSecWriteCbk writeCbk, AppSecPubKeyFindCbk pubKeyFindCbk, AppSecGe… in appSecInit()
143 struct AppSecState *state = heapAlloc(sizeof(struct AppSecState)); in appSecInit()
148 memset(state, 0, sizeof(struct AppSecState)); in appSecInit()
160 void appSecDeinit(struct AppSecState *state) in appSecDeinit()
166 static AppSecErr appSecBlockRx(struct AppSecState *state) in appSecBlockRx()
218 static AppSecErr appSecProcessIncomingHdr(struct AppSecState *state, uint32_t *needBytesOut) in appSecProcessIncomingHdr()
[all …]
DnanohubCommand.c83 struct AppSecState *appSecState;