Searched refs:keyset (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/ |
D | osdp_cp.c | 276 if (cmd->keyset.length != 16) { in cp_build_command() 283 if (cmd->keyset.type == 1) { /* SCBK */ in cp_build_command() 284 memcpy(buf + len, cmd->keyset.data, 16); in cp_build_command() 285 } else if (cmd->keyset.type == 0) { /* master_key */ in cp_build_command() 286 osdp_compute_scbk(pd, cmd->keyset.data, buf + len); in cp_build_command() 288 LOG_ERR("Unknown key type (%d)", cmd->keyset.type); in cp_build_command() 816 memcpy(&c->keyset, pd->ephemeral_data, sizeof(c->keyset)); in cp_cmd_dispatcher() 830 struct osdp_cmd_keyset *keyset; in state_update() local 965 keyset = (struct osdp_cmd_keyset *)pd->ephemeral_data; in state_update() 967 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.7.0/include/zephyr/mgmt/ |
D | osdp.h | 270 struct osdp_cmd_keyset keyset; /**< Keyset command structure */ member
|