Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireguard/
Dnoise.c166 old = rcu_dereference_protected(keypairs->previous_keypair, in wg_noise_keypairs_clear()
168 RCU_INIT_POINTER(keypairs->previous_keypair, NULL); in wg_noise_keypairs_clear()
201 struct noise_keypair *previous_keypair, *next_keypair, *current_keypair; in add_new_keypair() local
204 previous_keypair = rcu_dereference_protected(keypairs->previous_keypair, in add_new_keypair()
226 rcu_assign_pointer(keypairs->previous_keypair, in add_new_keypair()
232 rcu_assign_pointer(keypairs->previous_keypair, in add_new_keypair()
237 wg_noise_keypair_put(previous_keypair, true); in add_new_keypair()
247 RCU_INIT_POINTER(keypairs->previous_keypair, NULL); in add_new_keypair()
248 wg_noise_keypair_put(previous_keypair, true); in add_new_keypair()
280 old_keypair = rcu_dereference_protected(keypairs->previous_keypair, in wg_noise_received_with_keypair()
[all …]
Dnoise.h45 struct noise_keypair __rcu *previous_keypair; member