Searched refs:r_mac (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/ |
D | osdp_sc.c | 138 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()
|
D | osdp_phy.c | 192 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()
|
D | osdp_common.h | 406 uint8_t r_mac[16]; member
|
D | osdp_pd.c | 558 buf[len++] = pd->sc.r_mac[i]; in pd_build_reply()
|
D | osdp_cp.c | 479 pd->sc.r_mac[i] = buf[pos++]; in cp_decode_response()
|