Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_peer/
Deap_peap.c764 struct wpabuf *in_decrypted = NULL; in eap_peap_decrypt() local
778 in_decrypted = data->pending_phase2_req; in eap_peap_decrypt()
803 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_peap_decrypt()
806 if (wpabuf_len(in_decrypted) == 0) { in eap_peap_decrypt()
807 wpabuf_free(in_decrypted); in eap_peap_decrypt()
813 in_decrypted); in eap_peap_decrypt()
815 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
816 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST && in eap_peap_decrypt()
818 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) { in eap_peap_decrypt()
823 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST && in eap_peap_decrypt()
[all …]
Deap_ttls.c1030 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, in eap_ttls_parse_avps() argument
1037 pos = wpabuf_mhead(in_decrypted); in eap_ttls_parse_avps()
1038 left = wpabuf_len(in_decrypted); in eap_ttls_parse_avps()
1270 struct wpabuf *in_decrypted, in eap_ttls_process_decrypted() argument
1332 data->pending_phase2_req = wpabuf_dup(in_decrypted); in eap_ttls_process_decrypted()
1428 struct wpabuf *in_decrypted = NULL; in eap_ttls_decrypt() local
1444 in_decrypted = data->pending_phase2_req; in eap_ttls_decrypt()
1446 if (wpabuf_len(in_decrypted) == 0) { in eap_ttls_decrypt()
1447 wpabuf_clear_free(in_decrypted); in eap_ttls_decrypt()
1468 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_ttls_decrypt()
[all …]
Deap_fast.c1315 struct wpabuf *in_decrypted; in eap_fast_decrypt() local
1327 in_decrypted = data->pending_phase2_req; in eap_fast_decrypt()
1339 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_fast_decrypt()
1345 in_decrypted); in eap_fast_decrypt()
1347 if (wpabuf_len(in_decrypted) < 4) { in eap_fast_decrypt()
1350 (unsigned long) wpabuf_len(in_decrypted)); in eap_fast_decrypt()
1351 wpabuf_clear_free(in_decrypted); in eap_fast_decrypt()
1356 in_decrypted, out_data); in eap_fast_decrypt()
1358 wpabuf_clear_free(in_decrypted); in eap_fast_decrypt()
Deap_tls_common.h128 struct wpabuf **in_decrypted);
Deap_teap.c1499 struct wpabuf *in_decrypted; in eap_teap_decrypt() local
1512 in_decrypted = data->pending_phase2_req; in eap_teap_decrypt()
1533 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_teap_decrypt()
1539 in_decrypted); in eap_teap_decrypt()
1541 if (wpabuf_len(in_decrypted) < 4) { in eap_teap_decrypt()
1544 (unsigned long) wpabuf_len(in_decrypted)); in eap_teap_decrypt()
1545 wpabuf_free(in_decrypted); in eap_teap_decrypt()
1550 in_decrypted, out_data); in eap_teap_decrypt()
1552 wpabuf_free(in_decrypted); in eap_teap_decrypt()
Deap_tls_common.c1031 struct wpabuf **in_decrypted) in eap_peer_tls_decrypt() argument
1040 *in_decrypted = tls_connection_decrypt(data->ssl_ctx, data->conn, msg); in eap_peer_tls_decrypt()
1042 if (*in_decrypted == NULL) { in eap_peer_tls_decrypt()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c1094 struct wpabuf *in_decrypted; in eap_peap_process_phase2() local
1111 in_decrypted = tls_connection_decrypt(sm->cfg->ssl_ctx, data->ssl.conn, in eap_peap_process_phase2()
1113 if (in_decrypted == NULL) { in eap_peap_process_phase2()
1121 in_decrypted); in eap_peap_process_phase2()
1128 wpabuf_len(in_decrypted)); in eap_peap_process_phase2()
1130 wpabuf_free(in_decrypted); in eap_peap_process_phase2()
1139 wpabuf_len(in_decrypted)); in eap_peap_process_phase2()
1140 wpabuf_put_buf(nbuf, in_decrypted); in eap_peap_process_phase2()
1141 wpabuf_free(in_decrypted); in eap_peap_process_phase2()
1143 in_decrypted = nbuf; in eap_peap_process_phase2()
[all …]
Deap_server_ttls.c1016 struct wpabuf *in_decrypted; in eap_ttls_process_phase2() local
1033 in_decrypted = tls_connection_decrypt(sm->cfg->ssl_ctx, data->ssl.conn, in eap_ttls_process_phase2()
1035 if (in_decrypted == NULL) { in eap_ttls_process_phase2()
1043 in_decrypted); in eap_ttls_process_phase2()
1045 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) { in eap_ttls_process_phase2()
1047 wpabuf_free(in_decrypted); in eap_ttls_process_phase2()
1115 wpabuf_free(in_decrypted); in eap_ttls_process_phase2()
Deap_server_fast.c1399 struct wpabuf *in_decrypted; in eap_fast_process_phase2() local
1414 in_decrypted = tls_connection_decrypt(sm->cfg->ssl_ctx, data->ssl.conn, in eap_fast_process_phase2()
1416 if (in_decrypted == NULL) { in eap_fast_process_phase2()
1424 in_decrypted); in eap_fast_process_phase2()
1426 eap_fast_process_phase2_tlvs(sm, data, in_decrypted); in eap_fast_process_phase2()
1432 data->pending_phase2_resp = in_decrypted; in eap_fast_process_phase2()
1436 wpabuf_free(in_decrypted); in eap_fast_process_phase2()
Deap_server_teap.c1682 struct wpabuf *in_decrypted; in eap_teap_process_phase2() local
1698 in_decrypted = tls_connection_decrypt(sm->cfg->ssl_ctx, data->ssl.conn, in eap_teap_process_phase2()
1700 if (!in_decrypted) { in eap_teap_process_phase2()
1708 in_decrypted); in eap_teap_process_phase2()
1710 eap_teap_process_phase2_tlvs(sm, data, in_decrypted); in eap_teap_process_phase2()
1716 data->pending_phase2_resp = in_decrypted; in eap_teap_process_phase2()
1720 wpabuf_free(in_decrypted); in eap_teap_process_phase2()