Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DnanohubCommand.c209 struct SeosEedataEncrKeyData kd; in osSecretKeyLookup() local
215 if (!eeDataGetAllVersions(EE_DATA_NAME_ENCR_KEY, &kd, &sz, &state)) in osSecretKeyLookup()
218 if (sz == sizeof(struct SeosEedataEncrKeyData) && kd.keyID == keyId) { in osSecretKeyLookup()
220 memcpy(keyBuf, kd.key, sizeof(kd.key)); in osSecretKeyLookup()
230 struct SeosEedataEncrKeyData kd; in osSecretKeyDelete() local
237 void *addr = eeDataGetAllVersions(EE_DATA_NAME_ENCR_KEY, &kd, &sz, &state); in osSecretKeyDelete()
242 if (sz == sizeof(kd) && kd.keyID == keyId) { in osSecretKeyDelete()
253 struct SeosEedataEncrKeyData kd; in osSecretKeyAdd() local
259 memcpy(&kd.key, keyBuf, 32); in osSecretKeyAdd()
260 kd.keyID = keyId; in osSecretKeyAdd()
[all …]