Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/
Dosdp_sc.c63 memset(pd->sc.s_mac1, 0, 16); in osdp_compute_session_keys()
68 pd->sc.s_mac1[0] = 0x01; in osdp_compute_session_keys()
69 pd->sc.s_mac1[1] = 0x01; in osdp_compute_session_keys()
75 pd->sc.s_mac1[i] = pd->sc.cp_random[i - 2]; in osdp_compute_session_keys()
80 osdp_encrypt(scbk, NULL, pd->sc.s_mac1, 16); in osdp_compute_session_keys()
152 osdp_encrypt(pd->sc.s_mac1, NULL, pd->sc.r_mac, 16); in osdp_compute_rmac_i()
226 osdp_encrypt(pd->sc.s_mac1, iv, buf, pad_len - 16); in osdp_compute_mac()
Dosdp_common.h432 uint8_t s_mac1[16]; member