Home
last modified time | relevance | path

Searched refs:pac_len (Results 1 – 18 of 18) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_fast.c691 size_t buf_len, srv_id_info_len, pac_len; in eap_fast_build_pac() local
703 pac_len = (2 + EAP_FAST_PAC_KEY_LEN) + (2 + 4) + in eap_fast_build_pac()
705 pac_buf = os_malloc(pac_len); in eap_fast_build_pac()
729 pac_len = pos - pac_buf; in eap_fast_build_pac()
730 while (pac_len % 8) { in eap_fast_build_pac()
732 pac_len++; in eap_fast_build_pac()
735 pac_opaque = os_malloc(pac_len + 8); in eap_fast_build_pac()
741 pac_len / 8, pac_buf, pac_opaque) < 0) { in eap_fast_build_pac()
748 pac_len += 8; in eap_fast_build_pac()
750 pac_opaque, pac_len); in eap_fast_build_pac()
[all …]
Deap_server_teap.c718 size_t buf_len, srv_id_info_len, pac_len; in eap_teap_build_pac() local
732 pac_len = (2 + EAP_TEAP_PAC_KEY_LEN) + (2 + 4) + in eap_teap_build_pac()
734 pac_buf = os_malloc(pac_len); in eap_teap_build_pac()
762 pac_len = pos - pac_buf; in eap_teap_build_pac()
763 while (pac_len % 8) { in eap_teap_build_pac()
765 pac_len++; in eap_teap_build_pac()
768 pac_opaque = os_malloc(pac_len + 8); in eap_teap_build_pac()
774 pac_len / 8, pac_buf, pac_opaque) < 0) { in eap_teap_build_pac()
781 pac_len += 8; in eap_teap_build_pac()
782 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/src/eap_server/
Deap_server_fast.c689 size_t buf_len, srv_id_info_len, pac_len; in eap_fast_build_pac() local
701 pac_len = (2 + EAP_FAST_PAC_KEY_LEN) + (2 + 4) + in eap_fast_build_pac()
703 pac_buf = os_malloc(pac_len); in eap_fast_build_pac()
727 pac_len = pos - pac_buf; in eap_fast_build_pac()
728 while (pac_len % 8) { in eap_fast_build_pac()
730 pac_len++; in eap_fast_build_pac()
733 pac_opaque = os_malloc(pac_len + 8); in eap_fast_build_pac()
739 pac_len / 8, pac_buf, pac_opaque) < 0) { in eap_fast_build_pac()
746 pac_len += 8; in eap_fast_build_pac()
748 pac_opaque, pac_len); in eap_fast_build_pac()
[all …]
Deap_server_teap.c656 size_t buf_len, srv_id_info_len, pac_len; in eap_teap_build_pac() local
670 pac_len = (2 + EAP_TEAP_PAC_KEY_LEN) + (2 + 4) + in eap_teap_build_pac()
672 pac_buf = os_malloc(pac_len); in eap_teap_build_pac()
700 pac_len = pos - pac_buf; in eap_teap_build_pac()
701 while (pac_len % 8) { in eap_teap_build_pac()
703 pac_len++; in eap_teap_build_pac()
706 pac_opaque = os_malloc(pac_len + 8); in eap_teap_build_pac()
712 pac_len / 8, pac_buf, pac_opaque) < 0) { in eap_teap_build_pac()
719 pac_len += 8; 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_common/
Deap_teap_common.h100 be16 pac_len; member
192 size_t pac_len; member
Deap_tlv_common.h84 be16 pac_len; member
Deap_fast_common.h89 size_t pac_len; member
Deap_fast_common.c262 tlv->pac_len = len; in eap_fast_parse_tlv()
Deap_teap_common.c553 tlv->pac_len = len; in eap_teap_parse_tlv()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_teap_common.h100 be16 pac_len; member
186 size_t pac_len; member
Deap_fast_common.h89 size_t pac_len; member
Deap_tlv_common.h84 be16 pac_len; member
Deap_fast_common.c262 tlv->pac_len = len; in eap_fast_parse_tlv()
Deap_teap_common.c524 tlv->pac_len = len; in eap_teap_parse_tlv()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_fast.c570 ack->pac_len = host_to_be16(2); in eap_fast_tlv_pac_ack()
884 u8 *pac, size_t pac_len) in eap_fast_process_pac_tlv() argument
892 left = pac_len; in eap_fast_process_pac_tlv()
1052 u8 *pac, size_t pac_len) in eap_fast_process_pac() argument
1058 if (eap_fast_process_pac_tlv(&entry, pac, pac_len) || in eap_fast_process_pac()
1255 tlv.pac_len); in eap_fast_process_decrypted()
Deap_teap.c529 ack->pac_len = host_to_be16(2); in eap_teap_tlv_pac_ack()
959 u8 *pac, size_t pac_len) in eap_teap_process_pac_tlv() argument
967 left = pac_len; in eap_teap_process_pac_tlv()
1126 u8 *pac, size_t pac_len) in eap_teap_process_pac() argument
1132 if (eap_teap_process_pac_tlv(&entry, pac, pac_len) || in eap_teap_process_pac()
1405 tlv.pac, tlv.pac_len); in eap_teap_process_decrypted()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_fast.c550 ack->pac_len = host_to_be16(2); in eap_fast_tlv_pac_ack()
864 u8 *pac, size_t pac_len) in eap_fast_process_pac_tlv() argument
872 left = pac_len; in eap_fast_process_pac_tlv()
1032 u8 *pac, size_t pac_len) in eap_fast_process_pac() argument
1038 if (eap_fast_process_pac_tlv(&entry, pac, pac_len) || in eap_fast_process_pac()
1235 tlv.pac_len); in eap_fast_process_decrypted()
Deap_teap.c496 ack->pac_len = host_to_be16(2); in eap_teap_tlv_pac_ack()
904 u8 *pac, size_t pac_len) in eap_teap_process_pac_tlv() argument
912 left = pac_len; in eap_teap_process_pac_tlv()
1071 u8 *pac, size_t pac_len) in eap_teap_process_pac() argument
1077 if (eap_teap_process_pac_tlv(&entry, pac, pac_len) || in eap_teap_process_pac()
1302 tlv.pac, tlv.pac_len); in eap_teap_process_decrypted()