Searched refs:pac_len (Results 1 – 9 of 9) sorted by relevance
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_fast.c | 691 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 …]
|
D | eap_server_teap.c | 718 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 …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_teap_common.h | 100 be16 pac_len; member 192 size_t pac_len; member
|
D | eap_tlv_common.h | 84 be16 pac_len; member
|
D | eap_fast_common.h | 89 size_t pac_len; member
|
D | eap_fast_common.c | 262 tlv->pac_len = len; in eap_fast_parse_tlv()
|
D | eap_teap_common.c | 553 tlv->pac_len = len; in eap_teap_parse_tlv()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast.c | 570 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()
|
D | eap_teap.c | 529 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()
|