Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/wpa/src/eap_peer/
H A Deap_peap.c793 in_decrypted); in eap_peap_decrypt()
795 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
811 wpabuf_len(in_decrypted)); in eap_peap_decrypt()
813 wpabuf_clear_free(in_decrypted); in eap_peap_decrypt()
821 wpabuf_len(in_decrypted)); in eap_peap_decrypt()
823 wpabuf_clear_free(in_decrypted); in eap_peap_decrypt()
824 in_decrypted = nmsg; in eap_peap_decrypt()
827 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
832 wpabuf_clear_free(in_decrypted); in eap_peap_decrypt()
841 wpabuf_clear_free(in_decrypted); in eap_peap_decrypt()
[all …]
H A Deap_ttls.c1008 pos = wpabuf_mhead(in_decrypted); in eap_ttls_parse_avps()
1009 left = wpabuf_len(in_decrypted); in eap_ttls_parse_avps()
1241 struct wpabuf *in_decrypted, in eap_ttls_process_decrypted() argument
1303 data->pending_phase2_req = wpabuf_dup(in_decrypted); in eap_ttls_process_decrypted()
1399 struct wpabuf *in_decrypted = NULL; in eap_ttls_decrypt() local
1415 in_decrypted = data->pending_phase2_req; in eap_ttls_decrypt()
1417 if (wpabuf_len(in_decrypted) == 0) { in eap_ttls_decrypt()
1418 wpabuf_clear_free(in_decrypted); in eap_ttls_decrypt()
1445 if (eap_ttls_parse_avps(in_decrypted, &parse) < 0) { in eap_ttls_decrypt()
1451 &parse, in_decrypted, out_data); in eap_ttls_decrypt()
[all …]
H A Deap_fast.c1295 struct wpabuf *in_decrypted; in eap_fast_decrypt() local
1307 in_decrypted = data->pending_phase2_req; in eap_fast_decrypt()
1319 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_fast_decrypt()
1325 in_decrypted); in eap_fast_decrypt()
1327 if (wpabuf_len(in_decrypted) < 4) { in eap_fast_decrypt()
1330 (unsigned long) wpabuf_len(in_decrypted)); in eap_fast_decrypt()
1331 wpabuf_clear_free(in_decrypted); in eap_fast_decrypt()
1336 in_decrypted, out_data); in eap_fast_decrypt()
1338 wpabuf_clear_free(in_decrypted); in eap_fast_decrypt()
H A Deap_teap.c1387 struct wpabuf *in_decrypted; in eap_teap_decrypt() local
1400 in_decrypted = data->pending_phase2_req; in eap_teap_decrypt()
1421 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_teap_decrypt()
1427 in_decrypted); in eap_teap_decrypt()
1429 if (wpabuf_len(in_decrypted) < 4) { in eap_teap_decrypt()
1432 (unsigned long) wpabuf_len(in_decrypted)); in eap_teap_decrypt()
1433 wpabuf_free(in_decrypted); in eap_teap_decrypt()
1438 in_decrypted, out_data); in eap_teap_decrypt()
1440 wpabuf_free(in_decrypted); in eap_teap_decrypt()
H A Deap_tls_common.h128 struct wpabuf **in_decrypted);
H A Deap_tls_common.c1028 struct wpabuf **in_decrypted) in eap_peer_tls_decrypt() argument
1037 *in_decrypted = tls_connection_decrypt(data->ssl_ctx, data->conn, msg); in eap_peer_tls_decrypt()
1039 if (*in_decrypted == NULL) { in eap_peer_tls_decrypt()
/freebsd-12.1/contrib/wpa/src/eap_server/
H A Deap_server_peap.c1063 struct wpabuf *in_decrypted; in eap_peap_process_phase2() local
1082 if (in_decrypted == NULL) { in eap_peap_process_phase2()
1090 in_decrypted); in eap_peap_process_phase2()
1097 wpabuf_len(in_decrypted)); in eap_peap_process_phase2()
1099 wpabuf_free(in_decrypted); in eap_peap_process_phase2()
1110 wpabuf_free(in_decrypted); in eap_peap_process_phase2()
1112 in_decrypted = nbuf; in eap_peap_process_phase2()
1115 hdr = wpabuf_head(in_decrypted); in eap_peap_process_phase2()
1120 wpabuf_free(in_decrypted); in eap_peap_process_phase2()
1130 wpabuf_free(in_decrypted); in eap_peap_process_phase2()
[all …]
H A Deap_server_ttls.c1008 struct wpabuf *in_decrypted; in eap_ttls_process_phase2() local
1025 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, in eap_ttls_process_phase2()
1027 if (in_decrypted == NULL) { in eap_ttls_process_phase2()
1035 in_decrypted); in eap_ttls_process_phase2()
1037 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) { in eap_ttls_process_phase2()
1039 wpabuf_free(in_decrypted); in eap_ttls_process_phase2()
1107 wpabuf_free(in_decrypted); in eap_ttls_process_phase2()
H A Deap_server_fast.c1385 struct wpabuf *in_decrypted; in eap_fast_process_phase2() local
1400 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, in eap_fast_process_phase2()
1402 if (in_decrypted == NULL) { in eap_fast_process_phase2()
1410 in_decrypted); in eap_fast_process_phase2()
1412 eap_fast_process_phase2_tlvs(sm, data, in_decrypted); in eap_fast_process_phase2()
1418 data->pending_phase2_resp = in_decrypted; in eap_fast_process_phase2()
1422 wpabuf_free(in_decrypted); in eap_fast_process_phase2()
H A Deap_server_teap.c1531 struct wpabuf *in_decrypted; in eap_teap_process_phase2() local
1547 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, in eap_teap_process_phase2()
1549 if (!in_decrypted) { in eap_teap_process_phase2()
1557 in_decrypted); in eap_teap_process_phase2()
1559 eap_teap_process_phase2_tlvs(sm, data, in_decrypted); in eap_teap_process_phase2()
1565 data->pending_phase2_resp = in_decrypted; in eap_teap_process_phase2()
1569 wpabuf_free(in_decrypted); in eap_teap_process_phase2()