Home
last modified time | relevance | path

Searched refs:dh_shared (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_common.c64 struct wpabuf *pubkey, *dh_shared; in wps_derive_keys() local
83 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey); in wps_derive_keys()
86 dh_shared = wpabuf_zeropad(dh_shared, 192); in wps_derive_keys()
87 if (dh_shared == NULL) { in wps_derive_keys()
96 wpa_hexdump_buf_key(MSG_DEBUG, "WPS: DH shared key", dh_shared); in wps_derive_keys()
99 addr[0] = wpabuf_head(dh_shared); in wps_derive_keys()
100 len[0] = wpabuf_len(dh_shared); in wps_derive_keys()
103 wpabuf_clear_free(dh_shared); in wps_derive_keys()
/external/boringssl/src/crypto/curve25519/
Dspake25519.c504 ge_p2 dh_shared; in SPAKE2_process_msg() local
505 x25519_ge_scalarmult(&dh_shared, ctx->private_key, &Q_ext); in SPAKE2_process_msg()
508 x25519_ge_tobytes(dh_shared_encoded, &dh_shared); in SPAKE2_process_msg()