Searched refs:handshake (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/net/handshake/
H A DMakefile10 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.h3 /* Documentation/netlink/specs/handshake.yaml */
12 #include <uapi/linux/handshake.h>
H A Dtrace.c18 #include "handshake.h"
22 #include <trace/events/handshake.h>
H A Dgenl.c3 /* Documentation/netlink/specs/handshake.yaml */
11 #include <uapi/linux/handshake.h>
25 /* Ops table for handshake */
H A Dalert.c18 #include <net/handshake.h>
22 #include "handshake.h"
24 #include <trace/events/handshake.h>
H A Drequest.c25 #include <uapi/linux/handshake.h>
26 #include "handshake.h"
28 #include <trace/events/handshake.h>
34 * To avoid adding another pointer field to struct sock, net/handshake
103 * handshake_req_alloc - Allocate a handshake request
134 * handshake_req_private - Get per-handshake private data
135 * @req: handshake arguments
201 * handshake_req_submit - Submit a handshake request
202 * @sock: open socket on which to perform the handshake
203 * @req: handshake argument
[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);
257 pr_warn("handshake: netlink registration failed (%d)\n", ret);
267 * shunts the handshake consume
[all...]
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
271 * tls_client_hello_anon - request an anonymous TLS handshake on a socket
272 * @args: socket and handshake parameters for this request
297 * tls_client_hello_x509 - request an x.509-based TLS handshake on a socket
298 * @args: socket and handshake parameters for this request
325 * tls_client_hello_psk - request a PSK-based TLS handshake o
[all...]
/linux-master/drivers/net/wireguard/
H A Dnoise.c46 /* Must hold peer->handshake.static_identity->lock */
49 down_write(&peer->handshake.lock);
50 if (!peer->handshake.static_identity->has_identity ||
51 !curve25519(peer->handshake.precomputed_static_static,
52 peer->handshake.static_identity->static_private,
53 peer->handshake.remote_static))
54 memset(peer->handshake.precomputed_static_static, 0,
56 up_write(&peer->handshake.lock);
59 void wg_noise_handshake_init(struct noise_handshake *handshake, argument
65 memset(handshake,
78 handshake_zero(struct noise_handshake *handshake) argument
88 wg_noise_handshake_clear(struct noise_handshake *handshake) argument
517 wg_noise_handshake_create_initiation(struct message_handshake_initiation *dst, struct noise_handshake *handshake) argument
588 struct noise_handshake *handshake; local
667 wg_noise_handshake_create_response(struct message_handshake_response *dst, struct noise_handshake *handshake) argument
733 struct noise_handshake *handshake; local
816 wg_noise_handshake_begin_session(struct noise_handshake *handshake, struct noise_keypairs *keypairs) argument
[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 Dpeer.h47 struct noise_handshake handshake; member in struct:wg_peer
H A Dnetlink.c116 down_read(&peer->handshake.lock);
118 peer->handshake.remote_static);
119 up_read(&peer->handshake.lock);
129 down_read(&peer->handshake.lock);
132 peer->handshake.preshared_key);
133 up_read(&peer->handshake.lock);
430 down_write(&peer->handshake.lock);
431 memcpy(&peer->handshake.preshared_key, preshared_key,
433 up_write(&peer->handshake.lock);
H A Dpeerlookup.c40 pubkey_bucket(table, peer->handshake.remote_static));
62 if (!memcmp(pubkey, iter_peer->handshake.remote_static,
H A Dpeer.c40 wg_noise_handshake_init(&peer->handshake, &wg->static_identity,
135 * where it has processed an incoming handshake packet, but where
142 * hash table, which allows for a maximum of one handshake response,
193 /* The final zeroing takes care of clearing any remaining handshake key
212 &peer->handshake.entry);
H A Dsend.c30 net_dbg_ratelimited("%s: Sending handshake initiation to peer %llu (%pISpfsc)\n",
34 if (wg_noise_handshake_create_initiation(&packet, &peer->handshake)) {
90 net_dbg_ratelimited("%s: Sending handshake response to peer %llu (%pISpfsc)\n",
94 if (wg_noise_handshake_create_response(&packet, &peer->handshake)) {
96 if (wg_noise_handshake_begin_session(&peer->handshake,
116 net_dbg_skb_ratelimited("%s: Sending cookie response for denied handshake message for %pISpfsc\n",
372 * handshake.
396 /* We orphan the packets if we're waiting on a handshake, so that they
411 * means we should initiate a new handshake.
/linux-master/arch/powerpc/kernel/
H A Dsmp-tbsync.c28 volatile int handshake; member in struct:__anon778
58 while (!tbsync->handshake)
69 while (tbsync->handshake)
94 tbsync->handshake = 1;
100 tbsync->handshake = 0;
164 tbsync->handshake = 1;
167 tbsync->handshake = 0;
/linux-master/tools/net/ynl/
H A DMakefile.deps20 CFLAGS_handshake:=$(call get_hdr_inc,_LINUX_HANDSHAKE_H,handshake.h)
/linux-master/drivers/char/
H A Ddsp56k.c60 #define handshake(count, maxio, timeout, ENABLE, f) \ macro
203 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
213 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
220 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
232 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
265 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
275 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
282 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
294 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
/linux-master/drivers/input/mouse/
H A Dpc110pad.c43 int handshake = inb_p(pc110pad_io + 2); local
45 outb(handshake | 1, pc110pad_io + 2);
47 outb(handshake & ~1, pc110pad_io + 2);
/linux-master/drivers/dma/dw-edma/
H A Ddw-hdma-v0-regs.h31 u32 handshake; /* 0x000c */ member in struct:dw_hdma_v0_ch_regs
/linux-master/drivers/tty/hvc/
H A Dhvsi.c389 struct hvsi_struct **handshake)
395 *handshake = NULL;
431 hvsi_recv_control(hp, packet, tty, handshake);
448 if (*handshake) {
449 pr_debug("%s: handshake\n", __func__);
478 struct hvsi_struct *handshake; local
489 again = hvsi_load_chunk(hp, tty, &handshake);
492 if (handshake) {
493 pr_debug("hvsi%i: attempting re-handshake\n", handshake
388 hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct *tty, struct hvsi_struct **handshake) argument
[all...]
/linux-master/net/
H A DMakefile81 obj-$(CONFIG_NET_HANDSHAKE) += handshake/
/linux-master/arch/arm/common/
H A DbL_switcher.c65 long volatile handshake, **handshake_ptr = _arg; local
73 /* Advertise our handshake location */
75 handshake = 0;
76 *handshake_ptr = &handshake;
78 handshake = -1;
101 while (!handshake) {
/linux-master/drivers/usb/early/
H A Dxhci-dbc.c134 static int handshake(void __iomem *ptr, u32 mask, u32 done, int wait, int delay) function
161 timeout = handshake(xdbc.xhci_base + offset, XHCI_HC_BIOS_OWNED, 0, 5000, 10);
425 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, CTRL_DBC_ENABLE, 100000, 100);
436 ret = handshake(&xdbc.xdbc_reg->portsc, PORTSC_CONN_STATUS, PORTSC_CONN_STATUS, 5000000, 100);
443 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_RUN, CTRL_DBC_RUN, 5000000, 100);
530 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 10);
558 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 100);
/linux-master/Documentation/networking/
H A Dmac80211-auth-assoc-deauth.txt77 do 4-way-handshake

Completed in 223 milliseconds

12