Home
last modified time | relevance | path

Searched refs:EAP_PAX_MAC_LEN (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_pax_common.c41 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN; in eap_pax_kdf()
59 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; in eap_pax_kdf()
112 os_memcpy(mac, hash, EAP_PAX_MAC_LEN); in eap_pax_mac()
Deap_pax_common.h71 #define EAP_PAX_MAC_LEN 16 macro
/external/wpa_supplicant_8/src/eap_peer/
Deap_pax.c189 plen = 2 + EAP_PAX_RAND_LEN + 2 + data->cid_len + 2 + EAP_PAX_MAC_LEN + in eap_pax_process_std_1()
205 wpabuf_put_be16(resp, EAP_PAX_MAC_LEN); in eap_pax_process_std_1()
206 rpos = wpabuf_put(resp, EAP_PAX_MAC_LEN); in eap_pax_process_std_1()
212 rpos, EAP_PAX_MAC_LEN); in eap_pax_process_std_1()
237 u8 *rpos, mac[EAP_PAX_MAC_LEN]; in eap_pax_process_std_3()
259 if (left < 2 + EAP_PAX_MAC_LEN) { in eap_pax_process_std_3()
267 if (WPA_GET_BE16(pos) != EAP_PAX_MAC_LEN) { in eap_pax_process_std_3()
270 WPA_GET_BE16(pos), EAP_PAX_MAC_LEN); in eap_pax_process_std_3()
277 pos, EAP_PAX_MAC_LEN); in eap_pax_process_std_3()
288 if (os_memcmp_const(pos, mac, EAP_PAX_MAC_LEN) != 0) { in eap_pax_process_std_3()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pax.c109 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_1()
134 sizeof(*pax) + 2 + EAP_PAX_MAC_LEN + in eap_pax_build_std_3()
150 wpabuf_put_be16(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_3()
151 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_3()
161 pos, EAP_PAX_MAC_LEN); in eap_pax_build_std_3()
165 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_3()
308 u8 mac[EAP_PAX_MAC_LEN], icvbuf[EAP_PAX_ICV_LEN]; in eap_pax_process_std_2()
361 if (left < 2 + EAP_PAX_MAC_LEN || in eap_pax_process_std_2()
362 WPA_GET_BE16(pos) != EAP_PAX_MAC_LEN) { in eap_pax_process_std_2()
369 pos, EAP_PAX_MAC_LEN); in eap_pax_process_std_2()
[all …]