/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
H A D | eap_peap.c | 762 struct wpabuf *in_decrypted = NULL; local 776 in_decrypted = data->pending_phase2_req; 801 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 807 in_decrypted); 809 hdr = wpabuf_mhead(in_decrypted); 810 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST && 812 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) { 817 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST && 818 eap_get_type(in_decrypted) == EAP_TYPE_TLV) { 825 wpabuf_len(in_decrypted)); [all...] |
H A D | eap_tls_common.h | 127 struct wpabuf **in_decrypted);
|
H A D | eap_ttls.c | 1181 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, argument 1188 pos = wpabuf_mhead(in_decrypted); 1189 left = wpabuf_len(in_decrypted); 1425 struct wpabuf *in_decrypted, 1486 data->pending_phase2_req = wpabuf_dup(in_decrypted); 1584 struct wpabuf *in_decrypted = NULL; local 1600 in_decrypted = data->pending_phase2_req; 1602 if (wpabuf_len(in_decrypted) == 0) { 1603 wpabuf_free(in_decrypted); 1623 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 1420 eap_ttls_process_decrypted(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, struct ttls_parse_avp *parse, struct wpabuf *in_decrypted, struct wpabuf **out_data) argument [all...] |
H A D | eap_fast.c | 1258 struct wpabuf *in_decrypted; local 1270 in_decrypted = data->pending_phase2_req; 1282 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 1288 in_decrypted); 1290 if (wpabuf_len(in_decrypted) < 4) { 1293 (unsigned long) wpabuf_len(in_decrypted)); 1294 wpabuf_free(in_decrypted); 1299 in_decrypted, out_data); 1301 wpabuf_free(in_decrypted);
|
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_peap.c | 758 struct wpabuf *in_decrypted = NULL; local 772 in_decrypted = data->pending_phase2_req; 797 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 803 in_decrypted); 805 hdr = wpabuf_mhead(in_decrypted); 806 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST && 808 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) { 813 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST && 814 eap_get_type(in_decrypted) == EAP_TYPE_TLV) { 821 wpabuf_len(in_decrypted)); [all...] |
H A D | eap_tls_common.h | 103 struct wpabuf **in_decrypted);
|
H A D | eap_ttls.c | 892 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, argument 899 pos = wpabuf_mhead(in_decrypted); 900 left = wpabuf_len(in_decrypted); 1126 struct wpabuf *in_decrypted, 1187 data->pending_phase2_req = wpabuf_dup(in_decrypted); 1282 struct wpabuf *in_decrypted = NULL; local 1298 in_decrypted = data->pending_phase2_req; 1300 if (wpabuf_len(in_decrypted) == 0) { 1301 wpabuf_free(in_decrypted); 1321 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 1121 eap_ttls_process_decrypted(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, struct ttls_parse_avp *parse, struct wpabuf *in_decrypted, struct wpabuf **out_data) argument [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_peap.c | 758 struct wpabuf *in_decrypted = NULL; local 772 in_decrypted = data->pending_phase2_req; 797 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 803 in_decrypted); 805 hdr = wpabuf_mhead(in_decrypted); 806 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST && 808 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) { 813 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST && 814 eap_get_type(in_decrypted) == EAP_TYPE_TLV) { 821 wpabuf_len(in_decrypted)); [all...] |
H A D | eap_tls_common.h | 103 struct wpabuf **in_decrypted);
|
H A D | eap_ttls.c | 892 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, argument 899 pos = wpabuf_mhead(in_decrypted); 900 left = wpabuf_len(in_decrypted); 1126 struct wpabuf *in_decrypted, 1187 data->pending_phase2_req = wpabuf_dup(in_decrypted); 1282 struct wpabuf *in_decrypted = NULL; local 1298 in_decrypted = data->pending_phase2_req; 1300 if (wpabuf_len(in_decrypted) == 0) { 1301 wpabuf_free(in_decrypted); 1321 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 1121 eap_ttls_process_decrypted(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, struct ttls_parse_avp *parse, struct wpabuf *in_decrypted, struct wpabuf **out_data) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_peap.c | 758 struct wpabuf *in_decrypted = NULL; local 772 in_decrypted = data->pending_phase2_req; 797 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 803 in_decrypted); 805 hdr = wpabuf_mhead(in_decrypted); 806 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST && 808 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) { 813 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST && 814 eap_get_type(in_decrypted) == EAP_TYPE_TLV) { 821 wpabuf_len(in_decrypted)); [all...] |
H A D | eap_tls_common.h | 103 struct wpabuf **in_decrypted);
|
H A D | eap_ttls.c | 892 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, argument 899 pos = wpabuf_mhead(in_decrypted); 900 left = wpabuf_len(in_decrypted); 1126 struct wpabuf *in_decrypted, 1187 data->pending_phase2_req = wpabuf_dup(in_decrypted); 1282 struct wpabuf *in_decrypted = NULL; local 1298 in_decrypted = data->pending_phase2_req; 1300 if (wpabuf_len(in_decrypted) == 0) { 1301 wpabuf_free(in_decrypted); 1321 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 1121 eap_ttls_process_decrypted(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, struct ttls_parse_avp *parse, struct wpabuf *in_decrypted, struct wpabuf **out_data) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
H A D | eap_peap.c | 1031 struct wpabuf *in_decrypted; local 1063 in_decrypted = wpabuf_alloc(buf_len); 1064 if (in_decrypted == NULL) { 1072 wpabuf_mhead(in_decrypted), 1077 wpabuf_free(in_decrypted); 1081 wpabuf_put(in_decrypted, len_decrypted); 1084 in_decrypted); 1086 hdr = wpabuf_head(in_decrypted); 1093 wpabuf_len(in_decrypted)); 1095 wpabuf_free(in_decrypted); [all...] |
H A D | eap_ttls.c | 1129 u8 *in_decrypted; local 1162 in_decrypted = os_malloc(buf_len); 1163 if (in_decrypted == NULL) { 1171 in_decrypted, buf_len); 1175 os_free(in_decrypted); 1193 os_free(in_decrypted); 1198 in_decrypted, len_decrypted); 1200 if (eap_ttls_avp_parse(in_decrypted, len_decrypted, &parse) < 0) { 1202 os_free(in_decrypted); 1260 os_free(in_decrypted); [all...] |
H A D | eap_fast.c | 1376 u8 *in_decrypted; local 1408 in_decrypted = os_malloc(buf_len); 1409 if (in_decrypted == NULL) { 1417 in_decrypted, buf_len); 1421 os_free(in_decrypted); 1427 in_decrypted, len_decrypted); 1429 eap_fast_process_phase2_tlvs(sm, data, in_decrypted, len_decrypted); 1435 data->pending_phase2_resp = wpabuf_alloc_copy(in_decrypted, 1439 os_free(in_decrypted);
|
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_server_peap.c | 1032 struct wpabuf *in_decrypted; local 1049 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 1051 if (in_decrypted == NULL) { 1059 in_decrypted); 1066 wpabuf_len(in_decrypted)); 1068 wpabuf_free(in_decrypted); 1077 wpabuf_len(in_decrypted)); 1078 wpabuf_put_buf(nbuf, in_decrypted); 1079 wpabuf_free(in_decrypted); 1081 in_decrypted [all...] |
H A D | eap_server_ttls.c | 943 struct wpabuf *in_decrypted; local 960 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 962 if (in_decrypted == NULL) { 970 in_decrypted); 972 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) { 974 wpabuf_free(in_decrypted); 1032 wpabuf_free(in_decrypted);
|
H A D | eap_server_fast.c | 1375 struct wpabuf *in_decrypted; local 1390 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 1392 if (in_decrypted == NULL) { 1400 in_decrypted); 1402 eap_fast_process_phase2_tlvs(sm, data, in_decrypted); 1408 data->pending_phase2_resp = in_decrypted; 1412 wpabuf_free(in_decrypted);
|
/external/wpa_supplicant_8/src/eap_server/ |
H A D | eap_server_peap.c | 1032 struct wpabuf *in_decrypted; local 1049 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 1051 if (in_decrypted == NULL) { 1059 in_decrypted); 1066 wpabuf_len(in_decrypted)); 1068 wpabuf_free(in_decrypted); 1077 wpabuf_len(in_decrypted)); 1078 wpabuf_put_buf(nbuf, in_decrypted); 1079 wpabuf_free(in_decrypted); 1081 in_decrypted [all...] |
H A D | eap_server_ttls.c | 943 struct wpabuf *in_decrypted; local 960 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 962 if (in_decrypted == NULL) { 970 in_decrypted); 972 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) { 974 wpabuf_free(in_decrypted); 1032 wpabuf_free(in_decrypted);
|
H A D | eap_server_fast.c | 1375 struct wpabuf *in_decrypted; local 1390 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 1392 if (in_decrypted == NULL) { 1400 in_decrypted); 1402 eap_fast_process_phase2_tlvs(sm, data, in_decrypted); 1408 data->pending_phase2_resp = in_decrypted; 1412 wpabuf_free(in_decrypted);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | eap_server_peap.c | 1032 struct wpabuf *in_decrypted; local 1049 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 1051 if (in_decrypted == NULL) { 1059 in_decrypted); 1066 wpabuf_len(in_decrypted)); 1068 wpabuf_free(in_decrypted); 1077 wpabuf_len(in_decrypted)); 1078 wpabuf_put_buf(nbuf, in_decrypted); 1079 wpabuf_free(in_decrypted); 1081 in_decrypted [all...] |
H A D | eap_server_ttls.c | 943 struct wpabuf *in_decrypted; local 960 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 962 if (in_decrypted == NULL) { 970 in_decrypted); 972 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) { 974 wpabuf_free(in_decrypted); 1032 wpabuf_free(in_decrypted);
|
H A D | eap_server_fast.c | 1375 struct wpabuf *in_decrypted; local 1390 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, 1392 if (in_decrypted == NULL) { 1400 in_decrypted); 1402 eap_fast_process_phase2_tlvs(sm, data, in_decrypted); 1408 data->pending_phase2_resp = in_decrypted; 1412 wpabuf_free(in_decrypted);
|