Searched refs:in_decrypted (Results 1 – 8 of 8) sorted by relevance
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_peap.c | 745 struct wpabuf *in_decrypted = NULL; in eap_peap_decrypt() local 759 in_decrypted = data->pending_phase2_req; in eap_peap_decrypt() 784 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_peap_decrypt() 790 in_decrypted); in eap_peap_decrypt() 792 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt() 793 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST && in eap_peap_decrypt() 795 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) { in eap_peap_decrypt() 800 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST && in eap_peap_decrypt() 801 eap_get_type(in_decrypted) == EAP_TYPE_TLV) { in eap_peap_decrypt() 808 wpabuf_len(in_decrypted)); in eap_peap_decrypt() [all …]
|
D | eap_ttls.c | 984 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, in eap_ttls_parse_avps() argument 991 pos = wpabuf_mhead(in_decrypted); in eap_ttls_parse_avps() 992 left = wpabuf_len(in_decrypted); in eap_ttls_parse_avps() 1224 struct wpabuf *in_decrypted, in eap_ttls_process_decrypted() argument 1286 data->pending_phase2_req = wpabuf_dup(in_decrypted); in eap_ttls_process_decrypted() 1382 struct wpabuf *in_decrypted = NULL; in eap_ttls_decrypt() local 1398 in_decrypted = data->pending_phase2_req; in eap_ttls_decrypt() 1400 if (wpabuf_len(in_decrypted) == 0) { in eap_ttls_decrypt() 1401 wpabuf_free(in_decrypted); in eap_ttls_decrypt() 1421 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_ttls_decrypt() [all …]
|
D | eap_fast.c | 1295 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_free(in_decrypted); in eap_fast_decrypt() 1336 in_decrypted, out_data); in eap_fast_decrypt() 1338 wpabuf_free(in_decrypted); in eap_fast_decrypt()
|
D | eap_tls_common.h | 120 struct wpabuf **in_decrypted);
|
D | eap_tls_common.c | 943 struct wpabuf **in_decrypted) in eap_peer_tls_decrypt() argument 952 *in_decrypted = tls_connection_decrypt(data->ssl_ctx, data->conn, msg); in eap_peer_tls_decrypt() 954 if (*in_decrypted == NULL) { in eap_peer_tls_decrypt()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_peap.c | 1059 struct wpabuf *in_decrypted; in eap_peap_process_phase2() local 1076 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, in eap_peap_process_phase2() 1078 if (in_decrypted == NULL) { in eap_peap_process_phase2() 1086 in_decrypted); in eap_peap_process_phase2() 1093 wpabuf_len(in_decrypted)); in eap_peap_process_phase2() 1095 wpabuf_free(in_decrypted); in eap_peap_process_phase2() 1104 wpabuf_len(in_decrypted)); in eap_peap_process_phase2() 1105 wpabuf_put_buf(nbuf, in_decrypted); in eap_peap_process_phase2() 1106 wpabuf_free(in_decrypted); in eap_peap_process_phase2() 1108 in_decrypted = nbuf; in eap_peap_process_phase2() [all …]
|
D | eap_server_ttls.c | 1006 struct wpabuf *in_decrypted; in eap_ttls_process_phase2() local 1023 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, in eap_ttls_process_phase2() 1025 if (in_decrypted == NULL) { in eap_ttls_process_phase2() 1033 in_decrypted); in eap_ttls_process_phase2() 1035 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) { in eap_ttls_process_phase2() 1037 wpabuf_free(in_decrypted); in eap_ttls_process_phase2() 1106 wpabuf_free(in_decrypted); in eap_ttls_process_phase2()
|
D | eap_server_fast.c | 1386 struct wpabuf *in_decrypted; in eap_fast_process_phase2() local 1401 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, in eap_fast_process_phase2() 1403 if (in_decrypted == NULL) { in eap_fast_process_phase2() 1411 in_decrypted); in eap_fast_process_phase2() 1413 eap_fast_process_phase2_tlvs(sm, data, in_decrypted); in eap_fast_process_phase2() 1419 data->pending_phase2_resp = in_decrypted; in eap_fast_process_phase2() 1423 wpabuf_free(in_decrypted); in eap_fast_process_phase2()
|