Searched refs:handshake (Results 1 - 25 of 46) sorted by last modified time

12

/linux-master/net/sunrpc/
H A Dxprtsock.c51 #include <net/handshake.h>
195 * TLS handshake timeout.
2555 * xs_tls_handshake_done - TLS handshake completion handler
2557 * @status: status of handshake
2642 * then driving the TLS handshake. Once all that is complete, the upper
2689 /* RPC_AUTH_TLS probe was successful. Try a TLS handshake on
H A Dsvcsock.c49 #include <net/handshake.h>
72 * handshake request, the request could instead be deferred.
418 * @status: status of handshake
441 * svc_tcp_handshake - Perform a transport-layer security handshake
482 * traffic before the kernel received the handshake
/linux-master/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
270 * tls_client_hello_anon - request an anonymous TLS handshake on a socket
271 * @args: socket and handshake parameters for this request
296 * tls_client_hello_x509 - request an x.509-based TLS handshake on a socket
297 * @args: socket and handshake parameters for this request
324 * tls_client_hello_psk - request a PSK-based TLS handshake o
[all...]
H A Dhandshake-test.c5 * KUnit test of the handshake upcall mechanism.
17 #include <uapi/linux/handshake.h>
18 #include "handshake.h"
539 MODULE_DESCRIPTION("Test handshake upcall API functions");
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 Dgenl.c3 /* Documentation/netlink/specs/handshake.yaml */
11 #include <uapi/linux/handshake.h>
25 /* Ops table for handshake */
/linux-master/drivers/nvme/target/
H A Dtcp.c18 #include <net/handshake.h>
78 * TLS handshake timeout
83 "nvme TLS handshake timeout in seconds (default 10)");
1399 /* Socket closed during handshake */
1795 pr_debug("queue %d: TLS handshake done, key %x, status %d\n",
1822 pr_warn("queue %d: TLS handshake timeout\n", queue->idx);
1941 /* TLS handshake failed, terminate the connection */
/linux-master/drivers/nvme/host/
H A Dtcp.c18 #include <net/handshake.h>
48 * TLS handshake timeout
54 "nvme TLS handshake timeout in seconds (default 10)");
1576 dev_dbg(ctrl->ctrl.device, "queue %d: TLS handshake done, key %x, status %d\n",
1634 "queue %d: TLS handshake failed, error %d\n",
1639 "queue %d: TLS handshake complete, error %d\n",
/linux-master/tools/net/ynl/
H A DMakefile.deps20 CFLAGS_handshake:=$(call get_hdr_inc,_LINUX_HANDSHAKE_H,handshake.h)
/linux-master/drivers/net/wireguard/
H A Dreceive.c129 net_dbg_skb_ratelimited("%s: Invalid MAC of handshake, dropping packet from %pISpfsc\n",
146 net_dbg_skb_ratelimited("%s: Invalid handshake initiation from %pISpfsc\n",
151 net_dbg_ratelimited("%s: Receiving handshake initiation from peer %llu (%pISpfsc)\n",
168 net_dbg_skb_ratelimited("%s: Invalid handshake response from %pISpfsc\n",
173 net_dbg_ratelimited("%s: Receiving handshake response from peer %llu (%pISpfsc)\n",
176 if (wg_noise_handshake_begin_session(&peer->handshake,
193 WARN(1, "Somehow a wrong type of packet wound up in the handshake queue!\n");
563 net_dbg_skb_ratelimited("%s: Dropping handshake packet from %pISpfsc\n",
H A Ddevice.c85 wg_noise_handshake_clear(&peer->handshake);
125 wg_noise_handshake_clear(&peer->handshake);
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 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.
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 Dcookie.c44 /* Must hold peer->handshake.static_identity->lock */
64 peer->handshake.remote_static, cookie_key_label);
66 peer->handshake.remote_static, mac1_key_label);
/linux-master/fs/nfs/
H A Dfs_context.c22 #include <net/handshake.h>
/linux-master/sound/pci/echoaudio/
H A Dechoaudio.h457 chip->comm_page->handshake = 0;
/linux-master/net/
H A DMakefile81 obj-$(CONFIG_NET_HANDSHAKE) += handshake/
/linux-master/drivers/block/
H A Dswim.c122 /* Bits in handshake register */
303 stat = swim_read(base, handshake);
/linux-master/drivers/dma/dw-edma/
H A Ddw-hdma-v0-regs.h31 u32 handshake; /* 0x000c */ member in struct:dw_hdma_v0_ch_regs
H A Ddw-hdma-v0-debugfs.c86 CTX_REGISTER(dw, handshake, dir, ch),
/linux-master/drivers/usb/fotg210/
H A Dfotg210-hcd.c860 /* handshake - spin reading hc until handshake completes or fails
863 * @done: value of those bits when handshake succeeds
869 * handshake done). There are two failure modes: "usec" have passed (major
876 static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr, function
915 return handshake(fotg210, &fotg210->regs->status,
938 retval = handshake(fotg210, &fotg210->regs->command,
964 handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, temp,
974 handshake(fotg210, &fotg210->regs->status, STS_ASS | STS_PSS, 0,
1586 retval = handshake(fotg21
[all...]
/linux-master/drivers/usb/host/
H A Dpci-quirks.c1009 * handshake - spin reading a register until handshake completes
1012 * @done: value of those bits when handshake succeeds
1021 static int handshake(void __iomem *ptr, u32 mask, u32 done, function
1194 timeout = handshake(base + ext_cap_offset, XHCI_HC_BIOS_OWNED,
1223 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_CNR, 0,
1239 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_HALT, 1,
H A Doxu210hp-hcd.c732 * handshake - spin reading hc until handshake completes or fails
735 * @done: value of those bits when handshake succeeds
741 * handshake done). There are two failure modes: "usec" have passed (major
748 static int handshake(struct oxu_hcd *oxu, void __iomem *ptr, function
778 return handshake(oxu, &oxu->regs->status,
805 retval = handshake(oxu, &oxu->regs->command,
828 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS,
840 if (handshake(oxu, &oxu->regs->status, STS_ASS | STS_PSS,
1929 (void)handshake(ox
[all...]
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c133 struct handshake { struct
156 static struct handshake handshake[MAX_OCTEON_DEVICES]; variable in typeref:struct:handshake
832 struct handshake *hs;
863 hs = &handshake[oct_dev->octeon_id];
954 struct handshake *hs;
1076 hs = &handshake[i];
1079 handshake[oct->octeon_id].init_ok = 0;
1080 complete(&handshake[oct->octeon_id].init);
1081 handshake[oc
[all...]

Completed in 637 milliseconds

12