Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_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()
738 if (aes_wrap(data->pac_opaque_encr, pac_len / 8, pac_buf, 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 …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_fast.c684 size_t buf_len, srv_id_info_len, pac_len; in eap_fast_build_pac() local
696 pac_len = (2 + EAP_FAST_PAC_KEY_LEN) + (2 + 4) + in eap_fast_build_pac()
698 pac_buf = os_malloc(pac_len); in eap_fast_build_pac()
722 pac_len = pos - pac_buf; in eap_fast_build_pac()
723 while (pac_len % 8) { in eap_fast_build_pac()
725 pac_len++; in eap_fast_build_pac()
728 pac_opaque = os_malloc(pac_len + 8); in eap_fast_build_pac()
733 if (aes_wrap(data->pac_opaque_encr, pac_len / 8, pac_buf, in eap_fast_build_pac()
741 pac_len += 8; in eap_fast_build_pac()
743 pac_opaque, pac_len); in eap_fast_build_pac()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_tlv_common.h84 be16 pac_len; member
Deap_fast_common.h89 size_t pac_len; member
Deap_fast_common.c290 tlv->pac_len = len; in eap_fast_parse_tlv()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_tlv_common.h90 be16 pac_len; member
Deap_fast_common.h95 size_t pac_len; member
Deap_fast_common.c296 tlv->pac_len = len; in eap_fast_parse_tlv()
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast.c531 ack->pac_len = host_to_be16(2); in eap_fast_tlv_pac_ack()
829 u8 *pac, size_t pac_len) in eap_fast_process_pac_tlv() argument
837 left = pac_len; in eap_fast_process_pac_tlv()
997 u8 *pac, size_t pac_len) in eap_fast_process_pac() argument
1003 if (eap_fast_process_pac_tlv(&entry, pac, pac_len) || in eap_fast_process_pac()
1197 tlv.pac_len); in eap_fast_process_decrypted()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_fast.c536 ack->pac_len = host_to_be16(2); in eap_fast_tlv_pac_ack()
834 u8 *pac, size_t pac_len) in eap_fast_process_pac_tlv() argument
842 left = pac_len; in eap_fast_process_pac_tlv()
1002 u8 *pac, size_t pac_len) in eap_fast_process_pac() argument
1008 if (eap_fast_process_pac_tlv(&entry, pac, pac_len) || in eap_fast_process_pac()
1198 tlv.pac_len); in eap_fast_process_decrypted()