Searched refs:previous_keypair (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/wireguard/ |
D | noise.c | 166 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 …]
|
D | noise.h | 45 struct noise_keypair __rcu *previous_keypair; member
|