/openbmc/linux/drivers/net/wireguard/ |
H A D | noise.c | 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() 66 init_rwsem(&handshake->lock); in wg_noise_handshake_init() [all …]
|
H A 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,
|
H A D | netlink.c | 116 down_read(&peer->handshake.lock); in get_peer() 118 peer->handshake.remote_static); in get_peer() 119 up_read(&peer->handshake.lock); in get_peer() 129 down_read(&peer->handshake.lock); in get_peer() 132 peer->handshake.preshared_key); in get_peer() 133 up_read(&peer->handshake.lock); in get_peer() 430 down_write(&peer->handshake.lock); in set_peer() 431 memcpy(&peer->handshake.preshared_key, preshared_key, in set_peer() 433 up_write(&peer->handshake.lock); in set_peer()
|
H A D | peerlookup.c | 40 pubkey_bucket(table, peer->handshake.remote_static)); in wg_pubkey_hashtable_add() 62 if (!memcmp(pubkey, iter_peer->handshake.remote_static, in wg_pubkey_hashtable_lookup()
|
H A D | peer.c | 40 wg_noise_handshake_init(&peer->handshake, &wg->static_identity, in wg_peer_create() 212 &peer->handshake.entry); in kref_release()
|
H A D | send.c | 34 if (wg_noise_handshake_create_initiation(&packet, &peer->handshake)) { in wg_packet_send_handshake_initiation() 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()
|
/openbmc/linux/Documentation/networking/ |
H A D | tls-handshake.rst | 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, 37 If the handshake completes successfully, the handshake agent promotes [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/openssl/openssl/ |
H A D | 0001-Added-handshake-history-reporting-when-test-fails.patch | 4 Subject: [PATCH] Added handshake history reporting when test fails 10 test/helpers/handshake.c | 137 +++++++++++++++++++++++++++++---------- 11 test/helpers/handshake.h | 70 +++++++++++++++++++- 15 diff --git a/test/helpers/handshake.c b/test/helpers/handshake.c 17 --- a/test/helpers/handshake.c 18 +++ b/test/helpers/handshake.c 98 + * Create a new history entry for a handshake loop with statuses given in 113 + /* Evict the oldest handshake loop entry when the ring buffer is full. */ 174 * Determine the handshake outcome. 185 * Half-duplex handshake loop. [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A 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()
|
/openbmc/linux/net/handshake/ |
H A D | Makefile | 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
|
/openbmc/qemu/io/ |
H A D | trace-events | 42 qio_channel_tls_handshake_start(void *ioc) "TLS handshake start ioc=%p" 43 qio_channel_tls_handshake_pending(void *ioc, int status) "TLS handshake pending ioc=%p status=%d" 44 qio_channel_tls_handshake_fail(void *ioc) "TLS handshake fail ioc=%p" 45 qio_channel_tls_handshake_complete(void *ioc) "TLS handshake complete ioc=%p" 46 qio_channel_tls_handshake_cancel(void *ioc) "TLS handshake cancel ioc=%p" 52 qio_channel_websock_handshake_start(void *ioc) "Websock handshake start ioc=%p" 53 qio_channel_websock_handshake_pending(void *ioc, int status) "Websock handshake pending ioc=%p stat… 54 qio_channel_websock_handshake_reply(void *ioc) "Websock handshake reply ioc=%p" 55 qio_channel_websock_handshake_fail(void *ioc, const char *msg) "Websock handshake fail ioc=%p err=%… 56 qio_channel_websock_handshake_complete(void *ioc) "Websock handshake complete ioc=%p"
|
/openbmc/linux/drivers/char/ |
H A 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()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | pc110pad.c | 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()
|
/openbmc/linux/Documentation/admin-guide/blockdev/drbd/ |
H A 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…
|
/openbmc/linux/arch/arm/common/ |
H A D | bL_switcher.c | 65 long volatile handshake, **handshake_ptr = _arg; in bL_do_switch() local 75 handshake = 0; in bL_do_switch() 76 *handshake_ptr = &handshake; in bL_do_switch() 78 handshake = -1; in bL_do_switch() 101 while (!handshake) { in bL_do_switch()
|
/openbmc/qemu/chardev/ |
H A D | trace-events | 27 …id *chrdev, const char *label, const char *err) "chardev socket websock handshake error %p (%s): %… 28 …r(void *chrdev, const char *label, const char *err) "chardev socket TLS handshake error %p (%s): %…
|
/openbmc/linux/drivers/tty/hvc/ |
H A D | hvsi.c | 389 struct hvsi_struct **handshake) in hvsi_load_chunk() argument 395 *handshake = NULL; in hvsi_load_chunk() 431 hvsi_recv_control(hp, packet, tty, handshake); in hvsi_load_chunk() 448 if (*handshake) { in hvsi_load_chunk() 478 struct hvsi_struct *handshake; in hvsi_interrupt() local 489 again = hvsi_load_chunk(hp, tty, &handshake); in hvsi_interrupt() 492 if (handshake) { in hvsi_interrupt() 493 pr_debug("hvsi%i: attempting re-handshake\n", handshake->index); in hvsi_interrupt() 494 schedule_work(&handshake->handshaker); in hvsi_interrupt()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 233.out | 102 qemu-img: Could not open 'driver=nbd,path=SOCK_DIR/qemu-nbd.sock,tls-creds=tls0': TLS handshake fai… 103 qemu-nbd: TLS handshake failed: The TLS connection was non-properly terminated. 114 qemu-nbd: option negotiation failed: TLS handshake failed: An illegal parameter has been received. 115 qemu-nbd: option negotiation failed: TLS handshake failed: An illegal parameter has been received.
|
/openbmc/phosphor-net-ipmid/command/ |
H A D | payload_cmds.hpp | 50 uint8_t handshake:1; //!< SOL startup handshake. member 64 uint8_t handshake:1; //!< SOL startup handshake. member
|
/openbmc/u-boot/tools/kermit/ |
H A D | send_cmd | 6 set handshake none
|
H A D | send_image | 8 set handshake none
|
H A D | dot.kermrc | 4 set handshake none
|
H A D | flash_param | 10 set handshake none
|
/openbmc/linux/tools/net/ynl/ |
H A D | Makefile.deps | 19 CFLAGS_handshake:=$(call get_hdr_inc,_LINUX_HANDSHAKE_H,handshake.h)
|
/openbmc/linux/drivers/usb/early/ |
H A D | xhci-dbc.c | 134 static int handshake(void __iomem *ptr, u32 mask, u32 done, int wait, int delay) in handshake() function 161 timeout = handshake(xdbc.xhci_base + offset, XHCI_HC_BIOS_OWNED, 0, 5000, 10); in xdbc_bios_handoff() 425 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, CTRL_DBC_ENABLE, 100000, 100); in xdbc_start() 436 ret = handshake(&xdbc.xdbc_reg->portsc, PORTSC_CONN_STATUS, PORTSC_CONN_STATUS, 5000000, 100); in xdbc_start() 443 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_RUN, CTRL_DBC_RUN, 5000000, 100); in xdbc_start() 530 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 10); in xdbc_handle_external_reset() 558 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 100); in xdbc_early_setup()
|