/hostap-latest/src/crypto/ |
D | dh_groups.c | 1214 wpabuf_mhead(*priv), wpabuf_mhead(pv)) < 0) { in dh_init() 1257 wpabuf_mhead(shared), &shared_len) < 0) { in dh_derive_shared()
|
D | tls_internal.c | 566 wpabuf_mhead(buf), in tls_connection_encrypt() 585 wpabuf_mhead(buf), in tls_connection_encrypt() 631 wpabuf_mhead(buf), in tls_connection_decrypt2()
|
D | crypto_wolfssl.c | 964 if (wc_DhGenerateKeyPair(dh, &rng, wpabuf_mhead(privkey), &priv_sz, in dh5_init() 965 wpabuf_mhead(pubkey), &pub_sz) != 0) in dh5_init() 1046 if (wc_DhAgree(ctx, wpabuf_mhead(secret), &secret_sz, in dh5_derive_shared() 2259 ret = wc_ecc_import_point_der(wpabuf_mhead(pubkey), 1 + 2 * key_len, in crypto_ecdh_set_peerkey() 2465 err = wc_EccPublicKeyToDer_ex(key->eckey, wpabuf_mhead(ret), der_len, 1, in crypto_ec_key_get_subject_public_key() 2472 err = wc_EccPublicKeyToDer_ex(key->eckey, wpabuf_mhead(ret), in crypto_ec_key_get_subject_public_key() 2546 err = wc_ecc_sign_hash(data, len, wpabuf_mhead(ret), &w32_der_len, in crypto_ec_key_sign() 2673 err = wc_ecc_export_x963(key->eckey, wpabuf_mhead(ret), &len); in crypto_ec_key_get_pubkey_point() 2679 err = wc_ecc_export_x963(key->eckey, wpabuf_mhead(ret), &len); in crypto_ec_key_get_pubkey_point() 2687 os_memmove(wpabuf_mhead(ret), wpabuf_mhead_u8(ret) + 1, in crypto_ec_key_get_pubkey_point() [all …]
|
D | tls_gnutls.c | 1429 res = gnutls_record_recv(conn->session, wpabuf_mhead(ad), in gnutls_get_appl_data() 1626 res = gnutls_record_recv(conn->session, wpabuf_mhead(out), in tls_connection_decrypt()
|
D | crypto_mbedtls_alt.c | 1608 …mbedtls_dhm_calc_secret(ctx, wpabuf_mhead(buf), olen, &olen, hostap_rng_fn, hostap_rng_ctx()) == 0) in dh5_derive_shared() 1966 …if (mbedtls_ecdh_calc_secret(&ecdh->ctx, &len, wpabuf_mhead(buf), len, hostap_rng_fn, hostap_rng_c… in crypto_ecdh_set_peerkey() 2735 os_memmove(wpabuf_mhead(buf), ((u8 *)wpabuf_mhead(buf) + 1), --len); in crypto_ec_key_get_pubkey_point()
|
D | tls_wolfssl.c | 1716 res = wolfSSL_read(conn->ssl, wpabuf_mhead(appl_data), in wolfssl_get_appl_data() 1843 res = wolfSSL_read(conn->ssl, wpabuf_mhead(buf), wpabuf_size(buf)); in tls_connection_decrypt()
|
D | crypto_openssl.c | 1251 EVP_PKEY_derive(dctx, wpabuf_mhead(res), &len) != 1) { in dh5_derive_shared() 1283 keylen = DH_compute_key(wpabuf_mhead(res), pub_key, dh); in dh5_derive_shared() 2887 EVP_PKEY_derive(ctx, wpabuf_mhead(res), &res_len) != 1) { in crypto_ecdh_set_peerkey() 3754 pos = wpabuf_mhead(buf); in crypto_ec_key_get_pubkey_point() 3797 pos = wpabuf_mhead(buf); in crypto_ec_key_get_pubkey_point()
|
D | tls_openssl.c | 4607 res = res == 0 ? 0 : BIO_read(conn->ssl_out, wpabuf_mhead(out_data), in openssl_handshake() 4635 res = SSL_read(conn->ssl, wpabuf_mhead(appl_data), in openssl_get_appl_data() 4764 res = BIO_read(conn->ssl_out, wpabuf_mhead(buf), wpabuf_size(buf)); in tls_connection_encrypt() 4807 res = SSL_read(conn->ssl, wpabuf_mhead(buf), wpabuf_size(buf)); in tls_connection_decrypt()
|
/hostap-latest/src/utils/ |
D | wpabuf.h | 108 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead() function 115 return (u8 *) wpabuf_mhead(buf); in wpabuf_mhead_u8()
|
D | ext_password.c | 107 os_memset(wpabuf_mhead(pw), 0, wpabuf_len(pw)); in ext_password_free()
|
D | wpabuf.c | 211 os_memset(wpabuf_mhead(buf), 0, wpabuf_len(buf)); in wpabuf_clear_free()
|
/hostap-latest/src/eap_server/ |
D | eap_server_pax.c | 111 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()
|
D | eap_server_ttls.c | 144 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()
|
D | eap_server_fast.c | 1144 pos = wpabuf_mhead(data); in eap_fast_parse_tlvs()
|
D | eap_server_teap.c | 1370 pos = wpabuf_mhead(data); in eap_teap_parse_tlvs()
|
/hostap-latest/src/eap_peer/ |
D | eap_ttls.c | 281 avp = wpabuf_mhead(msg); in eap_ttls_avp_encapsulate() 559 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_mschapv2() 653 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_mschap() 752 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_pap() 809 pos = buf = wpabuf_mhead(msg); in eap_ttls_phase2_request_chap() 1062 pos = wpabuf_mhead(in_decrypted); in eap_ttls_parse_avps()
|
D | eap_peap.c | 635 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()
|
D | eap_fast.c | 1107 pos = wpabuf_mhead(decrypted); in eap_fast_parse_decrypted()
|
D | eap_teap.c | 1169 pos = wpabuf_mhead(decrypted); in eap_teap_parse_decrypted()
|
/hostap-latest/src/eap_common/ |
D | eap_common.c | 170 hdr = wpabuf_mhead(msg); in eap_update_len()
|
D | eap_sim_common.c | 1019 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()
|
D | ikev2_common.c | 525 hdr = wpabuf_mhead(msg); in ikev2_update_hdr() 587 wpabuf_head(plain), wpabuf_mhead(plain), in ikev2_build_encrypted()
|
/hostap-latest/src/ap/ |
D | fils_hlp.c | 53 pos = wpabuf_mhead(sta->hlp_dhcp_discover); in fils_dhcp_request()
|
/hostap-latest/src/radius/ |
D | radius.c | 763 msg->hdr = wpabuf_mhead(msg->buf); in radius_msg_add_attr() 851 msg->hdr = wpabuf_mhead(msg->buf); in radius_msg_parse()
|
/hostap-latest/src/wps/ |
D | wps_common.c | 177 if (aes_128_cbc_decrypt(wps->keywrapkey, encr, wpabuf_mhead(decrypted), in wps_decrypt_encr_settings()
|