Searched refs:EAP_SIM_MAC_LEN (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.c | 173 if (mac == NULL || wpabuf_len(req) < EAP_SIM_MAC_LEN || in eap_sim_verify_mac() 175 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN) in eap_sim_verify_mac() 189 os_memset(tmp + (mac - wpabuf_head_u8(req)), 0, EAP_SIM_MAC_LEN); in eap_sim_verify_mac() 198 hmac, EAP_SIM_MAC_LEN); in eap_sim_verify_mac() 201 return (os_memcmp_const(hmac, mac, EAP_SIM_MAC_LEN) == 0) ? 0 : 1; in eap_sim_verify_mac() 218 os_memset(mac, 0, EAP_SIM_MAC_LEN); in eap_sim_add_mac() 225 os_memcpy(mac, hmac, EAP_SIM_MAC_LEN); in eap_sim_add_mac() 227 mac, EAP_SIM_MAC_LEN); in eap_sim_add_mac() 368 if (mac == NULL || wpabuf_len(req) < EAP_SIM_MAC_LEN || in eap_sim_verify_mac_sha256() 370 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN) in eap_sim_verify_mac_sha256() [all …]
|
D | eap_sim_common.h | 14 #define EAP_SIM_MAC_LEN 16 macro
|