Home
last modified time | relevance | path

Searched full:handshake (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/linux/Documentation/networking/
H A Dtls-handshake.rst4 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 …]
H A Dtls.rst30 handshake is complete, we have all the parameters required to move the
129 messages (record type 21) and handshake messages (record type 22), etc.
208 In TLS 1.3, KeyUpdate handshake messages signal that the sender is
229 counts KeyUpdate handshake messages that have been received.
241 of calling send directly after a handshake using gnutls.
325 number of received KeyUpdate handshake messages, requiring userspace
/linux/net/handshake/
H A Dtlshd.c19 #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
276 * tls_client_hello_anon - request an anonymous TLS handshake on a socket
277 * @args: socket and handshake parameters for this request
281 * %0: Handshake request enqueue; ->done will be called when complete
302 * tls_client_hello_x509 - request an x.509-based TLS handshake on a socket
303 * @args: socket and handshake parameters for this request
[all …]
H A Dnetlink.c3 * 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 …]
H A DMakefile3 # 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
H A Dgenl.c3 /* Documentation/netlink/specs/handshake.yaml */
11 #include <uapi/linux/handshake.h>
25 /* Ops table for handshake */
H A Dhandshake.h3 * Generic netlink handshake service
29 /* One handshake request */
49 /* Invariants for all handshake requests for one transport layer
H A Dalert.c18 #include <net/handshake.h>
22 #include "handshake.h"
24 #include <trace/events/handshake.h>
H A Dtrace.c18 #include "handshake.h"
22 #include <trace/events/handshake.h>
H A Dgenl.h3 /* Documentation/netlink/specs/handshake.yaml */
12 #include <uapi/linux/handshake.h>
/linux/drivers/net/wireguard/
H A Dtimers.c13 * - 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()
97 …pr_debug("%s: Retrying handshake with peer %llu (%pISpfsc) because we stopped hearing back after %… in wg_expired_new_handshake()
133 wg_noise_handshake_clear(&peer->handshake); in wg_queued_expired_zero_key_material()
169 * keepalive, data, or handshake.
177 * keepalive, data, or handshake.
184 /* Should be called after a handshake initiation message is sent. */
[all …]
H A Dnoise.h95 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,
H A Dsend.c30 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()
H A Dpeer.c40 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()
H A Dreceive.c129 net_dbg_skb_ratelimited("%s: Invalid MAC of handshake, dropping packet from %pISpfsc\n", in wg_receive_handshake_packet()
146 net_dbg_skb_ratelimited("%s: Invalid handshake initiation from %pISpfsc\n", in wg_receive_handshake_packet()
151 net_dbg_ratelimited("%s: Receiving handshake initiation from peer %llu (%pISpfsc)\n", in wg_receive_handshake_packet()
168 net_dbg_skb_ratelimited("%s: Invalid handshake response from %pISpfsc\n", in wg_receive_handshake_packet()
173 net_dbg_ratelimited("%s: Receiving handshake response from peer %llu (%pISpfsc)\n", in wg_receive_handshake_packet()
176 if (wg_noise_handshake_begin_session(&peer->handshake, in wg_receive_handshake_packet()
193 WARN(1, "Somehow a wrong type of packet wound up in the handshake queue!\n"); in wg_receive_handshake_packet()
563 net_dbg_skb_ratelimited("%s: Dropping handshake packet from %pISpfsc\n", in wg_packet_receive()
/linux/arch/powerpc/kernel/
H A Dsmp-tbsync.c28 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/Documentation/netlink/specs/
H A Dhandshake.yaml8 name: handshake
12 doc: Netlink protocol to request a transport layer security handshake.
95 doc: Notify handlers that a new handshake request is waiting
99 doc: Handler retrieves next queued handshake request
118 doc: Handler reports handshake completion
/linux/drivers/char/
H A Ddsp56k.c60 #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/drivers/net/ipa/
H A Dipa_qmi.h49 * 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/Documentation/admin-guide/blockdev/drbd/
H A Ddrbd-connection-state-overview.dot21 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/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_v11_0_8.c41 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_stop()
51 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_stop()
88 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_create()
120 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_create()
H A Dpsp_v13_0_4.c183 /* there might be handshake issue with hardware which needs delay */ in psp_v13_0_4_bootloader_load_sos()
202 /* there might be handshake issue with hardware which needs delay */ in psp_v13_0_4_ring_stop()
212 /* there might be handshake issue with hardware which needs delay */ in psp_v13_0_4_ring_stop()
249 /* there might be handshake issue with hardware which needs delay */ in psp_v13_0_4_ring_create()
281 /* there might be handshake issue with hardware which needs delay */ in psp_v13_0_4_ring_create()
/linux/include/uapi/linux/
H A Dhandshake.h3 /* Documentation/netlink/specs/handshake.yaml */
9 #define HANDSHAKE_FAMILY_NAME "handshake"
/linux/drivers/tty/hvc/
H A Dhvsi.c389 struct hvsi_struct **handshake) in hvsi_load_chunk() argument
395 *handshake = NULL; in hvsi_load_chunk()
431 hvsi_recv_control(hp, packet, tty, handshake); in hvsi_load_chunk()
448 if (*handshake) { in hvsi_load_chunk()
449 pr_debug("%s: handshake\n", __func__); in hvsi_load_chunk()
478 struct hvsi_struct *handshake; in hvsi_interrupt() local
489 again = hvsi_load_chunk(hp, tty, &handshake); in hvsi_interrupt()
492 if (handshake) { in hvsi_interrupt()
493 pr_debug("hvsi%i: attempting re-handshake\n", handshake->index); in hvsi_interrupt()
494 schedule_work(&handshake->handshaker); in hvsi_interrupt()
[all …]
/linux/drivers/input/mouse/
H A Dpc110pad.c43 int handshake = inb_p(pc110pad_io + 2); in pc110pad_interrupt() local
45 outb(handshake | 1, pc110pad_io + 2); in pc110pad_interrupt()
47 outb(handshake & ~1, pc110pad_io + 2); in pc110pad_interrupt()

12345678910>>...13