Home
last modified time | relevance | path

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

/drivers/net/wireguard/
Dnoise.h30 struct noise_keypair { struct
44 struct noise_keypair __rcu *current_keypair; argument
45 struct noise_keypair __rcu *previous_keypair;
46 struct noise_keypair __rcu *next_keypair;
107 void wg_noise_keypair_put(struct noise_keypair *keypair, bool unreference_now);
108 struct noise_keypair *wg_noise_keypair_get(struct noise_keypair *keypair);
111 struct noise_keypair *received_keypair);
Dnoise.c98 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()
[all …]
Dsend.c126 struct noise_keypair *keypair; in keep_key_fresh()
162 static bool encrypt_packet(struct sk_buff *skb, struct noise_keypair *keypair) in encrypt_packet()
265 struct noise_keypair *keypair; in wg_packet_tx_worker()
343 struct noise_keypair *keypair; in wg_packet_send_staged_packets()
Dreceive.c229 struct noise_keypair *keypair; in keep_key_fresh()
249 static bool decrypt_packet(struct sk_buff *skb, struct noise_keypair *keypair) in decrypt_packet()
448 struct noise_keypair *keypair; in wg_packet_rx_poll()
524 (struct noise_keypair *)wg_index_hashtable_lookup( in wg_packet_consume_data()
Dqueueing.h61 struct noise_keypair *keypair;