Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireguard/
Dnetlink.c35 [WGPEER_A_PRESHARED_KEY] = NLA_POLICY_EXACT_LEN(NOISE_SYMMETRIC_KEY_LEN),
130 fail = nla_put(skb, WGPEER_A_PRESHARED_KEY, in get_peer()
370 if (attrs[WGPEER_A_PRESHARED_KEY] && in set_peer()
371 nla_len(attrs[WGPEER_A_PRESHARED_KEY]) == NOISE_SYMMETRIC_KEY_LEN) in set_peer()
372 preshared_key = nla_data(attrs[WGPEER_A_PRESHARED_KEY]); in set_peer()
487 if (attrs[WGPEER_A_PRESHARED_KEY]) in set_peer()
488 memzero_explicit(nla_data(attrs[WGPEER_A_PRESHARED_KEY]), in set_peer()
489 nla_len(attrs[WGPEER_A_PRESHARED_KEY])); in set_peer()
/linux-6.6.21/include/uapi/linux/
Dwireguard.h174 WGPEER_A_PRESHARED_KEY, enumerator