/linux/drivers/net/wireguard/ |
A D | noise.c | 65 memset(handshake, 0, sizeof(*handshake)); in wg_noise_handshake_init() 93 &handshake->entry); in wg_noise_handshake_clear() 504 handshake_init(handshake->chaining_key, handshake->hash, in wg_noise_handshake_create_initiation() 514 handshake->hash); in wg_noise_handshake_create_initiation() 517 if (!mix_dh(handshake->chaining_key, key, handshake->ephemeral_private, in wg_noise_handshake_create_initiation() 538 &handshake->entry); in wg_noise_handshake_create_initiation() 587 handshake = &peer->handshake; in wg_noise_handshake_consume_initiation() 664 if (!mix_dh(handshake->chaining_key, NULL, handshake->ephemeral_private, in wg_noise_handshake_create_response() 669 if (!mix_dh(handshake->chaining_key, NULL, handshake->ephemeral_private, in wg_noise_handshake_create_response() 674 mix_psk(handshake->chaining_key, handshake->hash, key, in wg_noise_handshake_create_response() [all …]
|
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,
|
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()
|
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()
|
A D | peer.c | 40 wg_noise_handshake_init(&peer->handshake, &wg->static_identity, in wg_peer_create() 213 &peer->handshake.entry); in kref_release()
|
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()
|
A D | peer.h | 47 struct noise_handshake handshake; member
|
A D | cookie.c | 64 peer->handshake.remote_static, cookie_key_label); in wg_cookie_checker_precompute_peer_keys() 66 peer->handshake.remote_static, mac1_key_label); in wg_cookie_checker_precompute_peer_keys()
|
A D | device.c | 84 wg_noise_handshake_clear(&peer->handshake); in wg_pm_notification() 107 wg_noise_handshake_clear(&peer->handshake); in wg_stop()
|
A D | timers.c | 130 wg_noise_handshake_clear(&peer->handshake); in wg_queued_expired_zero_key_material()
|
/linux/arch/powerpc/kernel/ |
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()
|
/linux/drivers/char/ |
A 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()
|
/linux/drivers/input/mouse/ |
A D | pc110pad.c | 46 int handshake = inb_p(pc110pad_io + 2); in pc110pad_interrupt() local 48 outb(handshake | 1, pc110pad_io + 2); in pc110pad_interrupt() 50 outb(handshake & ~1, pc110pad_io + 2); in pc110pad_interrupt()
|
/linux/Documentation/admin-guide/blockdev/drbd/ |
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…
|
/linux/arch/arm/common/ |
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()
|
/linux/drivers/tty/hvc/ |
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()
|
/linux/drivers/usb/early/ |
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() 531 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 10); in xdbc_handle_external_reset() 559 ret = handshake(&xdbc.xdbc_reg->control, CTRL_DBC_ENABLE, 0, 100000, 100); in xdbc_early_setup()
|
/linux/include/linux/platform_data/ |
A D | dma-s3c24xx.h | 25 bool handshake; member
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-bus-pci-devices-catpt | 16 obtained during initial handshake with firmware.
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | lio_main.c | 138 struct handshake { struct 161 static struct handshake handshake[MAX_OCTEON_DEVICES]; variable 838 struct handshake *hs; in liquidio_probe() 869 hs = &handshake[oct_dev->octeon_id]; in liquidio_probe() 961 struct handshake *hs; in octeon_destroy_resources() 1083 hs = &handshake[i]; in octeon_destroy_resources() 1086 handshake[oct->octeon_id].init_ok = 0; in octeon_destroy_resources() 1088 handshake[oct->octeon_id].started_ok = 0; in octeon_destroy_resources() 3246 struct handshake *hs; in liquidio_init() 3258 hs = &handshake[i]; in liquidio_init() [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
A D | cypress,cy8ctma340.yaml | 104 use-handshake: 105 description: enable register-based handshake (boolean). This should only
|
/linux/Documentation/networking/ |
A D | tls.rst | 28 handshake is complete, we have all the parameters required to move the 127 messages (record type 21) and handshake messages (record type 22), etc. 213 of calling send directly after a handshake using gnutls.
|
A D | mac80211-auth-assoc-deauth.txt | 77 do 4-way-handshake
|
/linux/drivers/usb/host/ |
A D | pci-quirks.c | 1011 static int handshake(void __iomem *ptr, u32 mask, u32 done, in handshake() function 1184 timeout = handshake(base + ext_cap_offset, XHCI_HC_BIOS_OWNED, in quirk_usb_handoff_xhci() 1213 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_CNR, 0, in quirk_usb_handoff_xhci() 1229 timeout = handshake(op_reg_base + XHCI_STS_OFFSET, XHCI_STS_HALT, 1, in quirk_usb_handoff_xhci()
|
/linux/sound/pci/echoaudio/ |
A D | echoaudio_dsp.c | 50 if (chip->comm_page->handshake) { in wait_handshake() 680 chip->comm_page->handshake = cpu_to_le32(0xffffffff); in restore_dsp_rettings() 990 chip->comm_page->handshake = cpu_to_le32(0xffffffff); in init_dsp_comm_page()
|