Home
last modified time | relevance | path

Searched refs:peap_version (Results 1 – 8 of 8) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_peap.c35 int peap_version, force_peap_version, force_new_label; member
81 data->peap_version = data->force_peap_version; in eap_peap_parse_phase1()
141 data->peap_version = EAP_PEAP_VERSION; in eap_peap_init()
295 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
335 wpabuf_put_u8(buf, data->peap_version); /* Version */ in eap_tlv_add_cryptobinding()
336 wpabuf_put_u8(buf, data->peap_version); /* RecvVersion */ in eap_tlv_add_cryptobinding()
417 if (pos[1] != data->peap_version) { in eap_tlv_validate_cryptobinding()
420 pos[1], data->peap_version); in eap_tlv_validate_cryptobinding()
783 data->peap_version, in eap_peap_decrypt()
808 if (data->peap_version == 0 && !skip_change) { in eap_peap_decrypt()
[all …]
Deap_tls_common.h110 EapType eap_type, int peap_version,
114 int peap_version);
130 EapType eap_type, int peap_version, u8 id,
Deap_tls_common.c623 int peap_version, u8 id, int ret, in eap_tls_process_output() argument
654 eap_type == EAP_TYPE_PEAP && peap_version == 0 && in eap_tls_process_output()
671 *flags = peap_version; in eap_tls_process_output()
720 EapType eap_type, int peap_version, in eap_peer_tls_process_helper() argument
800 return eap_tls_process_output(data, eap_type, peap_version, id, ret, in eap_peer_tls_process_helper()
813 int peap_version) in eap_peer_tls_build_ack() argument
821 (int) eap_type, id, peap_version); in eap_peer_tls_build_ack()
822 wpabuf_put_u8(resp, peap_version); /* Flags */ in eap_peer_tls_build_ack()
1059 EapType eap_type, int peap_version, u8 id, in eap_peer_tls_encrypt() argument
1076 return eap_tls_process_output(data, eap_type, peap_version, id, 0, in eap_peer_tls_encrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_peap.c35 int peap_version, force_peap_version, force_new_label; member
81 data->peap_version = data->force_peap_version; in eap_peap_parse_phase1()
141 data->peap_version = EAP_PEAP_VERSION; in eap_peap_init()
295 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
335 wpabuf_put_u8(buf, data->peap_version); /* Version */ in eap_tlv_add_cryptobinding()
336 wpabuf_put_u8(buf, data->peap_version); /* RecvVersion */ in eap_tlv_add_cryptobinding()
417 if (pos[1] != data->peap_version) { in eap_tlv_validate_cryptobinding()
420 pos[1], data->peap_version); in eap_tlv_validate_cryptobinding()
799 data->peap_version, in eap_peap_decrypt()
828 if (data->peap_version == 0 && !skip_change) { in eap_peap_decrypt()
[all …]
Deap_tls_common.h110 enum eap_type eap_type, int peap_version,
114 int peap_version);
130 enum eap_type eap_type, int peap_version, u8 id,
Deap_tls_common.c626 int peap_version, u8 id, int ret, in eap_tls_process_output() argument
657 eap_type == EAP_TYPE_PEAP && peap_version == 0 && in eap_tls_process_output()
674 *flags = peap_version; in eap_tls_process_output()
723 enum eap_type eap_type, int peap_version, in eap_peer_tls_process_helper() argument
803 return eap_tls_process_output(data, eap_type, peap_version, id, ret, in eap_peer_tls_process_helper()
816 int peap_version) in eap_peer_tls_build_ack() argument
824 (int) eap_type, id, peap_version); in eap_peer_tls_build_ack()
825 wpabuf_put_u8(resp, peap_version); /* Flags */ in eap_peer_tls_build_ack()
1062 enum eap_type eap_type, int peap_version, u8 id, in eap_peer_tls_encrypt() argument
1079 return eap_tls_process_output(data, eap_type, peap_version, id, 0, in eap_peer_tls_encrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_peap.c40 int peap_version; member
140 if (data->peap_version == 0) { in eap_peap_req_success()
158 if (data->peap_version == 0) { in eap_peap_req_failure()
174 data->peap_version = EAP_PEAP_VERSION; in eap_peap_init()
180 data->peap_version = data->force_version; in eap_peap_init()
224 wpabuf_put_u8(req, EAP_TLS_FLAGS_START | data->peap_version); in eap_peap_build_start()
253 if (data->peap_version == 0 && in eap_peap_build_phase2_req()
362 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
393 if (data->peap_version == 0 && data->tlv_request == TLV_REQ_SUCCESS && in eap_peap_build_phase2_tlv()
415 if (data->peap_version == 0 && data->tlv_request == TLV_REQ_SUCCESS && in eap_peap_build_phase2_tlv()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_peap.c40 int peap_version; member
140 if (data->peap_version == 0) { in eap_peap_req_success()
158 if (data->peap_version == 0) { in eap_peap_req_failure()
174 data->peap_version = EAP_PEAP_VERSION; in eap_peap_init()
180 data->peap_version = data->force_version; in eap_peap_init()
224 wpabuf_put_u8(req, EAP_TLS_FLAGS_START | data->peap_version); in eap_peap_build_start()
253 if (data->peap_version == 0 && in eap_peap_build_phase2_req()
376 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
407 if (data->peap_version == 0 && data->tlv_request == TLV_REQ_SUCCESS && in eap_peap_build_phase2_tlv()
429 if (data->peap_version == 0 && data->tlv_request == TLV_REQ_SUCCESS && in eap_peap_build_phase2_tlv()
[all …]