Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_peer/
Deap_fast_pac.c159 if (eap_fast_copy_buf(&pac->pac_opaque, &pac->pac_opaque_len, in eap_fast_add_pac()
160 entry->pac_opaque, entry->pac_opaque_len) < 0 || in eap_fast_add_pac()
367 pac->pac_opaque = eap_fast_parse_hex(pos, &pac->pac_opaque_len); in eap_fast_parse_pac_opaque()
589 pac->pac_opaque, pac->pac_opaque_len, 0); in eap_fast_add_pac_data()
822 pac->pac_opaque_len = val; in eap_fast_load_pac_bin()
823 pac->pac_opaque = os_malloc(pac->pac_opaque_len); in eap_fast_load_pac_bin()
826 os_memcpy(pac->pac_opaque, pos, pac->pac_opaque_len); in eap_fast_load_pac_bin()
827 pos += pac->pac_opaque_len; in eap_fast_load_pac_bin()
886 if (pac->pac_opaque_len > 65535 || in eap_fast_save_pac_bin()
889 len += 2 + EAP_FAST_PAC_KEY_LEN + 2 + pac->pac_opaque_len + in eap_fast_save_pac_bin()
[all …]
Deap_fast_pac.h19 size_t pac_opaque_len; member
Deap_fast.c848 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/
Deap_server_fast.c127 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()