Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/
Dosdp_sc.c151 memcpy(pd->sc.r_mac, pd->sc.cp_cryptogram, 16); in osdp_compute_rmac_i()
152 osdp_encrypt(pd->sc.s_mac1, NULL, pd->sc.r_mac, 16); in osdp_compute_rmac_i()
153 osdp_encrypt(pd->sc.s_mac2, NULL, pd->sc.r_mac, 16); in osdp_compute_rmac_i()
165 memcpy(iv, is_cmd ? pd->sc.r_mac : pd->sc.c_mac, 16); in osdp_decrypt_data()
194 memcpy(iv, is_cmd ? pd->sc.r_mac : pd->sc.c_mac, 16); in osdp_encrypt_data()
223 memcpy(iv, is_cmd ? pd->sc.r_mac : pd->sc.c_mac, 16); in osdp_compute_mac()
233 memcpy(is_cmd ? pd->sc.c_mac : pd->sc.r_mac, buf + pad_len - 16, 16); in osdp_compute_mac()
Dosdp_phy.c232 data = is_cp_mode(pd) ? pd->sc.c_mac : pd->sc.r_mac; in osdp_phy_packet_finalize()
476 mac = is_cmd ? pd->sc.c_mac : pd->sc.r_mac; in osdp_phy_decode_packet()
Dosdp_common.h434 uint8_t r_mac[16]; member
Dosdp_pd.c763 memcpy(buf + len, pd->sc.r_mac, 16); in pd_build_reply()
Dosdp_cp.c540 memcpy(pd->sc.r_mac, buf + pos, 16); in cp_decode_response()