Home
last modified time | relevance | path

Searched refs:handshake (Results 1 – 25 of 91) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/net/wireguard/
H A Dnoise.c49 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 Dnoise.h95 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 Dnetlink.c116 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 Dpeerlookup.c40 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 Dpeer.c40 wg_noise_handshake_init(&peer->handshake, &wg->static_identity, in wg_peer_create()
213 &peer->handshake.entry); in kref_release()
H A Dsend.c34 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()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dsmp-tbsync.c28 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()
/OK3568_Linux_fs/kernel/drivers/char/
H A Ddsp56k.c60 #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()
/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Dpc110pad.c46 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()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/blockdev/drbd/
H A Ddrbd-connection-state-overview.dot21 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…
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/
H A Dssl_internal.h950 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_key()
951 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_key()
962 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_cert()
963 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_cert()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/
H A Dssl_internal.h950 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_key()
951 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_key()
962 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_cert()
963 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_cert()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/
H A Dssl_internal.h950 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_key()
951 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_key()
962 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_cert()
963 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_cert()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/
H A Dssl_internal.h950 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_key()
951 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_key()
962 if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) in mbedtls_ssl_own_cert()
963 key_cert = ssl->handshake->key_cert; in mbedtls_ssl_own_cert()
/OK3568_Linux_fs/kernel/drivers/tty/hvc/
H A Dhvsi.c389 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()
/OK3568_Linux_fs/kernel/arch/arm/common/
H A DbL_switcher.c65 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()
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/
H A Dhandshake.h147 GetDHOffset2(uint8_t *handshake, unsigned int len) in GetDHOffset2() argument
150 uint8_t *ptr = handshake + 768; in GetDHOffset2()
176 GetDigestOffset2(uint8_t *handshake, unsigned int len) in GetDigestOffset2() argument
179 uint8_t *ptr = handshake + 772; in GetDigestOffset2()
203 GetDHOffset1(uint8_t *handshake, unsigned int len) in GetDHOffset1() argument
206 uint8_t *ptr = handshake + 1532; in GetDHOffset1()
232 GetDigestOffset1(uint8_t *handshake, unsigned int len) in GetDigestOffset1() argument
235 uint8_t *ptr = handshake + 8; in GetDigestOffset1()
/OK3568_Linux_fs/kernel/drivers/usb/early/
H A Dxhci-dbc.c134 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()
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A DChangeLog11 - add RTMPE type 9 handshake support
46 - tweak handshake offset checking
61 - add FP10 handshake support for rtmpsrv/rtmpsuck
81 - more FlashPlayer 10 handshake support
123 - added server-side handshake processing
/OK3568_Linux_fs/u-boot/tools/kermit/
H A Dsend_cmd6 set handshake none
H A Dsend_image8 set handshake none
H A Ddot.kermrc4 set handshake none
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Ddma-s3c24xx.h25 bool handshake; member
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dcyttsp.txt36 - use-handshake : enable register-based handshake (boolean). This should
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dehci-hcd.c163 static int handshake(uint32_t *ptr, uint32_t mask, uint32_t done, int usec) in handshake() function
187 ret = handshake((uint32_t *)&ctrl->hcor->or_usbcmd, in ehci_reset()
219 ret = handshake(&ctrl->hcor->or_usbsts, STS_ASS | STS_PSS, 0, in ehci_shutdown()
231 ret = handshake(&ctrl->hcor->or_usbsts, STS_HALT, STS_HALT, in ehci_shutdown()
558 ret = handshake((uint32_t *)&ctrl->hcor->or_usbsts, STS_ASS, STS_ASS, in ehci_submit_async()
843 ret = handshake(status_reg, EHCI_PS_PR, 0, in ehci_submit_root()
1186 ret = handshake((uint32_t *)&hcor->or_usbsts, in enable_periodic()
1207 ret = handshake((uint32_t *)&hcor->or_usbsts, in disable_periodic()

1234