Searched refs:r_mac (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/ |
D | osdp_sc.c | 151 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()
|
D | osdp_phy.c | 232 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()
|
D | osdp_common.h | 434 uint8_t r_mac[16]; member
|
D | osdp_pd.c | 763 memcpy(buf + len, pd->sc.r_mac, 16); in pd_build_reply()
|
D | osdp_cp.c | 540 memcpy(pd->sc.r_mac, buf + pos, 16); in cp_decode_response()
|