Searched refs:keyset (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/subsys/mgmt/osdp/src/ |
D | osdp_cp.c | 245 if (cmd->keyset.length != 16) { in cp_build_command() 252 if (cmd->keyset.type == 1) { /* SCBK */ in cp_build_command() 253 memcpy(buf + len, cmd->keyset.data, 16); in cp_build_command() 254 } else if (cmd->keyset.type == 0) { /* master_key */ in cp_build_command() 255 osdp_compute_scbk(pd, cmd->keyset.data, buf + len); in cp_build_command() 257 LOG_ERR("Unknown key type (%d)", cmd->keyset.type); in cp_build_command() 773 memcpy(&c->keyset, pd->ephemeral_data, sizeof(c->keyset)); in cp_cmd_dispatcher() 787 struct osdp_cmd_keyset *keyset; in state_update() local 922 keyset = (struct osdp_cmd_keyset *)pd->ephemeral_data; in state_update() 924 memcpy(keyset->data, pd->sc.scbk, 16); in state_update() [all …]
|
D | osdp_pd.c | 488 cmd.keyset.type = buf[pos++]; in pd_decode_command() 489 cmd.keyset.length = buf[pos++]; in pd_decode_command() 490 memcpy(cmd.keyset.data, buf + pos, 16); in pd_decode_command() 497 memcpy(pd->sc.scbk, cmd.keyset.data, 16); in pd_decode_command()
|
/Zephyr-Core-3.5.0/include/zephyr/mgmt/ |
D | osdp.h | 200 struct osdp_cmd_keyset keyset; member
|