Searched refs:cp_random (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/ |
D | osdp_sc.c | 74 pd->sc.s_enc[i] = pd->sc.cp_random[i - 2]; in osdp_compute_session_keys() 75 pd->sc.s_mac1[i] = pd->sc.cp_random[i - 2]; in osdp_compute_session_keys() 76 pd->sc.s_mac2[i] = pd->sc.cp_random[i - 2]; in osdp_compute_session_keys() 88 memcpy(pd->sc.cp_cryptogram + 8, pd->sc.cp_random, 8); in osdp_compute_cp_cryptogram() 116 memcpy(cp_crypto + 8, pd->sc.cp_random, 8); in osdp_verify_cp_cryptogram() 128 memcpy(pd->sc.pd_cryptogram + 0, pd->sc.cp_random, 8); in osdp_compute_pd_cryptogram() 138 memcpy(pd_crypto + 0, pd->sc.cp_random, 8); in osdp_verify_pd_cryptogram() 261 osdp_fill_random(pd->sc.cp_random, 8); in osdp_sc_setup()
|
D | osdp_common.h | 436 uint8_t cp_random[8]; member
|
D | osdp_pd.c | 514 memcpy(pd->sc.cp_random, buf + pos, 8); in pd_decode_command()
|
D | osdp_cp.c | 305 memcpy(buf + len, pd->sc.cp_random, 8); in cp_build_command()
|