Searched refs:pac_opaque_len (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast_pac.c | 158 if (eap_fast_copy_buf(&pac->pac_opaque, &pac->pac_opaque_len, in eap_fast_add_pac() 159 entry->pac_opaque, entry->pac_opaque_len) < 0 || in eap_fast_add_pac() 366 pac->pac_opaque = eap_fast_parse_hex(pos, &pac->pac_opaque_len); in eap_fast_parse_pac_opaque() 588 pac->pac_opaque, pac->pac_opaque_len, 0); in eap_fast_add_pac_data() 819 pac->pac_opaque_len = val; in eap_fast_load_pac_bin() 820 pac->pac_opaque = os_memdup(pos, pac->pac_opaque_len); in eap_fast_load_pac_bin() 823 pos += pac->pac_opaque_len; in eap_fast_load_pac_bin() 881 if (pac->pac_opaque_len > 65535 || in eap_fast_save_pac_bin() 884 len += 2 + EAP_FAST_PAC_KEY_LEN + 2 + pac->pac_opaque_len + in eap_fast_save_pac_bin() 905 WPA_PUT_BE16(pos, pac->pac_opaque_len); in eap_fast_save_pac_bin() [all …]
|
D | eap_fast_pac.h | 19 size_t pac_opaque_len; member
|
D | eap_fast.c | 848 entry->pac_opaque_len = len; in eap_fast_parse_pac_tlv() 1406 olen = pac->pac_opaque_len; in eap_fast_use_pac_opaque()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_fast.c | 127 size_t pac_opaque_len; in eap_fast_session_ticket_cb() local 144 pac_opaque_len = WPA_GET_BE16(ticket + 2); in eap_fast_session_ticket_cb() 146 if (pac_opaque_len < 8 || pac_opaque_len % 8 || in eap_fast_session_ticket_cb() 147 pac_opaque_len > len - 4) { in eap_fast_session_ticket_cb() 150 (unsigned long) pac_opaque_len, in eap_fast_session_ticket_cb() 155 pac_opaque, pac_opaque_len); in eap_fast_session_ticket_cb() 157 buf = os_malloc(pac_opaque_len - 8); in eap_fast_session_ticket_cb() 165 (pac_opaque_len - 8) / 8, pac_opaque, buf) < 0) { in eap_fast_session_ticket_cb() 178 end = buf + pac_opaque_len - 8; in eap_fast_session_ticket_cb()
|