Home
last modified time | relevance | path

Searched refs:pac_opaque (Results 1 – 16 of 16) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_fast_pac.c52 os_free(pac->pac_opaque); in eap_fast_free_pac()
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()
365 os_free(pac->pac_opaque); in eap_fast_parse_pac_opaque()
366 pac->pac_opaque = eap_fast_parse_hex(pos, &pac->pac_opaque_len); in eap_fast_parse_pac_opaque()
367 if (pac->pac_opaque == NULL) in eap_fast_parse_pac_opaque()
588 pac->pac_opaque, pac->pac_opaque_len, 0); in eap_fast_add_pac_data()
820 pac->pac_opaque = os_memdup(pos, pac->pac_opaque_len); in eap_fast_load_pac_bin()
821 if (pac->pac_opaque == NULL) in eap_fast_load_pac_bin()
907 os_memcpy(pos, pac->pac_opaque, pac->pac_opaque_len); in eap_fast_save_pac_bin()
Deap_teap_pac.c52 os_free(pac->pac_opaque); in eap_teap_free_pac()
158 if (eap_teap_copy_buf(&pac->pac_opaque, &pac->pac_opaque_len, in eap_teap_add_pac()
159 entry->pac_opaque, entry->pac_opaque_len) < 0 || in eap_teap_add_pac()
366 os_free(pac->pac_opaque); in eap_teap_parse_pac_opaque()
367 pac->pac_opaque = eap_teap_parse_hex(pos, &pac->pac_opaque_len); in eap_teap_parse_pac_opaque()
368 if (!pac->pac_opaque) in eap_teap_parse_pac_opaque()
593 pac->pac_opaque, pac->pac_opaque_len, 0); in eap_teap_add_pac_data()
824 pac->pac_opaque = os_memdup(pos, pac->pac_opaque_len); in eap_teap_load_pac_bin()
825 if (!pac->pac_opaque) in eap_teap_load_pac_bin()
911 os_memcpy(pos, pac->pac_opaque, pac->pac_opaque_len); in eap_teap_save_pac_bin()
Deap_teap_pac.h18 u8 *pac_opaque; member
Deap_fast_pac.h18 u8 *pac_opaque; member
Deap_fast.c867 entry->pac_opaque = pos; in eap_fast_parse_pac_tlv()
914 if (!pac_key_found || !entry->pac_opaque || !entry->pac_info) { in eap_fast_process_pac_tlv()
1433 os_memcpy(ehdr + 1, pac->pac_opaque, olen); in eap_fast_use_pac_opaque()
Deap_teap.c942 entry->pac_opaque = pos; in eap_teap_parse_pac_tlv()
989 if (!pac_key_found || !entry->pac_opaque || !entry->pac_info) { in eap_teap_process_pac_tlv()
1592 os_memcpy(ehdr + 1, pac->pac_opaque, olen); in eap_teap_use_pac_opaque()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_teap_pac.c52 os_free(pac->pac_opaque); in eap_teap_free_pac()
158 if (eap_teap_copy_buf(&pac->pac_opaque, &pac->pac_opaque_len, in eap_teap_add_pac()
159 entry->pac_opaque, entry->pac_opaque_len) < 0 || in eap_teap_add_pac()
366 os_free(pac->pac_opaque); in eap_teap_parse_pac_opaque()
367 pac->pac_opaque = eap_teap_parse_hex(pos, &pac->pac_opaque_len); in eap_teap_parse_pac_opaque()
368 if (!pac->pac_opaque) in eap_teap_parse_pac_opaque()
593 pac->pac_opaque, pac->pac_opaque_len, 0); in eap_teap_add_pac_data()
824 pac->pac_opaque = os_memdup(pos, pac->pac_opaque_len); in eap_teap_load_pac_bin()
825 if (!pac->pac_opaque) in eap_teap_load_pac_bin()
911 os_memcpy(pos, pac->pac_opaque, pac->pac_opaque_len); in eap_teap_save_pac_bin()
Deap_fast_pac.c52 os_free(pac->pac_opaque); in eap_fast_free_pac()
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()
365 os_free(pac->pac_opaque); in eap_fast_parse_pac_opaque()
366 pac->pac_opaque = eap_fast_parse_hex(pos, &pac->pac_opaque_len); in eap_fast_parse_pac_opaque()
367 if (pac->pac_opaque == NULL) in eap_fast_parse_pac_opaque()
588 pac->pac_opaque, pac->pac_opaque_len, 0); in eap_fast_add_pac_data()
820 pac->pac_opaque = os_memdup(pos, pac->pac_opaque_len); in eap_fast_load_pac_bin()
821 if (pac->pac_opaque == NULL) in eap_fast_load_pac_bin()
907 os_memcpy(pos, pac->pac_opaque, pac->pac_opaque_len); in eap_fast_save_pac_bin()
Deap_fast_pac.h18 u8 *pac_opaque; member
Deap_teap_pac.h18 u8 *pac_opaque; member
Deap_fast.c847 entry->pac_opaque = pos; in eap_fast_parse_pac_tlv()
894 if (!pac_key_found || !entry->pac_opaque || !entry->pac_info) { in eap_fast_process_pac_tlv()
1413 os_memcpy(ehdr + 1, pac->pac_opaque, olen); in eap_fast_use_pac_opaque()
Deap_teap.c887 entry->pac_opaque = pos; in eap_teap_parse_pac_tlv()
934 if (!pac_key_found || !entry->pac_opaque || !entry->pac_info) { in eap_teap_process_pac_tlv()
1480 os_memcpy(ehdr + 1, pac->pac_opaque, olen); in eap_teap_use_pac_opaque()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_fast.c126 const u8 *pac_opaque; in eap_fast_session_ticket_cb() local
145 pac_opaque = ticket + 4; in eap_fast_session_ticket_cb()
155 pac_opaque, pac_opaque_len); in eap_fast_session_ticket_cb()
165 (pac_opaque_len - 8) / 8, pac_opaque, buf) < 0) { in eap_fast_session_ticket_cb()
686 u8 *pac_buf, *pac_opaque; in eap_fast_build_pac() local
733 pac_opaque = os_malloc(pac_len + 8); in eap_fast_build_pac()
734 if (pac_opaque == NULL) { in eap_fast_build_pac()
739 pac_len / 8, pac_buf, pac_opaque) < 0) { in eap_fast_build_pac()
741 os_free(pac_opaque); in eap_fast_build_pac()
748 pac_opaque, pac_len); in eap_fast_build_pac()
[all …]
Deap_server_teap.c136 const u8 *pac_opaque; in eap_teap_session_ticket_cb() local
154 pac_opaque = ticket + 4; in eap_teap_session_ticket_cb()
164 pac_opaque, pac_opaque_len); in eap_teap_session_ticket_cb()
174 (pac_opaque_len - 8) / 8, pac_opaque, buf) < 0) { in eap_teap_session_ticket_cb()
653 u8 *pac_buf, *pac_opaque; in eap_teap_build_pac() local
706 pac_opaque = os_malloc(pac_len + 8); in eap_teap_build_pac()
707 if (!pac_opaque) { in eap_teap_build_pac()
712 pac_len / 8, pac_buf, pac_opaque) < 0) { in eap_teap_build_pac()
714 os_free(pac_opaque); in eap_teap_build_pac()
720 wpa_hexdump(MSG_DEBUG, "EAP-TEAP: PAC-Opaque", pac_opaque, pac_len); in eap_teap_build_pac()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_fast.c126 const u8 *pac_opaque; in eap_fast_session_ticket_cb() local
145 pac_opaque = ticket + 4; in eap_fast_session_ticket_cb()
155 pac_opaque, pac_opaque_len); in eap_fast_session_ticket_cb()
165 (pac_opaque_len - 8) / 8, pac_opaque, buf) < 0) { in eap_fast_session_ticket_cb()
688 u8 *pac_buf, *pac_opaque; in eap_fast_build_pac() local
735 pac_opaque = os_malloc(pac_len + 8); in eap_fast_build_pac()
736 if (pac_opaque == NULL) { in eap_fast_build_pac()
741 pac_len / 8, pac_buf, pac_opaque) < 0) { in eap_fast_build_pac()
743 os_free(pac_opaque); in eap_fast_build_pac()
750 pac_opaque, pac_len); in eap_fast_build_pac()
[all …]
Deap_server_teap.c142 const u8 *pac_opaque; in eap_teap_session_ticket_cb() local
160 pac_opaque = ticket + 4; in eap_teap_session_ticket_cb()
170 pac_opaque, pac_opaque_len); in eap_teap_session_ticket_cb()
180 (pac_opaque_len - 8) / 8, pac_opaque, buf) < 0) { in eap_teap_session_ticket_cb()
715 u8 *pac_buf, *pac_opaque; in eap_teap_build_pac() local
768 pac_opaque = os_malloc(pac_len + 8); in eap_teap_build_pac()
769 if (!pac_opaque) { in eap_teap_build_pac()
774 pac_len / 8, pac_buf, pac_opaque) < 0) { in eap_teap_build_pac()
776 os_free(pac_opaque); in eap_teap_build_pac()
782 wpa_hexdump(MSG_DEBUG, "EAP-TEAP: PAC-Opaque", pac_opaque, pac_len); in eap_teap_build_pac()
[all …]