Home
last modified time | relevance | path

Searched refs:client_version (Results 1 – 15 of 15) sorted by relevance

/dragonfly/crypto/libressl/ssl/
HDssl_packet.c75 uint16_t record_length, client_version, cipher_specs_length; in ssl_convert_sslv2_client_hello() local
91 !CBS_get_u16(&cbs, &client_version)) in ssl_convert_sslv2_client_hello()
138 if (!CBS_get_u16(&cbs, &client_version)) in ssl_convert_sslv2_client_hello()
189 if (!CBB_add_u16(&client_hello, client_version)) in ssl_convert_sslv2_client_hello()
HDtls13_client.c91 uint16_t client_version; in tls13_client_hello_build() local
95 if (!ssl_max_legacy_version(s, &client_version)) in tls13_client_hello_build()
98 if (!CBB_add_u16(cbb, client_version)) in tls13_client_hello_build()
HDssl_srvr.c782 uint16_t client_version; in ssl3_get_client_hello() local
818 if (!CBS_get_u16(&cbs, &client_version)) in ssl3_get_client_hello()
842 if (!ssl_max_shared_version(s, client_version, &shared_version)) { in ssl3_get_client_hello()
843 if ((client_version >> 8) == SSL3_VERSION_MAJOR && in ssl3_get_client_hello()
849 s->version = client_version; in ssl3_get_client_hello()
855 s->s3->hs.peer_legacy_version = client_version; in ssl3_get_client_hello()
HDssl_locl.h1121 int client_version; /* what was passed, used for member
HDssl_lib.c192 s->client_version = s->version; in SSL_clear()
/dragonfly/contrib/wpa_supplicant/src/tls/
HDtlsv1_server_read.c180 conn->client_version = WPA_GET_BE16(pos); in tls_process_client_hello()
182 conn->client_version >> 8, in tls_process_client_hello()
183 conn->client_version & 0xff); in tls_process_client_hello()
184 if (conn->client_version < TLS_VERSION_1) { in tls_process_client_hello()
186 conn->client_version >> 8, in tls_process_client_hello()
187 conn->client_version & 0xff); in tls_process_client_hello()
197 else if (conn->client_version >= TLS_VERSION_1_2) in tls_process_client_hello()
200 else if (conn->client_version > TLS_VERSION_1_1) in tls_process_client_hello()
203 conn->rl.tls_version = conn->client_version; in tls_process_client_hello()
665 if (!use_random && WPA_GET_BE16(out) != conn->client_version) { in tls_process_client_key_exchange_rsa()
HDtlsv1_server_i.h48 u16 client_version; member
/dragonfly/crypto/openssh/
HDkexgen.c50 const struct sshbuf *client_version, in kex_gen_hash() argument
67 if ((r = sshbuf_put_stringb(b, client_version)) != 0 || in kex_gen_hash()
206 kex->client_version, in input_kex_gen_reply()
330 kex->client_version, in input_kex_gen_init()
HDssh_api.c264 if (sshbuf_len(ssh->kex->client_version) == 0 || in ssh_packet_next()
459 sshbuf_len(ssh->kex->client_version) == 0) in _ssh_exchange_banner()
460 r = _ssh_read_banner(ssh, ssh->kex->client_version); in _ssh_exchange_banner()
466 sshbuf_len(ssh->kex->client_version) == 0) in _ssh_exchange_banner()
467 r = _ssh_send_banner(ssh, ssh->kex->client_version); in _ssh_exchange_banner()
473 sshbuf_len(ssh->kex->client_version) != 0) { in _ssh_exchange_banner()
HDkexgex.c49 const struct sshbuf *client_version, in kexgex_hash() argument
69 if ((r = sshbuf_put_stringb(b, client_version)) < 0 || in kexgex_hash()
HDkexgexs.c170 kex->client_version, in input_kex_dh_gex_init()
HDkex.c677 (kex->client_version = sshbuf_new()) == NULL || in kex_new()
736 sshbuf_free(kex->client_version); in kex_free()
1245 ssh->kex->server_version : ssh->kex->client_version; in kex_exchange_identification()
1247 ssh->kex->client_version : ssh->kex->server_version; in kex_exchange_identification()
HDkex.h158 struct sshbuf *client_version; member
HDkexgexc.c192 kex->client_version, in input_kex_dh_gex_reply()
HDpacket.c2352 (r = sshbuf_put_stringb(m, kex->client_version)) != 0 || in kex_to_blob()
2515 (r = sshbuf_get_stringb(m, kex->client_version)) != 0 || in kex_from_blob()