| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/net/handshake/ |
| D | request.c | 3 * Handshake request lifetime events 25 #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 [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 271 * tls_client_hello_anon - request an anonymous TLS handshake on a socket 272 * @args: socket and handshake parameters for this request 276 * %0: Handshake request enqueue; ->done will be called when complete 297 * tls_client_hello_x509 - request an x.509-based TLS handshake on a socket 298 * @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
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | dma-s3c24xx.h | 18 * @handshake: is a handshake with the peripheral necessary 25 bool handshake; member
|
| /kernel/linux/linux-6.6/tools/net/ynl/generated/ |
| D | handshake-user.h | 3 /* Documentation/netlink/specs/handshake.yaml */ 12 #include <linux/handshake.h> 82 * Handler retrieves next queued handshake request 141 * Handler reports handshake completion
|
| /kernel/linux/linux-6.6/drivers/net/ipa/ |
| D | ipa_qmi.h | 47 * of QMI messages that perform a "handshake" between the AP and modem. 51 * IPA hardware until this handshake is complete. 53 * If the modem crashes (or shuts down) a new handshake begins when the
|
| /kernel/linux/linux-5.10/drivers/char/ |
| D | dsp56k.c | 60 #define handshake(count, maxio, timeout, ENABLE, f) \ macro 201 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 211 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 218 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 230 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 263 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 273 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 280 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 292 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-6.6/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…
|
| /kernel/linux/linux-5.10/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…
|