Home
last modified time | relevance | path

Searched refs:r_mac (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/
Dosdp_sc.c138 memcpy(pd->sc.r_mac, pd->sc.cp_cryptogram, 16); in osdp_compute_rmac_i()
139 osdp_encrypt(pd->sc.s_mac1, NULL, pd->sc.r_mac, 16); in osdp_compute_rmac_i()
140 osdp_encrypt(pd->sc.s_mac2, NULL, pd->sc.r_mac, 16); in osdp_compute_rmac_i()
153 memcpy(iv, is_cmd ? pd->sc.r_mac : pd->sc.c_mac, 16); in osdp_decrypt_data()
181 memcpy(iv, is_cmd ? pd->sc.r_mac : pd->sc.c_mac, 16); in osdp_encrypt_data()
210 memcpy(iv, is_cmd ? pd->sc.r_mac : pd->sc.c_mac, 16); in osdp_compute_mac()
220 memcpy(is_cmd ? pd->sc.c_mac : pd->sc.r_mac, buf + pad_len - 16, 16); in osdp_compute_mac()
Dosdp_phy.c192 data = is_cmd ? pd->sc.c_mac : pd->sc.r_mac; in osdp_phy_packet_finalize()
368 mac = is_cmd ? pd->sc.c_mac : pd->sc.r_mac; in osdp_phy_decode_packet()
Dosdp_common.h406 uint8_t r_mac[16]; member
Dosdp_pd.c558 buf[len++] = pd->sc.r_mac[i]; in pd_build_reply()
Dosdp_cp.c479 pd->sc.r_mac[i] = buf[pos++]; in cp_decode_response()