Home
last modified time | relevance | path

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

123

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Ddh_groups.c1214 wpabuf_mhead(*priv), wpabuf_mhead(pv)) < 0) { in dh_init()
1257 wpabuf_mhead(shared), &shared_len) < 0) { in dh_derive_shared()
Dtls_internal.c574 wpabuf_mhead(buf), in tls_connection_encrypt()
593 wpabuf_mhead(buf), in tls_connection_encrypt()
639 wpabuf_mhead(buf), in tls_connection_decrypt2()
Dcrypto_wolfssl.c673 if (wc_DhGenerateKeyPair(dh, &rng, wpabuf_mhead(privkey), &priv_sz, in dh5_init()
674 wpabuf_mhead(pubkey), &pub_sz) != 0) in dh5_init()
751 if (wc_DhAgree(ctx, wpabuf_mhead(secret), &secret_sz, in dh5_derive_shared()
1822 ret = wc_ecc_import_point_der(wpabuf_mhead(pubkey), 1 + 2 * key_len, in crypto_ecdh_set_peerkey()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Ddh_groups.c1214 wpabuf_mhead(*priv), wpabuf_mhead(pv)) < 0) { in dh_init()
1257 wpabuf_mhead(shared), &shared_len) < 0) { in dh_derive_shared()
Dtls_internal.c574 wpabuf_mhead(buf), in tls_connection_encrypt()
593 wpabuf_mhead(buf), in tls_connection_encrypt()
639 wpabuf_mhead(buf), in tls_connection_decrypt2()
Dcrypto_wolfssl.c673 if (wc_DhGenerateKeyPair(dh, &rng, wpabuf_mhead(privkey), &priv_sz, in dh5_init()
674 wpabuf_mhead(pubkey), &pub_sz) != 0) in dh5_init()
755 if (wc_DhAgree(ctx, wpabuf_mhead(secret), &secret_sz, in dh5_derive_shared()
1804 ret = wc_ecc_import_point_der(wpabuf_mhead(pubkey), 1 + 2 * key_len, in crypto_ecdh_set_peerkey()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dwpabuf.h93 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead() function
100 return (u8 *) wpabuf_mhead(buf); in wpabuf_mhead_u8()
Dext_password.c104 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dwpabuf.h108 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead() function
115 return (u8 *) wpabuf_mhead(buf); in wpabuf_mhead_u8()
Dext_password.c107 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_pax.c111 wpabuf_mhead(req), wpabuf_len(req) - EAP_PAX_ICV_LEN, in eap_pax_build_std_1()
167 wpabuf_mhead(req), wpabuf_len(req) - EAP_PAX_ICV_LEN, in eap_pax_build_std_3()
283 wpabuf_mhead(respData), in eap_pax_check()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_pax.c111 wpabuf_mhead(req), wpabuf_len(req) - EAP_PAX_ICV_LEN, in eap_pax_build_std_1()
167 wpabuf_mhead(req), wpabuf_len(req) - EAP_PAX_ICV_LEN, in eap_pax_build_std_3()
283 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_ttls.c256 avp = wpabuf_mhead(msg); in eap_ttls_avp_encapsulate()
505 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_mschapv2()
599 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_mschap()
698 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_pap()
755 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_chap()
1008 pos = wpabuf_mhead(in_decrypted); in eap_ttls_parse_avps()
Deap_peap.c601 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request()
795 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
827 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_ttls.c256 avp = wpabuf_mhead(msg); in eap_ttls_avp_encapsulate()
534 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_mschapv2()
628 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_mschap()
727 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_pap()
784 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_chap()
1037 pos = wpabuf_mhead(in_decrypted); in eap_ttls_parse_avps()
Deap_peap.c635 struct eap_hdr *hdr = wpabuf_mhead(req); in eap_peap_phase2_request()
849 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
881 hdr = wpabuf_mhead(in_decrypted); in eap_peap_decrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_common.c170 hdr = wpabuf_mhead(msg); in eap_update_len()
Deap_sim_common.c1019 eap = wpabuf_mhead(msg->buf); in eap_sim_msg_finish()
1026 (u8 *) wpabuf_mhead(msg->buf) + in eap_sim_msg_finish()
1033 (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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_common.c170 hdr = wpabuf_mhead(msg); in eap_update_len()
Deap_sim_common.c1019 eap = wpabuf_mhead(msg->buf); in eap_sim_msg_finish()
1026 (u8 *) wpabuf_mhead(msg->buf) + in eap_sim_msg_finish()
1033 (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()

123