/linux-6.14.4/drivers/net/wireguard/ |
D | noise.c | 46 /* Must hold peer->handshake.static_identity->lock */ 49 down_write(&peer->handshake.lock); in wg_noise_precompute_static_static() 50 if (!peer->handshake.static_identity->has_identity || in wg_noise_precompute_static_static() 51 !curve25519(peer->handshake.precomputed_static_static, in wg_noise_precompute_static_static() 52 peer->handshake.static_identity->static_private, in wg_noise_precompute_static_static() 53 peer->handshake.remote_static)) in wg_noise_precompute_static_static() 54 memset(peer->handshake.precomputed_static_static, 0, in wg_noise_precompute_static_static() 56 up_write(&peer->handshake.lock); in wg_noise_precompute_static_static() 59 void wg_noise_handshake_init(struct noise_handshake *handshake, in wg_noise_handshake_init() argument 65 memset(handshake, 0, sizeof(*handshake)); in wg_noise_handshake_init() [all …]
|
D | timers.c | 13 * - Timer for retransmitting the handshake if we don't hear back after 19 * - Timer for initiating new handshake if we have sent a packet but after have 47 pr_debug("%s: Handshake for peer %llu (%pISpfsc) did not complete after %d attempts, giving up\n", in wg_expired_retransmit_handshake() 53 * if we try unsuccessfully for too long to make a handshake. in wg_expired_retransmit_handshake() 65 …pr_debug("%s: Handshake for peer %llu (%pISpfsc) did not complete after %d seconds, retrying (try … in wg_expired_retransmit_handshake() 95 …pr_debug("%s: Retrying handshake with peer %llu (%pISpfsc) because we stopped hearing back after %… in wg_expired_new_handshake() 130 wg_noise_handshake_clear(&peer->handshake); in wg_queued_expired_zero_key_material() 166 * keepalive, data, or handshake. 174 * keepalive, data, or handshake. 181 /* Should be called after a handshake initiation message is sent. */ [all …]
|
D | noise.h | 95 void wg_noise_handshake_init(struct noise_handshake *handshake, 100 void wg_noise_handshake_clear(struct noise_handshake *handshake); 121 struct noise_handshake *handshake); 127 struct noise_handshake *handshake); 132 bool wg_noise_handshake_begin_session(struct noise_handshake *handshake,
|
D | send.c | 30 net_dbg_ratelimited("%s: Sending handshake initiation to peer %llu (%pISpfsc)\n", in wg_packet_send_handshake_initiation() 34 if (wg_noise_handshake_create_initiation(&packet, &peer->handshake)) { in wg_packet_send_handshake_initiation() 90 net_dbg_ratelimited("%s: Sending handshake response to peer %llu (%pISpfsc)\n", in wg_packet_send_handshake_response() 94 if (wg_noise_handshake_create_response(&packet, &peer->handshake)) { in wg_packet_send_handshake_response() 96 if (wg_noise_handshake_begin_session(&peer->handshake, in wg_packet_send_handshake_response() 116 net_dbg_skb_ratelimited("%s: Sending cookie response for denied handshake message for %pISpfsc\n", in wg_packet_send_handshake_cookie() 372 * handshake. in wg_packet_send_staged_packets() 396 /* We orphan the packets if we're waiting on a handshake, so that they in wg_packet_send_staged_packets() 411 * means we should initiate a new handshake. in wg_packet_send_staged_packets()
|
D | peer.c | 40 wg_noise_handshake_init(&peer->handshake, &wg->static_identity, in wg_peer_create() 135 * where it has processed an incoming handshake packet, but where in peer_remove_after_dead() 142 * hash table, which allows for a maximum of one handshake response, in peer_remove_after_dead() 193 /* The final zeroing takes care of clearing any remaining handshake key in rcu_release() 212 &peer->handshake.entry); in kref_release()
|
D | netlink.c | 116 down_read(&peer->handshake.lock); in get_peer() 118 peer->handshake.remote_static); in get_peer() 119 up_read(&peer->handshake.lock); in get_peer() 129 down_read(&peer->handshake.lock); in get_peer() 132 peer->handshake.preshared_key); in get_peer() 133 up_read(&peer->handshake.lock); in get_peer() 430 down_write(&peer->handshake.lock); in set_peer() 431 memcpy(&peer->handshake.preshared_key, preshared_key, in set_peer() 433 up_write(&peer->handshake.lock); in set_peer()
|
/linux-6.14.4/Documentation/networking/ |
D | tls-handshake.rst | 4 In-Kernel TLS Handshake 15 does not handle the TLS handshake subprotocol which is used to establish 19 There are several possible ways to provide a handshake service in the 22 aware of how the handshake gets done. 25 User handshake agent 28 As of this writing, there is no TLS handshake implementation in the 29 Linux kernel. To provide a handshake service, a handshake agent 31 kernel consumer might require a TLS handshake. Handshake agents listen 32 for events sent from the kernel that indicate a handshake request is 35 An open socket is passed to a handshake agent via a netlink operation, [all …]
|
D | tls.rst | 28 handshake is complete, we have all the parameters required to move the 127 messages (record type 21) and handshake messages (record type 22), etc. 206 In TLS 1.3, KeyUpdate handshake messages signal that the sender is 227 counts KeyUpdate handshake messages that have been received. 239 of calling send directly after a handshake using gnutls. 323 number of received KeyUpdate handshake messages, requiring userspace
|
/linux-6.14.4/net/handshake/ |
D | request.c | 3 * Handshake request lifetime events 24 #include <uapi/linux/handshake.h> 25 #include "handshake.h" 27 #include <trace/events/handshake.h> 33 * To avoid adding another pointer field to struct sock, net/handshake 102 * handshake_req_alloc - Allocate a handshake request 133 * handshake_req_private - Get per-handshake private data 134 * @req: handshake arguments 200 * handshake_req_submit - Submit a handshake request 201 * @sock: open socket on which to perform the handshake [all …]
|
D | tlshd.c | 19 #include <net/handshake.h> 24 #include <uapi/linux/handshake.h> 25 #include "handshake.h" 90 * @req: socket on which the handshake was performed 190 * @req: handshake parameters to return 270 * tls_client_hello_anon - request an anonymous TLS handshake on a socket 271 * @args: socket and handshake parameters for this request 275 * %0: Handshake request enqueue; ->done will be called when complete 296 * tls_client_hello_x509 - request an x.509-based TLS handshake on a socket 297 * @args: socket and handshake parameters for this request [all …]
|
D | netlink.c | 3 * Generic netlink handshake service 23 #include <uapi/linux/handshake.h> 24 #include "handshake.h" 27 #include <trace/events/handshake.h> 32 * @proto: handshake protocol 232 * handshake_pernet - Get the handshake private per-net structure 236 * handshake module, or NULL if handshake_init() failed. 251 pr_warn("handshake: hash initialization failed (%d)\n", ret); in handshake_init() 257 pr_warn("handshake: netlink registration failed (%d)\n", ret); in handshake_init() 267 * shunts the handshake consumer API to return ENOTSUPP in handshake_init() [all …]
|
D | Makefile | 3 # Makefile for the Generic HANDSHAKE service 10 obj-y += handshake.o 11 handshake-y := alert.o genl.o netlink.o request.o tlshd.o trace.o 13 obj-$(CONFIG_NET_HANDSHAKE_KUNIT_TEST) += handshake-test.o
|
D | genl.c | 3 /* Documentation/netlink/specs/handshake.yaml */ 11 #include <uapi/linux/handshake.h> 25 /* Ops table for handshake */
|
D | handshake.h | 3 * Generic netlink handshake service 29 /* One handshake request */ 49 /* Invariants for all handshake requests for one transport layer
|
D | trace.c | 18 #include "handshake.h" 22 #include <trace/events/handshake.h>
|
D | alert.c | 18 #include <net/handshake.h> 22 #include "handshake.h" 24 #include <trace/events/handshake.h>
|
D | genl.h | 3 /* Documentation/netlink/specs/handshake.yaml */ 12 #include <uapi/linux/handshake.h>
|
/linux-6.14.4/arch/powerpc/kernel/ |
D | smp-tbsync.c | 28 volatile int handshake; member 58 while (!tbsync->handshake) in smp_generic_take_timebase() 69 while (tbsync->handshake) in smp_generic_take_timebase() 94 tbsync->handshake = 1; in start_contest() 100 tbsync->handshake = 0; in start_contest() 164 tbsync->handshake = 1; in smp_generic_give_timebase() 167 tbsync->handshake = 0; in smp_generic_give_timebase()
|
/linux-6.14.4/Documentation/netlink/specs/ |
D | handshake.yaml | 8 name: handshake 12 doc: Netlink protocol to request a transport layer security handshake. 92 doc: Notify handlers that a new handshake request is waiting 96 doc: Handler retrieves next queued handshake request 114 doc: Handler reports handshake completion
|
/linux-6.14.4/drivers/char/ |
D | dsp56k.c | 60 #define handshake(count, maxio, timeout, ENABLE, f) \ macro 203 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 213 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 220 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 232 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 265 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 275 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 282 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 294 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write()
|
/linux-6.14.4/drivers/net/ipa/ |
D | ipa_qmi.h | 49 * of QMI messages that perform a "handshake" between the AP and modem. 53 * IPA hardware until this handshake is complete. 55 * If the modem crashes (or shuts down) a new handshake begins when the
|
/linux-6.14.4/Documentation/admin-guide/blockdev/drbd/ |
D | drbd-connection-state-overview.dot | 21 label="try to connect, handshake" 53 // handshake [label="drbd_connect()\ndrbd_do_handshake\ndrbd_sync_handshake() etc."] 65 …WFReportParams -> StandAlone [ label="during handshake\lpeers do not agree\labout something essent…
|
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/ |
D | psp_v11_0_8.c | 41 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_stop() 50 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_stop() 86 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_create() 116 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_create()
|
/linux-6.14.4/include/uapi/linux/ |
D | handshake.h | 3 /* Documentation/netlink/specs/handshake.yaml */ 9 #define HANDSHAKE_FAMILY_NAME "handshake"
|
/linux-6.14.4/drivers/pmdomain/imx/ |
D | imx8m-blk-ctrl.c | 426 * allow the handshake with the GPC to progress we put the VPUs in imx8mm_vpu_power_notifier() 435 * wait for the ADB handshake to happen, so we just delay for a in imx8mm_vpu_power_notifier() 436 * bit. On power down the GPC driver waits for the handshake. in imx8mm_vpu_power_notifier() 539 * wait for the ADB handshake to happen, so we just delay for a in imx8mm_disp_power_notifier() 540 * bit. On power down the GPC driver waits for the handshake. in imx8mm_disp_power_notifier() 609 * wait for the ADB handshake to happen, so we just delay for a in imx8mn_disp_power_notifier() 610 * bit. On power down the GPC driver waits for the handshake. in imx8mn_disp_power_notifier() 684 * wait for the ADB handshake to happen, so we just delay for a in imx8mp_media_power_notifier() 685 * bit. On power down the GPC driver waits for the handshake. in imx8mp_media_power_notifier() 825 * wait for the ADB handshake to happen, so we just delay for a in imx8mq_vpu_power_notifier() [all …]
|