Home
last modified time | relevance | path

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

/drivers/net/wireguard/
Dnoise.c199 struct noise_keypair *new_keypair) in add_new_keypair() argument
210 if (new_keypair->i_am_the_initiator) { in add_new_keypair()
238 rcu_assign_pointer(keypairs->current_keypair, new_keypair); in add_new_keypair()
245 rcu_assign_pointer(keypairs->next_keypair, new_keypair); in add_new_keypair()
819 struct noise_keypair *new_keypair; in wg_noise_handshake_begin_session() local
827 new_keypair = keypair_create(handshake->entry.peer); in wg_noise_handshake_begin_session()
828 if (!new_keypair) in wg_noise_handshake_begin_session()
830 new_keypair->i_am_the_initiator = handshake->state == in wg_noise_handshake_begin_session()
832 new_keypair->remote_index = handshake->remote_index; in wg_noise_handshake_begin_session()
834 if (new_keypair->i_am_the_initiator) in wg_noise_handshake_begin_session()
[all …]