Home
last modified time | relevance | path

Searched refs:private_key (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireguard/
Dnetlink.c546 u8 *private_key = nla_data(info->attrs[WGDEVICE_A_PRIVATE_KEY]); in wg_set_device() local
552 private_key, NOISE_PUBLIC_KEY_LEN)) in wg_set_device()
558 if (curve25519_generate_public(public_key, private_key)) { in wg_set_device()
569 wg_noise_set_static_identity_private_key(&wg->static_identity, private_key); in wg_set_device()
Dnoise.h116 const u8 private_key[NOISE_PUBLIC_KEY_LEN]);
Dnoise.c296 const u8 private_key[NOISE_PUBLIC_KEY_LEN]) in wg_noise_set_static_identity_private_key()
298 memcpy(static_identity->static_private, private_key, in wg_noise_set_static_identity_private_key()
302 static_identity->static_public, private_key); in wg_noise_set_static_identity_private_key()