Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireguard/
Dnoise.c151 void wg_noise_keypairs_clear(struct noise_keypairs *keypairs) in wg_noise_keypairs_clear() argument
155 spin_lock_bh(&keypairs->keypair_update_lock); in wg_noise_keypairs_clear()
161 old = rcu_dereference_protected(keypairs->next_keypair, in wg_noise_keypairs_clear()
162 lockdep_is_held(&keypairs->keypair_update_lock)); in wg_noise_keypairs_clear()
163 RCU_INIT_POINTER(keypairs->next_keypair, NULL); in wg_noise_keypairs_clear()
166 old = rcu_dereference_protected(keypairs->previous_keypair, in wg_noise_keypairs_clear()
167 lockdep_is_held(&keypairs->keypair_update_lock)); in wg_noise_keypairs_clear()
168 RCU_INIT_POINTER(keypairs->previous_keypair, NULL); in wg_noise_keypairs_clear()
171 old = rcu_dereference_protected(keypairs->current_keypair, in wg_noise_keypairs_clear()
172 lockdep_is_held(&keypairs->keypair_update_lock)); in wg_noise_keypairs_clear()
[all …]
Dnoise.h109 void wg_noise_keypairs_clear(struct noise_keypairs *keypairs);
110 bool wg_noise_received_with_keypair(struct noise_keypairs *keypairs,
133 struct noise_keypairs *keypairs);
Dpeer.c47 spin_lock_init(&peer->keypairs.keypair_update_lock); in wg_peer_create()
102 wg_noise_keypairs_clear(&peer->keypairs); in peer_remove_after_dead()
Dsend.c97 &peer->keypairs)) { in wg_packet_send_handshake_response()
130 keypair = rcu_dereference_bh(peer->keypairs.current_keypair); in keep_key_fresh()
358 rcu_dereference_bh(peer->keypairs.current_keypair)); in wg_packet_send_staged_packets()
Dpeer.h42 struct noise_keypairs keypairs; member
Dreceive.c184 &peer->keypairs)) { in wg_receive_handshake_packet()
236 keypair = rcu_dereference_bh(peer->keypairs.current_keypair); in keep_key_fresh()
352 if (unlikely(wg_noise_received_with_keypair(&peer->keypairs, in wg_packet_consume_data_done()
Ddevice.c86 wg_noise_keypairs_clear(&peer->keypairs); in wg_pm_notification()
109 wg_noise_keypairs_clear(&peer->keypairs); in wg_stop()
Dtimers.c131 wg_noise_keypairs_clear(&peer->keypairs); in wg_queued_expired_zero_key_material()
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dmodule-signing.rst128 Cryptographic keypairs are required to generate and check signatures. A
/kernel/linux/linux-5.10/Documentation/process/
Dmaintainer-pgp-guide.rst152 Subkeys are fully independent PGP keypairs that are tied to the "master"