Searched refs:EAP_PAX_MAC_LEN (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pax_common.c | 41 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() 110 os_memcpy(mac, hash, EAP_PAX_MAC_LEN); in eap_pax_mac()
|
D | eap_pax_common.h | 71 #define EAP_PAX_MAC_LEN 16 macro
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pax.c | 108 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_1() 128 sizeof(*pax) + 2 + EAP_PAX_MAC_LEN + in eap_pax_build_std_3() 144 wpabuf_put_be16(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_3() 145 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_3() 150 pos, EAP_PAX_MAC_LEN); in eap_pax_build_std_3() 151 pos += EAP_PAX_MAC_LEN; in eap_pax_build_std_3() 155 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_3() 288 u8 mac[EAP_PAX_MAC_LEN], icvbuf[EAP_PAX_ICV_LEN]; in eap_pax_process_std_2() 337 if (left < 2 + EAP_PAX_MAC_LEN || in eap_pax_process_std_2() 338 WPA_GET_BE16(pos) != EAP_PAX_MAC_LEN) { in eap_pax_process_std_2() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pax.c | 189 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() 281 if (os_memcmp_const(pos, mac, EAP_PAX_MAC_LEN) != 0) { in eap_pax_process_std_3() [all …]
|