Home
last modified time | relevance | path

Searched refs:TLS1_3_VERSION (Results 1 – 25 of 49) sorted by relevance

12

/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_versions.cc33 case TLS1_3_VERSION: in ssl_protocol_version_from_wire()
55 TLS1_3_VERSION,
87 case TLS1_3_VERSION: in ssl_version_to_string()
153 *out = method->is_dtls ? DTLS1_2_VERSION : TLS1_3_VERSION; in set_max_version()
167 {TLS1_3_VERSION, SSL_OP_NO_TLSv1_3},
192 if (hs->ssl->quic_method && min_version < TLS1_3_VERSION) { in ssl_get_version_range()
193 min_version = TLS1_3_VERSION; in ssl_get_version_range()
301 if (version == TLS1_3_VERSION && hs->apply_jdk11_workaround) { in ssl_negotiate_version()
Dt1_lib.cc334 (ssl_protocol_version(ssl) >= TLS1_3_VERSION || in tls1_get_shared_group()
398 ssl_protocol_version(hs->ssl) < TLS1_3_VERSION) { in tls1_check_group_id()
596 if (hs->min_version >= TLS1_3_VERSION) { in ext_ri_add_clienthello()
619 if (contents != NULL && ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ext_ri_parse_serverhello()
706 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ext_ri_parse_clienthello()
740 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ext_ri_add_serverhello()
760 if (hs->min_version >= TLS1_3_VERSION) { in ext_ems_add_clienthello()
777 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION || in ext_ems_parse_serverhello()
799 if (ssl_protocol_version(hs->ssl) >= TLS1_3_VERSION) { in ext_ems_parse_clienthello()
836 if (hs->min_version >= TLS1_3_VERSION || in ext_ticket_add_clienthello()
[all …]
Dtls_record.cc267 ssl_protocol_version(ssl) >= TLS1_3_VERSION && in tls_open_record()
313 ssl->s3->aead_read_ctx->ProtocolVersion() >= TLS1_3_VERSION; in tls_open_record()
383 aead->ProtocolVersion() >= TLS1_3_VERSION) { in do_seal_record()
446 ssl->s3->aead_write_ctx->ProtocolVersion() >= TLS1_3_VERSION) { in tls_seal_scatter_suffix_len()
575 ssl_protocol_version(ssl) >= TLS1_3_VERSION && in ssl_process_alert()
696 ssl->s3->aead_write_ctx->ProtocolVersion() >= TLS1_3_VERSION) { in SSL_max_seal_overhead()
Dssl_test.cc83 {TLS1_3_VERSION, VersionParam::is_tls, "TLS1_3"},
891 ExpectDefaultVersion(TLS1_VERSION, TLS1_3_VERSION, &TLS_method); in TEST()
1141 {TLS1_3_VERSION, TLS1_2_VERSION}, in TEST()
1144 {TLS1_3_VERSION, TLS1_3_VERSION}, in TEST()
2401 const time_t timeout = version() == TLS1_3_VERSION in TEST_P()
2463 if (version() == TLS1_3_VERSION) { in TEST_P()
2657 ASSERT_TRUE(SSL_CTX_set_max_proto_version(client_ctx.get(), TLS1_3_VERSION)); in TEST()
2658 ASSERT_TRUE(SSL_CTX_set_max_proto_version(server_ctx.get(), TLS1_3_VERSION)); in TEST()
2696 EXPECT_EQ(TLS1_3_VERSION, SSL_CTX_get_max_proto_version(ctx.get())); in TEST()
2701 EXPECT_TRUE(SSL_CTX_set_max_proto_version(ctx.get(), TLS1_3_VERSION)); in TEST()
[all …]
Dhandshake_client.cc234 if (hs->max_version >= TLS1_3_VERSION) { in ssl_write_client_cipher_list()
249 if (hs->min_version < TLS1_3_VERSION) { in ssl_write_client_cipher_list()
268 if (!any_enabled && hs->max_version < TLS1_3_VERSION) { in ssl_write_client_cipher_list()
427 } else if (hs->max_version >= TLS1_3_VERSION) { in do_start_connect()
603 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in do_read_server_hello()
628 ssl_supports_version(hs, TLS1_3_VERSION)) { in do_read_server_hello()
Dssl_aead_ctx.cc132 if (protocol_version >= TLS1_3_VERSION) { in Create()
140 assert(protocol_version < TLS1_3_VERSION); in Create()
Dssl_cipher.cc568 const bool is_tls13 = version == TLS1_3_VERSION && !is_dtls; in ssl_cipher_get_evp_aead()
598 if (version >= TLS1_3_VERSION) { in ssl_cipher_get_evp_aead()
1470 return TLS1_3_VERSION; in SSL_CIPHER_get_min_version()
1484 return TLS1_3_VERSION; in SSL_CIPHER_get_max_version()
Dssl_lib.cc466 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ssl_can_renegotiate()
512 if (SSL_version(ssl) < TLS1_3_VERSION) { in SSL_get_traffic_secrets()
924 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ssl_do_post_handshake()
1147 if (ssl_protocol_version(ssl) < TLS1_3_VERSION) { in SSL_key_update()
1494 ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_get_tls_unique()
1645 ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_get_finished()
1660 ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_get_peer_finished()
1687 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_get_extms_support()
1836 return ssl_protocol_version(ssl) >= TLS1_3_VERSION || in SSL_get_secure_renegotiation_support()
2974 ssl_protocol_version(ssl) != TLS1_3_VERSION || in SSL_process_tls13_new_session_ticket()
Dssl_session.cc380 if (version >= TLS1_3_VERSION) { in ssl_get_new_session()
393 if (hs->ticket_expected || version >= TLS1_3_VERSION) { in ssl_get_new_session()
1022 return ssl_session_protocol_version(session) >= TLS1_3_VERSION; in SSL_SESSION_should_be_single_use()
1070 return ssl_session_protocol_version(session) >= TLS1_3_VERSION && in SSL_SESSION_early_data_capable()
Dt1_enc.cc325 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_export_keying_material()
/external/boringssl/src/ssl/
Dssl_versions.cc33 case TLS1_3_VERSION: in ssl_protocol_version_from_wire()
55 TLS1_3_VERSION,
87 case TLS1_3_VERSION: in ssl_version_to_string()
153 *out = method->is_dtls ? DTLS1_2_VERSION : TLS1_3_VERSION; in set_max_version()
167 {TLS1_3_VERSION, SSL_OP_NO_TLSv1_3},
192 if (hs->ssl->quic_method && min_version < TLS1_3_VERSION) { in ssl_get_version_range()
193 min_version = TLS1_3_VERSION; in ssl_get_version_range()
301 if (version == TLS1_3_VERSION && hs->apply_jdk11_workaround) { in ssl_negotiate_version()
Dt1_lib.cc339 (ssl_protocol_version(ssl) >= TLS1_3_VERSION || in tls1_get_shared_group()
403 ssl_protocol_version(hs->ssl) < TLS1_3_VERSION) { in tls1_check_group_id()
705 if (hs->max_version < TLS1_3_VERSION) { in ext_ech_add_clienthello()
777 if (hs->min_version >= TLS1_3_VERSION) { in ext_ri_add_clienthello()
800 if (contents != NULL && ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ext_ri_parse_serverhello()
887 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ext_ri_parse_clienthello()
921 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ext_ri_add_serverhello()
941 if (hs->min_version >= TLS1_3_VERSION) { in ext_ems_add_clienthello()
958 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION || in ext_ems_parse_serverhello()
980 if (ssl_protocol_version(hs->ssl) >= TLS1_3_VERSION) { in ext_ems_parse_clienthello()
[all …]
Dtls_record.cc267 ssl_protocol_version(ssl) >= TLS1_3_VERSION && in tls_open_record()
313 ssl->s3->aead_read_ctx->ProtocolVersion() >= TLS1_3_VERSION; in tls_open_record()
383 aead->ProtocolVersion() >= TLS1_3_VERSION) { in do_seal_record()
446 ssl->s3->aead_write_ctx->ProtocolVersion() >= TLS1_3_VERSION) { in tls_seal_scatter_suffix_len()
577 ssl_protocol_version(ssl) >= TLS1_3_VERSION && in ssl_process_alert()
698 ssl->s3->aead_write_ctx->ProtocolVersion() >= TLS1_3_VERSION) { in SSL_max_seal_overhead()
Dssl_test.cc83 {TLS1_3_VERSION, VersionParam::is_tls, "TLS1_3"},
891 ExpectDefaultVersion(TLS1_VERSION, TLS1_3_VERSION, &TLS_method); in TEST()
1141 {TLS1_3_VERSION, TLS1_2_VERSION}, in TEST()
1144 {TLS1_3_VERSION, TLS1_3_VERSION}, in TEST()
2401 const time_t timeout = version() == TLS1_3_VERSION in TEST_P()
2463 if (version() == TLS1_3_VERSION) { in TEST_P()
2657 ASSERT_TRUE(SSL_CTX_set_max_proto_version(client_ctx.get(), TLS1_3_VERSION)); in TEST()
2658 ASSERT_TRUE(SSL_CTX_set_max_proto_version(server_ctx.get(), TLS1_3_VERSION)); in TEST()
2696 EXPECT_EQ(TLS1_3_VERSION, SSL_CTX_get_max_proto_version(ctx.get())); in TEST()
2701 EXPECT_TRUE(SSL_CTX_set_max_proto_version(ctx.get(), TLS1_3_VERSION)); in TEST()
[all …]
Dhandshake_client.cc234 if (hs->max_version >= TLS1_3_VERSION) { in ssl_write_client_cipher_list()
249 if (hs->min_version < TLS1_3_VERSION) { in ssl_write_client_cipher_list()
268 if (!any_enabled && hs->max_version < TLS1_3_VERSION) { in ssl_write_client_cipher_list()
426 } else if (hs->max_version >= TLS1_3_VERSION) { in do_start_connect()
602 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in do_read_server_hello()
627 ssl_supports_version(hs, TLS1_3_VERSION)) { in do_read_server_hello()
Dssl_aead_ctx.cc132 if (protocol_version >= TLS1_3_VERSION) { in Create()
140 assert(protocol_version < TLS1_3_VERSION); in Create()
Dssl_cipher.cc568 const bool is_tls13 = version == TLS1_3_VERSION && !is_dtls; in ssl_cipher_get_evp_aead()
598 if (version >= TLS1_3_VERSION) { in ssl_cipher_get_evp_aead()
1469 return TLS1_3_VERSION; in SSL_CIPHER_get_min_version()
1483 return TLS1_3_VERSION; in SSL_CIPHER_get_max_version()
Dssl_lib.cc466 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ssl_can_renegotiate()
512 if (SSL_version(ssl) < TLS1_3_VERSION) { in SSL_get_traffic_secrets()
923 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in ssl_do_post_handshake()
1146 if (ssl_protocol_version(ssl) < TLS1_3_VERSION) { in SSL_key_update()
1537 ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_get_tls_unique()
1688 ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_get_finished()
1703 ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_get_peer_finished()
1730 if (ssl_protocol_version(ssl) >= TLS1_3_VERSION) { in SSL_get_extms_support()
1879 return ssl_protocol_version(ssl) >= TLS1_3_VERSION || in SSL_get_secure_renegotiation_support()
3057 ssl_protocol_version(ssl) != TLS1_3_VERSION || in SSL_process_tls13_new_session_ticket()
Dssl_session.cc375 if (version >= TLS1_3_VERSION) { in ssl_get_new_session()
388 if (hs->ticket_expected || version >= TLS1_3_VERSION) { in ssl_get_new_session()
1018 return ssl_session_protocol_version(session) >= TLS1_3_VERSION; in SSL_SESSION_should_be_single_use()
1066 return ssl_session_protocol_version(session) >= TLS1_3_VERSION && in SSL_SESSION_early_data_capable()
/external/conscrypt/constants/src/gen/cpp/
Dgenerate_constants.cc85 CONST(TLS1_3_VERSION); in main()
/external/curl/lib/vtls/
Dopenssl.c2050 #ifdef TLS1_3_VERSION in ssl_tls_trace()
2051 case TLS1_3_VERSION: in ssl_tls_trace()
2208 #ifdef TLS1_3_VERSION in get_ssl_version_txt()
2209 case TLS1_3_VERSION: in get_ssl_version_txt()
2256 #ifdef TLS1_3_VERSION in set_ssl_version_min_max()
2258 ossl_ssl_version_min = TLS1_3_VERSION; in set_ssl_version_min_max()
2289 #ifdef TLS1_3_VERSION in set_ssl_version_min_max()
2291 ossl_ssl_version_max = TLS1_3_VERSION; in set_ssl_version_min_max()
2324 #if (OPENSSL_VERSION_NUMBER < 0x1000100FL) || !defined(TLS1_3_VERSION) in set_ssl_version_min_max_legacy()
2334 #ifdef TLS1_3_VERSION in set_ssl_version_min_max_legacy()
[all …]
/external/rust/crates/quiche/src/
Dtls.rs46 const TLS1_3_VERSION: u16 = 0x0304; constant
317 self.set_min_proto_version(TLS1_3_VERSION); in init()
318 self.set_max_proto_version(TLS1_3_VERSION); in init()
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dbssl_shim.cc476 GetProtocolVersion(ssl) < TLS1_3_VERSION; in CheckHandshakeProperties()
1068 GetProtocolVersion(ssl) < TLS1_3_VERSION && in DoExchange()
1074 if (GetProtocolVersion(ssl) >= TLS1_3_VERSION && !config->is_server) { in DoExchange()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc441 GetProtocolVersion(ssl) < TLS1_3_VERSION; in CheckHandshakeProperties()
1068 GetProtocolVersion(ssl) < TLS1_3_VERSION && in DoExchange()
1074 if (GetProtocolVersion(ssl) >= TLS1_3_VERSION && !config->is_server) { in DoExchange()
/external/python/cpython3/Modules/
D_ssl.c357 #ifdef TLS1_3_VERSION
358 PY_PROTO_TLSv1_3 = TLS1_3_VERSION,
376 #elif defined(TLS1_3_VERSION) && !defined(OPENSSL_NO_TLS1_3)
382 #if defined(TLS1_3_VERSION) && !defined(OPENSSL_NO_TLS1_3)
441 #ifdef TLS1_3_VERSION
981 #ifdef TLS1_3_VERSION in newPySSLSocket()
2817 #ifdef TLS1_3_VERSION in _ssl__SSLSocket_verify_client_post_handshake_impl()
3279 #ifdef TLS1_3_VERSION in _ssl__SSLContext_impl()
3826 #if TLS1_3_VERSION in get_post_handshake_auth()
3833 #if TLS1_3_VERSION
[all …]

12