Lines Matching refs:noise_keypair
98 static struct noise_keypair *keypair_create(struct wg_peer *peer) in keypair_create()
100 struct noise_keypair *keypair = kzalloc(sizeof(*keypair), GFP_KERNEL); in keypair_create()
114 kfree_sensitive(container_of(rcu, struct noise_keypair, rcu)); in keypair_free_rcu()
119 struct noise_keypair *keypair = in keypair_free_kref()
120 container_of(kref, struct noise_keypair, refcount); in keypair_free_kref()
131 void wg_noise_keypair_put(struct noise_keypair *keypair, bool unreference_now) in wg_noise_keypair_put()
142 struct noise_keypair *wg_noise_keypair_get(struct noise_keypair *keypair) in wg_noise_keypair_get()
153 struct noise_keypair *old; in wg_noise_keypairs_clear()
181 struct noise_keypair *keypair; in wg_noise_expire_current_peer_keypairs()
199 struct noise_keypair *new_keypair) in add_new_keypair()
201 struct noise_keypair *previous_keypair, *next_keypair, *current_keypair; in add_new_keypair()
254 struct noise_keypair *received_keypair) in wg_noise_received_with_keypair()
256 struct noise_keypair *old_keypair; in wg_noise_received_with_keypair()
819 struct noise_keypair *new_keypair; in wg_noise_handshake_begin_session()