Searched refs:scbk (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_sc.c | 35 void osdp_compute_scbk(struct osdp_pd *pd, uint8_t *master_key, uint8_t *scbk) in osdp_compute_scbk() argument 39 memcpy(scbk, pd->sc.pd_client_uid, 8); in osdp_compute_scbk() 41 scbk[i] = ~scbk[i - 8]; in osdp_compute_scbk() 43 osdp_encrypt(master_key, NULL, scbk, 16); in osdp_compute_scbk() 50 uint8_t scbk[16]; in osdp_compute_session_keys() local 53 memcpy(scbk, osdp_scbk_default, 16); in osdp_compute_session_keys() 56 osdp_compute_scbk(pd, ctx->sc_master_key, scbk); in osdp_compute_session_keys() 58 memcpy(scbk, pd->sc.scbk, 16); in osdp_compute_session_keys() 79 osdp_encrypt(scbk, NULL, pd->sc.s_enc, 16); in osdp_compute_session_keys() 80 osdp_encrypt(scbk, NULL, pd->sc.s_mac1, 16); in osdp_compute_session_keys() [all …]
|
D | osdp_common.h | 430 uint8_t scbk[16]; member 544 void osdp_compute_scbk(struct osdp_pd *pd, uint8_t *master_key, uint8_t *scbk);
|
D | osdp_pd.c | 497 memcpy(pd->sc.scbk, cmd.keyset.data, 16); in pd_decode_command() 1041 memcpy(pd->sc.scbk, key, 16); in osdp_setup()
|
D | osdp_cp.c | 967 memcpy(keyset->data, pd->sc.scbk, 16); in state_update() 1043 memcpy(pd->sc.scbk, c->keyset.data, 16); in cp_keyset_complete()
|