Lines Matching refs:in_decrypted
1055 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, in eap_ttls_parse_avps() argument
1062 pos = wpabuf_mhead(in_decrypted); in eap_ttls_parse_avps()
1063 left = wpabuf_len(in_decrypted); in eap_ttls_parse_avps()
1295 struct wpabuf *in_decrypted, in eap_ttls_process_decrypted() argument
1357 data->pending_phase2_req = wpabuf_dup(in_decrypted); in eap_ttls_process_decrypted()
1453 struct wpabuf *in_decrypted = NULL; in eap_ttls_decrypt() local
1469 in_decrypted = data->pending_phase2_req; in eap_ttls_decrypt()
1471 if (wpabuf_len(in_decrypted) == 0) { in eap_ttls_decrypt()
1472 wpabuf_clear_free(in_decrypted); in eap_ttls_decrypt()
1493 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_ttls_decrypt()
1496 if (wpabuf_len(in_decrypted) == 0) { in eap_ttls_decrypt()
1497 wpabuf_free(in_decrypted); in eap_ttls_decrypt()
1502 if (data->ssl.tls_v13 && wpabuf_len(in_decrypted) == 1 && in eap_ttls_decrypt()
1503 *wpabuf_head_u8(in_decrypted) == 0) { in eap_ttls_decrypt()
1507 wpabuf_free(in_decrypted); in eap_ttls_decrypt()
1514 if (eap_ttls_parse_avps(in_decrypted, &parse) < 0) { in eap_ttls_decrypt()
1520 &parse, in_decrypted, out_data); in eap_ttls_decrypt()
1523 wpabuf_clear_free(in_decrypted); in eap_ttls_decrypt()