Home
last modified time | relevance | path

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

12345678910>>...15

/openbmc/linux/Documentation/networking/
H A 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 …]
/openbmc/qemu/include/io/
H A Dchannel-tls.h29 #define TYPE_QIO_CHANNEL_TLS "qio-channel-tls"
57 * @creds: the credentials to use for TLS handshake
59 * @errp: pointer to a NULL-initialized error object
62 * a TLS session. The TLS session handshake will use the
64 * is non-NULL, then the client will have to provide
72 * Once the handshake has completed, all I/O should be done
87 * @creds: the credentials to use for TLS handshake
89 * @errp: pointer to a NULL-initialized error object
92 * a TLS session. The TLS session handshake will use the
102 * Once the handshake has completed, all I/O should be done
[all …]
H A Dchannel-websock.h29 #define TYPE_QIO_CHANNEL_WEBSOCK "qio-channel-websock"
51 * set. It is sufficient to use with a simple websockets
52 * client for encapsulating VNC for noVNC in-browser client.
81 * Once the handshake has completed, all I/O should be done
97 * Perform the websocket handshake. This method
98 * will return immediately and the handshake will
100 * loop is running. When the handshake is complete,
/openbmc/linux/drivers/net/wireguard/
H A Dnoise.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. 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 …]
H A Dpeer.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. 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 …]
/openbmc/openbmc/poky/meta/recipes-connectivity/openssl/openssl/
H A D0001-Added-handshake-history-reporting-when-test-fails.patch3 Date: Fri, 20 Oct 2023 16:22:37 -0400
4 Subject: [PATCH] Added handshake history reporting when test fails
6 Upstream-Status: Submitted [https://github.com/openssl/openssl/pull/22481]
8 Signed-off-by: William Lyu <William.Lyu@windriver.com>
9 ---
10 test/helpers/handshake.c | 137 +++++++++++++++++++++++++++++----------
11 test/helpers/handshake.h | 70 +++++++++++++++++++-
13 3 files changed, 217 insertions(+), 34 deletions(-)
15 diff --git a/test/helpers/handshake.c b/test/helpers/handshake.c
17 --- a/test/helpers/handshake.c
[all …]
/openbmc/linux/net/handshake/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A 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 …]
H A 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()
43 switch (adev->ip_versions[MP0_HWIP][0]) { 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()
[all …]
H A 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 …]
H A 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 …]
H A 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()
61 if ((adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 1, 0)) && 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 >= 0x27000008)) { in psp_v10_0_init_microcode()
64 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
74 struct psp_ring *ring = &psp->km_ring; in psp_v10_0_ring_create()
75 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_create()
78 psp_ring_reg = lower_32_bits(ring->ring_mem_mc_addr); in psp_v10_0_ring_create()
[all …]
/openbmc/qemu/include/block/
H A Dnbd.h24 #include "io/channel-socket.h"
44 * once; must be large enough to allow a MULTI_CONN-aware client like
45 * nbdcopy to create its typical number of 8-16 sockets.
49 /* Handshake phase structs - this struct is passed on the wire */
92 NBDMode mode; /* Determines which network representation to use */
196 /* Transmission (export) flags: sent from server to client during handshake,
200 NBD_FLAG_READ_ONLY_BIT = 1, /* Device is read-only */
203 NBD_FLAG_ROTATIONAL_BIT = 4, /* Use elevator algorithm -
208 NBD_FLAG_CAN_MULTI_CONN_BIT = 8, /* Multi-client cache consistent */
229 /* New-style handshake (global) flags, sent from server to client, and
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-crypto-tlssession.c23 #include "crypto-tls-x509-helpers.h"
24 #include "crypto-tls-psk-helpers.h"
34 #define WORKDIR "tests/test-crypto-tlssession-work/"
36 #define KEYFILE WORKDIR "key-ctx.pem"
50 return -1; in testWrite()
68 return -1; in testRead()
106 /* We'll use this for our fake client-server connection */ in test_crypto_tls_session_psk()
111 * We have an evil loop to do the handshake in a single in test_crypto_tls_session_psk()
112 * thread, so we need these non-blocking to avoid deadlock in test_crypto_tls_session_psk()
139 /* For handshake to work, we need to set the I/O callbacks in test_crypto_tls_session_psk()
[all …]
H A Dtest-io-channel-tls.c26 #include "crypto-tls-x509-helpers.h"
27 #include "io/channel-tls.h"
28 #include "io/channel-socket.h"
29 #include "io-channel-helpers.h"
37 #define WORKDIR "tests/test-io-channel-tls-work/"
38 #define KEYFILE WORKDIR "key-ctx.pem"
61 data->finished = true; in test_tls_handshake_done()
62 data->failed = qio_task_propagate_error(task, NULL); in test_tls_handshake_done()
79 "verify-peer", "yes", in test_tls_creds_create()
84 * and the test-crypto-tlscreds test already in test_tls_creds_create()
[all …]
/openbmc/linux/drivers/input/mouse/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A 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 <javier@dowhile0.org>
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: touchscreen.yaml#
26 - const: cypress,cy8ctma340
27 - const: cypress,cy8ctst341
28 - const: cypress,cyttsp-spi
31 - const: cypress,cyttsp-i2c
[all …]
/openbmc/docs/designs/
H A Dcertificate-revocation-list.md16 assigned expiration date. In Google, there are use cases that BMC needs to
18 will be rejected in TLS handshake. Supporting CRL is also recommended in most
24 1. [phosphor-certificate-manager](https://github.com/openbmc/phosphor-certificate-manager)
29 2. [BMCWeb](https://github.com/openbmc/bmcweb): the Redfish front-end which
31 consumer of these certificates; it uses certificates in its TLS handshake.
34 [this discussion](https://redfishforum.com/thread/618/resource-certificate-revocation-list?page=1&s…
46 consumers which use old CRLs to refresh with the newly given CRLs
53 ### phosphor-dbus-interfaces
56 [Certs](https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/yaml/xyz/openbmc_project/Ce…
62 ### phosphor-certificate-manager
[all …]
/openbmc/linux/arch/arm/common/
H A 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 …]
/openbmc/phosphor-net-ipmid/command/
H A Dpayload_cmds.hpp50 uint8_t handshake:1; //!< SOL startup handshake. member
64 uint8_t handshake:1; //!< SOL startup handshake. member
107 * @param[in] inPayload - Request data for the command.
108 * @param[in] handler - Reference to the message handler.
162 * This command is used to terminate use of a given payload on an IPMI session.
164 * or for possible re-activation under the present session.The Deactivate
171 * @param[in] inPayload - Request data for the command.
172 * @param[in] handler - Reference to the message handler.
250 * @param[in] inPayload - Request Data for the command.
251 * @param[in] handler - Reference to the Message Handler.
[all …]
/openbmc/linux/include/linux/ceph/
H A 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()
/openbmc/linux/include/linux/
H A 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 …]
/openbmc/linux/drivers/pmdomain/imx/
H A 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 …]
/openbmc/linux/drivers/firmware/google/
H A Dgsmi.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Re-worked to expose sysfs APIs by mikew@google.com (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 …]
/openbmc/linux/drivers/input/misc/
H A 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 …]

12345678910>>...15