Home | History | Annotate | Download | only in eap_common

Lines Matching refs:EAP_SIM_MAC_LEN

173 	if (mac == NULL || wpabuf_len(req) < EAP_SIM_MAC_LEN ||
175 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN)
188 os_memset(tmp + (mac - wpabuf_head_u8(req)), 0, EAP_SIM_MAC_LEN);
197 hmac, EAP_SIM_MAC_LEN);
200 return (os_memcmp_const(hmac, mac, EAP_SIM_MAC_LEN) == 0) ? 0 : 1;
217 os_memset(mac, 0, EAP_SIM_MAC_LEN);
224 os_memcpy(mac, hmac, EAP_SIM_MAC_LEN);
226 mac, EAP_SIM_MAC_LEN);
367 if (mac == NULL || wpabuf_len(req) < EAP_SIM_MAC_LEN ||
369 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN)
382 os_memset(tmp + (mac - wpabuf_head_u8(req)), 0, EAP_SIM_MAC_LEN);
391 hmac, EAP_SIM_MAC_LEN);
394 return (os_memcmp_const(hmac, mac, EAP_SIM_MAC_LEN) == 0) ? 0 : 1;
411 os_memset(mac, 0, EAP_SIM_MAC_LEN);
418 os_memcpy(mac, hmac, EAP_SIM_MAC_LEN);
420 mac, EAP_SIM_MAC_LEN);
596 if (alen != 2 + EAP_SIM_MAC_LEN) {
731 if (alen != 2 + EAP_SIM_MAC_LEN) {
1101 u8 *pos = eap_sim_msg_add(msg, attr, 0, NULL, EAP_SIM_MAC_LEN);