Home
last modified time | relevance | path

Searched refs:static_identity (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/wireguard/
H A Dnoise.c50 if (!peer->handshake.static_identity->has_identity || in wg_noise_precompute_static_static()
52 peer->handshake.static_identity->static_private, in wg_noise_precompute_static_static()
60 struct noise_static_identity *static_identity, in wg_noise_handshake_init() argument
73 handshake->static_identity = static_identity; in wg_noise_handshake_init()
295 struct noise_static_identity *static_identity, in wg_noise_set_static_identity_private_key() argument
298 memcpy(static_identity->static_private, private_key, in wg_noise_set_static_identity_private_key()
300 curve25519_clamp_secret(static_identity->static_private); in wg_noise_set_static_identity_private_key()
301 static_identity->has_identity = curve25519_generate_public( in wg_noise_set_static_identity_private_key()
302 static_identity->static_public, private_key); in wg_noise_set_static_identity_private_key()
529 down_read(&handshake->static_identity->lock); in wg_noise_handshake_create_initiation()
[all …]
H A Dnoise.h71 struct noise_static_identity *static_identity; member
96 struct noise_static_identity *static_identity,
115 struct noise_static_identity *static_identity,
H A Dcookie.c47 if (likely(checker->device->static_identity.has_identity)) { in wg_cookie_checker_precompute_device_keys()
49 checker->device->static_identity.static_public, in wg_cookie_checker_precompute_device_keys()
52 checker->device->static_identity.static_public, in wg_cookie_checker_precompute_device_keys()
H A Ddevice.h45 struct noise_static_identity static_identity; member
H A Dpeer.c40 wg_noise_handshake_init(&peer->handshake, &wg->static_identity, in wg_peer_create()