Home
last modified time | relevance | path

Searched +full:use +full:- +full:handshake (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/linux-6.14.4/Documentation/networking/
Dtls-handshake.rst1 .. SPDX-License-Identifier: GPL-2.0
4 In-Kernel TLS Handshake
11 over TCP. TLS provides end-to-end data integrity and confidentiality in
15 does not handle the TLS handshake subprotocol which is used to establish
16 a TLS session. Kernel consumers can use the API described here to
19 There are several possible ways to provide a handshake service in the
21 implementations so that in-kernel TLS consumers do not need to be
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
[all …]
Dtls.rst11 TCP. TLS provides end-to-end data integrity and confidentiality.
17 -------------------------
21 .. code-block:: c
28 handshake is complete, we have all the parameters required to move the
29 data-path to the kernel. There is a separate socket option for moving
32 .. code-block:: c
65 ----------------------------
71 .. code-block:: c
82 .. code-block:: c
94 either the entire send() call will return -ENOMEM (or block waiting
[all …]
/linux-6.14.4/drivers/net/wireguard/
Dnoise.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
22 * <- s
24 * -> e, es, s, ss, {t}
25 * <- e, ee, se, psk, {}
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()
[all …]
Dpeer.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
26 int ret = -ENOMEM; in wg_peer_create()
28 lockdep_assert_held(&wg->device_update_lock); in wg_peer_create()
30 if (wg->num_peers >= MAX_PEERS_PER_DEVICE) in wg_peer_create()
36 if (unlikely(dst_cache_init(&peer->endpoint_cache, GFP_KERNEL))) in wg_peer_create()
39 peer->device = wg; in wg_peer_create()
40 wg_noise_handshake_init(&peer->handshake, &wg->static_identity, in wg_peer_create()
42 peer->internal_id = atomic64_inc_return(&peer_counter); in wg_peer_create()
43 peer->serial_work_cpu = nr_cpumask_bits; in wg_peer_create()
[all …]
/linux-6.14.4/net/handshake/
Dnetlink.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Generic netlink handshake service
23 #include <uapi/linux/handshake.h>
24 #include "handshake.h"
27 #include <trace/events/handshake.h>
30 * handshake_genl_notify - Notify handlers that a request is waiting
32 * @proto: handshake protocol
44 if (!test_bit(HANDSHAKE_F_PROTO_NOTIFY, &proto->hp_flags)) in handshake_genl_notify()
48 proto->hp_handler_class)) in handshake_genl_notify()
49 return -ESRCH; in handshake_genl_notify()
[all …]
/linux-6.14.4/Documentation/filesystems/nfs/
Dlocalio.rst9 server to reliably handshake to determine if they are on the same
14 Once an NFS client and server handshake as "local", the client will
24 preceded use of this LOCALIO protocol, a fragile sockaddr network
26 But unlike the LOCALIO protocol, the sockaddr-based matching didn't
27 handle use of iptables or containers.
29 The robust handshake between local client and server is just the
30 beginning, the ultimate use case this locality makes possible is the
34 as possible, this is particularly useful for container use cases
42 - With LOCALIO:
48 - Without LOCALIO:
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Dpsp_v11_0_8.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
35 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_stop()
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()
65 struct psp_ring *ring = &psp->km_ring; in psp_v11_0_8_ring_create()
66 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_create()
76 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create()
79 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v11_0_8_ring_create()
86 /* there might be handshake issue with hardware which needs delay */ in psp_v11_0_8_ring_create()
[all …]
Dpsp_v13_0_4.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
37 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_init_microcode()
61 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_is_sos_alive()
71 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_wait_for_bootloader()
98 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_bootloader_load_component()
110 memset(psp->fw_pri_buf, 0, PSP_1_MEG); in psp_v13_0_4_bootloader_load_component()
113 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v13_0_4_bootloader_load_component()
117 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_4_bootloader_load_component()
129 return psp_v13_0_4_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_KEY_DATABASE); in psp_v13_0_4_bootloader_load_kdb()
[all …]
Dpsp_v12_0.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
50 struct amdgpu_device *adev = psp->adev; in psp_v12_0_init_microcode()
66 if (!(adev->apu_flags & AMD_APU_IS_RENOIR)) in psp_v12_0_init_microcode()
67 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v12_0_init_microcode()
76 struct amdgpu_device *adev = psp->adev; in psp_v12_0_bootloader_load_sysdrv()
93 psp_copy_fw(psp, psp->sys.start_addr, psp->sys.size_bytes); in psp_v12_0_bootloader_load_sysdrv()
97 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v12_0_bootloader_load_sysdrv()
102 /* there might be handshake issue with hardware which needs delay */ in psp_v12_0_bootloader_load_sysdrv()
115 struct amdgpu_device *adev = psp->adev; in psp_v12_0_bootloader_load_sos()
[all …]
Dpsp_v3_1.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
59 struct amdgpu_device *adev = psp->adev; in psp_v3_1_init_microcode()
82 struct amdgpu_device *adev = psp->adev; in psp_v3_1_bootloader_load_sysdrv()
99 psp_copy_fw(psp, psp->sys.start_addr, psp->sys.size_bytes); in psp_v3_1_bootloader_load_sysdrv()
103 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v3_1_bootloader_load_sysdrv()
108 /* there might be handshake issue with hardware which needs delay */ in psp_v3_1_bootloader_load_sysdrv()
121 struct amdgpu_device *adev = psp->adev; in psp_v3_1_bootloader_load_sos()
138 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v3_1_bootloader_load_sos()
142 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v3_1_bootloader_load_sos()
[all …]
Dpsp_v10_0.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
49 struct amdgpu_device *adev = psp->adev; in psp_v10_0_init_microcode()
62 (adev->pdev->revision == 0xa1) && in psp_v10_0_init_microcode()
63 (psp->securedisplay_context.context.bin_desc.fw_version >= in psp_v10_0_init_microcode()
65 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
75 struct psp_ring *ring = &psp->km_ring; in psp_v10_0_ring_create()
76 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_create()
79 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create()
82 psp_ring_reg = upper_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create()
[all …]
Dpsp_v14_0.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42 /* Read USB-PD from LFB */
59 struct amdgpu_device *adev = psp->adev; in psp_v14_0_init_microcode()
84 struct amdgpu_device *adev = psp->adev; in psp_v14_0_is_sos_alive()
94 struct amdgpu_device *adev = psp->adev; in psp_v14_0_wait_for_bootloader()
121 struct amdgpu_device *adev = psp->adev; in psp_v14_0_bootloader_load_component()
133 memset(psp->fw_pri_buf, 0, PSP_1_MEG); in psp_v14_0_bootloader_load_component()
136 memcpy(psp->fw_pri_buf, bin_desc->start_addr, bin_desc->size_bytes); in psp_v14_0_bootloader_load_component()
140 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v14_0_bootloader_load_component()
[all …]
/linux-6.14.4/drivers/nvme/host/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
55 to use remote block devices exported using the NVMe protocol set.
57 To configure a NVMe over Fabrics controller use the nvme-cli tool
58 from https://github.com/linux-nvme/nvme-cli.
70 the FC transport. This allows you to use remote block devices
73 To configure a NVMe over Fabrics controller use the nvme-cli tool
74 from https://github.com/linux-nvme/nvme-cli.
87 the TCP transport. This allows you to use remote block devices
90 To configure a NVMe over Fabrics controller use the nvme-cli tool
91 from https://github.com/linux-nvme/nvme-cli.
[all …]
/linux-6.14.4/drivers/input/mouse/
Dpc110pad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2000-2001 Vojtech Pavlik
43 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()
95 return -ENODEV; in pc110pad_init()
98 printk(KERN_ERR "pc110pad: I/O area %#x-%#x in use.\n", in pc110pad_init()
100 return -EBUSY; in pc110pad_init()
107 err = -EBUSY; in pc110pad_init()
114 err = -ENOMEM; in pc110pad_init()
[all …]
/linux-6.14.4/drivers/nvme/target/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
17 To configure the NVMe target you probably want to use the nvmetcli
83 to test NVMe-FC transport interfaces.
102 Enables TLS encryption for the NVMe TCP target using the netlink handshake API.
104 The TLS handshake daemon is available at
105 https://github.com/oracle/ktls-utils.
110 bool "NVMe over Fabrics In-band Authentication in target side"
114 This enables support for NVMe over Fabrics In-band Authentication in
/linux-6.14.4/Documentation/devicetree/bindings/input/touchscreen/
Dcypress,cy8ctma340.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Javier Martinez Canillas <[email protected]>
15 - Linus Walleij <[email protected]>
18 - $ref: touchscreen.yaml#
26 - const: cypress,cy8ctma340
27 - const: cypress,cy8ctst341
28 - const: cypress,cyttsp-spi
31 - const: cypress,cyttsp-i2c
[all …]
/linux-6.14.4/drivers/staging/gpib/include/
Dtnt4882_registers.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 HSSEL = 0xd, // handshake select register
49 /* TURBO-488 registers bit definitions */
62 /* CFG -- Configuration Register (write only) */
65 * (tnt4882 one-chip and newer only?)
69 TNT_A_B = (1 << 4), /* order to use fifos 1=fifo A first(big endian),
75 TNT_B_16BIT = (1 << 0), /* 1=FIFO is 16-bit register, 0=8-bit */
78 /* CMDR -- Command Register */
89 /* HSSEL -- handshake select register (write only) */
96 /* IMR0 -- Interrupt Mode Register 0 */
[all …]
/linux-6.14.4/arch/arm/common/
DbL_switcher.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/common/bL_switcher.c -- big.LITTLE cluster switcher core driver
6 * Copyright: (C) 2012-2013 Linaro Limited
32 #include <linux/irqchip/arm-gic.h>
46 * Use our own MPIDR accessors as the generic ones in asm/cputype.h have
65 long volatile handshake, **handshake_ptr = _arg; in bL_do_switch() local
73 /* Advertise our handshake location */ in bL_do_switch()
75 handshake = 0; in bL_do_switch()
76 *handshake_ptr = &handshake; in bL_do_switch()
78 handshake = -1; in bL_do_switch()
[all …]
/linux-6.14.4/include/linux/ceph/
Dauth.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * There is some handshake that takes place between us and the monitor
12 * 'authorizer' that we use when connecting to a service (mds, osd).
49 * handshake. if handle_reply returns -EAGAIN, we build
92 void *private; /* for use by protocol implementation */
147 if (auth->sign_message) in ceph_auth_sign_message()
148 return auth->sign_message(auth, msg); in ceph_auth_sign_message()
156 if (auth->check_message_signature) in ceph_auth_check_message_signature()
157 return auth->check_message_signature(auth, msg); in ceph_auth_check_message_signature()
/linux-6.14.4/include/linux/
Dhp_sdc.h2 * HP i8042 System Device Controller -- header
7 * Redistribution and use in source and binary forms, with or without
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A
34 * for Part Number 1820-4784 Revision B. Dwg No. A-1820-4784-2
79 * Nuance: never HP_SDC_ACT_DATAIN | HP_SDC_ACT_DEALLOC, use another
104 #define HP_SDC_STATUS_PUP 0x70 /* Successful power-up self test */
110 #define HP_SDC_NMISTATUS_FHS 0x40 /* NMI is a fast handshake irq */
134 #define HP_SDC_STR 0x7f /* i8042 self-test result */
140 #define HP_SDC_IM_FH 0x10 /* Mask the fast handshake irq */
[all …]
/linux-6.14.4/drivers/pmdomain/imx/
Dimx8m-blk-ctrl.c1 // SPDX-License-Identifier: GPL-2.0+
19 #include <dt-bindings/power/imx8mm-power.h>
20 #include <dt-bindings/power/imx8mn-power.h>
21 #include <dt-bindings/power/imx8mp-power.h>
22 #include <dt-bindings/power/imx8mq-power.h>
53 * an if-statement should be used before setting and clearing this
88 const struct imx8m_blk_ctrl_domain_data *data = domain->data; in imx8m_blk_ctrl_power_on()
89 struct imx8m_blk_ctrl *bc = domain->bc; in imx8m_blk_ctrl_power_on()
93 ret = pm_runtime_get_sync(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
95 pm_runtime_put_noidle(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
[all …]
/linux-6.14.4/drivers/firmware/google/
Dgsmi.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Re-worked to expose sysfs APIs by [email protected] (Mike Waychison)
19 #include <linux/dma-mapping.h>
40 #define GSMI_SHUTDOWN_DIE 4 /* Die -- No longer meaningful */
130 * Some platforms don't have explicit SMI handshake
137 "The number of loop iterations to use when using the spin handshake.");
143 * has long since shipped, removing the need for this opt-in parameter. It
144 * now exists as an opt-out parameter for folks defiantly running old
145 * firmware, or unforeseen circumstances. After the change from opt-in to
146 * opt-out has baked sufficiently, this parameter should probably be removed
[all …]
/linux-6.14.4/drivers/input/misc/
Dhp_sdc_rtc.c2 * HP i8042 SDC + MSM-58321 BBRTC driver.
7 * Redistribution and use in source and binary forms, with or without
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * for Part Number 1820-4784 Revision B. Dwg No. A-1820-4784-2
51 MODULE_DESCRIPTION("HP i8042 SDC + MSM-58321 RTC Driver");
90 if (hp_sdc_enqueue_transaction(&t)) return -1; in hp_sdc_rtc_do_read_bbrtc()
94 return -1; in hp_sdc_rtc_do_read_bbrtc()
100 return -1; in hp_sdc_rtc_do_read_bbrtc()
103 rtctm->tm_year = (tseq[83] & 0x0f) + (tseq[90] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
104 rtctm->tm_mon = (tseq[69] & 0x0f) + (tseq[76] & 0x0f) * 10; in hp_sdc_rtc_do_read_bbrtc()
[all …]
/linux-6.14.4/Documentation/driver-api/
Di2c.rst5 the "Inter-IC" bus, a simple bus protocol which is widely used where low
7 some vendors use another name (such as "Two-Wire Interface", TWI) for
10 I2C devices use seven bit addresses, and bus speeds of up to 400 kHz;
11 there's a high speed extension (3.4 MHz) that's not yet found wide use.
12 I2C is a multi-master bus; open drain signaling is used to arbitrate
13 between masters, as well as to handshake and to synchronize clocks from
38 .. kernel-doc:: include/linux/i2c.h
41 .. kernel-doc:: drivers/i2c/i2c-boardinfo.c
44 .. kernel-doc:: drivers/i2c/i2c-core-base.c
47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/
Ddm_pp_smu.h7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
233 * to perform pstate handshaking in its current state. Typically this handshake
236 * Note that when setting handshake to unsupported, the call is pre-emptive. That means
238 * request to go un-acked. Only when the call completes should such a state be applied to

12345678910>>...13