Home
last modified time | relevance | path

Searched refs:wpabuf_mhead (Results 1 – 20 of 20) sorted by relevance

/external/wpa_supplicant_8/src/utils/
Dwpabuf.h92 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead() function
99 return (u8 *) wpabuf_mhead(buf); in wpabuf_mhead_u8()
Dext_password.c108 os_memset(wpabuf_mhead(pw), 0, wpabuf_len(pw)); in ext_password_free()
Dwpabuf.c211 os_memset(wpabuf_mhead(buf), 0, wpabuf_len(buf)); in wpabuf_clear_free()
/external/wpa_supplicant_8/src/crypto/
Ddh_groups.c1228 dh->prime, dh->prime_len, wpabuf_mhead(pv), in dh_init()
1267 wpabuf_mhead(shared), &shared_len) < 0) { in dh_derive_shared()
Dtls_internal.c539 wpabuf_mhead(buf), in tls_connection_encrypt()
558 wpabuf_mhead(buf), in tls_connection_encrypt()
604 wpabuf_mhead(buf), in tls_connection_decrypt2()
Dtls_gnutls.c1283 res = gnutls_record_recv(conn->session, wpabuf_mhead(ad), in gnutls_get_appl_data()
1464 res = gnutls_record_recv(conn->session, wpabuf_mhead(out), in tls_connection_decrypt()
Dtls_openssl.c3305 res = res == 0 ? 0 : BIO_read(conn->ssl_out, wpabuf_mhead(out_data), in openssl_handshake()
3333 res = SSL_read(conn->ssl, wpabuf_mhead(appl_data), in openssl_get_appl_data()
3445 res = BIO_read(conn->ssl_out, wpabuf_mhead(buf), wpabuf_size(buf)); in tls_connection_encrypt()
3488 res = SSL_read(conn->ssl, wpabuf_mhead(buf), wpabuf_size(buf)); in tls_connection_decrypt()
Dcrypto_openssl.c708 keylen = DH_compute_key(wpabuf_mhead(res), pub_key, dh); in dh5_derive_shared()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pax.c111 wpabuf_mhead(req), wpabuf_len(req) - EAP_PAX_ICV_LEN, in eap_pax_build_std_1()
157 wpabuf_mhead(req), wpabuf_len(req) - EAP_PAX_ICV_LEN, in eap_pax_build_std_3()
268 wpabuf_mhead(respData), in eap_pax_check()
Deap_server_ttls.c144 pos = eap_ttls_avp_hdr(wpabuf_mhead(avp), avp_code, 0, mandatory, in eap_ttls_avp_encapsulate()
184 pos = wpabuf_mhead(buf); in eap_ttls_avp_parse()
Deap_server_fast.c1142 pos = wpabuf_mhead(data); in eap_fast_parse_tlvs()
/external/wpa_supplicant_8/src/eap_peer/
Deap_ttls.c256 avp = wpabuf_mhead(msg); in eap_ttls_avp_encapsulate()
503 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_mschapv2()
597 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_mschap()
680 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_pap()
737 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_chap()
991 pos = wpabuf_mhead(in_decrypted); in eap_ttls_parse_avps()
Deap_peap.c598 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request()
791 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
823 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
Deap_fast.c1096 pos = wpabuf_mhead(decrypted); in eap_fast_parse_decrypted()
/external/wpa_supplicant_8/src/eap_common/
Deap_common.c170 hdr = wpabuf_mhead(msg); in eap_update_len()
Deap_sim_common.c1017 eap = wpabuf_mhead(msg->buf); in eap_sim_msg_finish()
1024 (u8 *) wpabuf_mhead(msg->buf) + in eap_sim_msg_finish()
1031 (u8 *) wpabuf_mhead(msg->buf) + msg->mac, in eap_sim_msg_finish()
Dikev2_common.c525 hdr = wpabuf_mhead(msg); in ikev2_update_hdr()
587 wpabuf_head(plain), wpabuf_mhead(plain), in ikev2_build_encrypted()
/external/wpa_supplicant_8/src/radius/
Dradius.c641 msg->hdr = wpabuf_mhead(msg->buf); in radius_msg_add_attr()
698 msg->hdr = wpabuf_mhead(msg->buf); in radius_msg_parse()
/external/wpa_supplicant_8/src/wps/
Dwps_common.c174 if (aes_128_cbc_decrypt(wps->keywrapkey, encr, wpabuf_mhead(decrypted), in wps_decrypt_encr_settings()
Dwps_er.c1127 data = wpabuf_mhead(event); in wps_er_process_wlanevent()