Searched refs:private_key (Results 1 – 3 of 3) sorted by relevance
546 u8 *private_key = nla_data(info->attrs[WGDEVICE_A_PRIVATE_KEY]); in wg_set_device() local552 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()
116 const u8 private_key[NOISE_PUBLIC_KEY_LEN]);
296 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()