Home
last modified time | relevance | path

Searched refs:max_version (Results 1 – 25 of 27) sorted by relevance

12

/third_party/openssl/apps/
Dciphers.c106 int min_version = 0, max_version = 0; in ciphers_main() local
137 max_version = SSL3_VERSION; in ciphers_main()
141 max_version = TLS1_VERSION; in ciphers_main()
145 max_version = TLS1_1_VERSION; in ciphers_main()
149 max_version = TLS1_2_VERSION; in ciphers_main()
153 max_version = TLS1_3_VERSION; in ciphers_main()
195 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in ciphers_main()
Ds_time.c130 int min_version = 0, max_version = 0, ver, buf_len, fd; in s_time_main() local
211 max_version = SSL3_VERSION; in s_time_main()
215 max_version = TLS1_VERSION; in s_time_main()
219 max_version = TLS1_1_VERSION; in s_time_main()
223 max_version = TLS1_2_VERSION; in s_time_main()
227 max_version = TLS1_3_VERSION; in s_time_main()
250 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_time_main()
Ds_client.c868 int min_version = 0, max_version = 0, prot_opt = 0, no_prot_opt = 0; in s_client_main() local
1207 max_version = SSL3_VERSION; in s_client_main()
1215 max_version = TLS1_3_VERSION; in s_client_main()
1223 max_version = TLS1_2_VERSION; in s_client_main()
1231 max_version = TLS1_1_VERSION; in s_client_main()
1239 max_version = TLS1_VERSION; in s_client_main()
1256 max_version = DTLS1_VERSION; in s_client_main()
1265 max_version = DTLS1_2_VERSION; in s_client_main()
1720 if (max_version != 0 in s_client_main()
1721 && SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_client_main()
Ds_server.c1035 int min_version = 0, max_version = 0, prot_opt = 0, no_prot_opt = 0; in s_server_main() local
1479 max_version = SSL3_VERSION; in s_server_main()
1483 max_version = TLS1_3_VERSION; in s_server_main()
1487 max_version = TLS1_2_VERSION; in s_server_main()
1491 max_version = TLS1_1_VERSION; in s_server_main()
1495 max_version = TLS1_VERSION; in s_server_main()
1507 max_version = DTLS1_VERSION; in s_server_main()
1515 max_version = DTLS1_2_VERSION; in s_server_main()
1864 if (max_version != 0 in s_server_main()
1865 && SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_server_main()
/third_party/openssl/test/
Dssl_ctx_test.c15 int max_version; member
48 if (!TEST_int_eq(SSL_CTX_set_max_proto_version(ctx, t.max_version), t.max_ok)) in test_set_min_max_version()
57 if (!TEST_int_eq(SSL_set_max_proto_version(ssl, t.max_version), t.max_ok)) in test_set_min_max_version()
Dssl_old_test.c917 int min_version = 0, max_version = 0; in main() local
1346 max_version = SSL3_VERSION; in main()
1349 max_version = TLS1_VERSION; in main()
1352 max_version = TLS1_1_VERSION; in main()
1355 max_version = TLS1_2_VERSION; in main()
1360 max_version = TLS1_2_VERSION; in main()
1362 max_version = 0; in main()
1371 max_version = DTLS1_VERSION; in main()
1374 max_version = DTLS1_2_VERSION; in main()
1377 max_version = 0; in main()
[all …]
Dsslapitest.c952 int min_version, int max_version, in execute_test_large_message() argument
975 max_version, &sctx, &cctx, cert, in execute_test_large_message()
1510 int min_version, int max_version) in execute_cleanse_plaintext() argument
1524 min_version, max_version, in execute_cleanse_plaintext()
4593 int max_version = TLS1_3_VERSION; in test_key_exchange() local
4600 max_version = TLS1_2_VERSION; in test_key_exchange()
4632 max_version = TLS1_2_VERSION; in test_key_exchange()
4669 max_version, &sctx, &cctx, cert, in test_key_exchange()
4816 int max_version = TLS1_3_VERSION; in test_negotiated_group() local
4840 max_version = TLS1_2_VERSION; in test_negotiated_group()
[all …]
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_util.c408 unsigned max_version = 0; in validate_context_version() local
412 max_version = screen->max_gl_compat_version; in validate_context_version()
415 max_version = screen->max_gl_core_version; in validate_context_version()
418 max_version = screen->max_gl_es1_version; in validate_context_version()
421 max_version = screen->max_gl_es2_version; in validate_context_version()
424 max_version = 0; in validate_context_version()
428 if (max_version == 0) { in validate_context_version()
431 } else if (req_version > max_version) { in validate_context_version()
/third_party/openssl/ssl/statem/
Dextensions_clnt.c111 static int use_ecc(SSL *s, int min_version, int max_version) in use_ecc() argument
146 if (tls_valid_group(s, ctmp, min_version, max_version, 1, NULL) in use_ecc()
160 int reason, min_version, max_version; in tls_construct_ctos_ec_pt_formats() local
162 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_ctos_ec_pt_formats()
167 if (!use_ecc(s, min_version, max_version)) in tls_construct_ctos_ec_pt_formats()
191 int min_version, max_version, reason; in tls_construct_ctos_supported_groups() local
193 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_ctos_supported_groups()
203 if (!use_ecc(s, min_version, max_version) in tls_construct_ctos_supported_groups()
204 && (SSL_IS_DTLS(s) || max_version < TLS1_3_VERSION)) in tls_construct_ctos_supported_groups()
225 if (tls_valid_group(s, ctmp, min_version, max_version, 0, &okfortls13) in tls_construct_ctos_supported_groups()
[all …]
Dextensions.c778 int max_version) in should_add_extension() argument
788 && (SSL_IS_DTLS(s) || max_version < TLS1_3_VERSION))) in should_add_extension()
806 int min_version, max_version = 0, reason; in tls_construct_extensions() local
824 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_extensions()
836 if (!custom_ext_add(s, context, pkt, x, chainidx, max_version)) { in tls_construct_extensions()
847 if (!should_add_extension(s, thisexd->context, context, max_version)) in tls_construct_extensions()
Dstatem_lib.c2024 int ssl_get_min_max_version(const SSL *s, int *min_version, int *max_version, in ssl_get_min_max_version() argument
2043 *min_version = *max_version = s->version; in ssl_get_min_max_version()
2114 *max_version = version; in ssl_get_min_max_version()
Dstatem_local.h193 unsigned int thisctx, int max_version);
/third_party/rust/crates/pkg-config-rs/src/
Dlib.rs80 max_version: Bound<String>, field
284 max_version: Bound::Unbounded, in new()
305 self.max_version = Bound::Unbounded; in atleast_version()
312 self.max_version = Bound::Included(vers.to_string()); in exactly_version()
326 self.max_version = match range.end_bound() { in range_version()
512 match self.max_version { in command()
552 max_version: Bound::Unbounded, in default()
/third_party/mbedtls/programs/ssl/
Dssl_client2.c483 int max_version; /* maximum protocol version accepted */ member
850 opt.max_version = DFL_MAX_VERSION; in main()
1143 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1146 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_4; in main()
1165 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1170 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1177 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_4; in main()
1370 if( opt.max_version != -1 && in main()
1371 ciphersuite_info->min_minor_ver > opt.max_version ) in main()
1387 if( opt.max_version == -1 || in main()
[all …]
Dssl_server2.c607 int max_version; /* maximum protocol version accepted */ member
1533 opt.max_version = DFL_MAX_VERSION; in main()
1807 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1810 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_4; in main()
1829 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1834 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1841 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_4; in main()
2097 if( opt.max_version != -1 && in main()
2098 ciphersuite_info->min_minor_ver > opt.max_version ) in main()
2114 if( opt.max_version == -1 || in main()
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/
Dgenerate_grammar_tables.py275 max_version=self.lastVersion)
328 max_version = inst.get('lastVersion', None)
335 return str(InstInitializer(opname, caps, exts, operands, min_version, max_version))
428 max_version=self.lastVersion)
452 max_version = entry.get('lastVersion', None)
458 enumerant, value, caps, exts, params, version, max_version))
/third_party/spirv-tools/utils/
Dgenerate_grammar_tables.py275 max_version=self.lastVersion)
328 max_version = inst.get('lastVersion', None)
335 return str(InstInitializer(opname, caps, exts, operands, min_version, max_version))
428 max_version=self.lastVersion)
452 max_version = entry.get('lastVersion', None)
458 enumerant, value, caps, exts, params, version, max_version))
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py275 max_version=self.lastVersion)
328 max_version = inst.get('lastVersion', None)
335 return str(InstInitializer(opname, caps, exts, operands, min_version, max_version))
428 max_version=self.lastVersion)
452 max_version = entry.get('lastVersion', None)
458 enumerant, value, caps, exts, params, version, max_version))
/third_party/openssl/ssl/
Dssl_conf.c97 int *max_version; member
369 return min_max_proto(cctx, value, cctx->max_version); in cmd_MaxProtocol()
1052 cctx->max_version = &ssl->max_proto_version; in SSL_CONF_CTX_set_ssl()
1058 cctx->max_version = NULL; in SSL_CONF_CTX_set_ssl()
1071 cctx->max_version = &ctx->max_proto_version; in SSL_CONF_CTX_set_ssl_ctx()
1077 cctx->max_version = NULL; in SSL_CONF_CTX_set_ssl_ctx()
Dssl_lib.c442 static int ssl_check_allowed_versions(int min_version, int max_version) in ssl_check_allowed_versions() argument
450 if (max_version == DTLS1_BAD_VER in ssl_check_allowed_versions()
451 || max_version >> 8 == DTLS1_VERSION_MAJOR) in ssl_check_allowed_versions()
454 if ((minisdtls && !maxisdtls && max_version != 0) in ssl_check_allowed_versions()
465 if (max_version == 0) in ssl_check_allowed_versions()
466 max_version = DTLS1_2_VERSION; in ssl_check_allowed_versions()
468 if (max_version == DTLS1_2_VERSION) in ssl_check_allowed_versions()
469 max_version = DTLS1_VERSION; in ssl_check_allowed_versions()
479 && DTLS_VERSION_GE(DTLS1_VERSION, max_version)) in ssl_check_allowed_versions()
483 && DTLS_VERSION_GE(DTLS1_2_VERSION, max_version)) in ssl_check_allowed_versions()
[all …]
/third_party/googletest/googletest/scripts/
Dgtest-config.in260 check_versions ${min_version:-0.0.0} ${max_version:-9999.9999.9999}
/third_party/mesa3d/src/virtio/virtio-gpu/
Dvirgl_hw.h530 uint32_t max_version; member
610 uint32_t max_version; member
/third_party/rust/crates/version_check/src/
Dlib.rs235 pub fn is_max_version(max_version: &str) -> Option<bool> { in is_max_version()
236 match (Version::read(), Version::parse(max_version)) { in is_max_version()
/third_party/node/src/
Dnode_crypto.cc581 int max_version = args[2].As<Int32>()->Value(); in Init() local
584 if (max_version == 0) in Init()
585 max_version = MAX_SUPPORTED_VERSION; in Init()
605 max_version = TLS1_2_VERSION; in Init()
607 max_version = TLS1_2_VERSION; in Init()
610 max_version = TLS1_2_VERSION; in Init()
614 max_version = MAX_SUPPORTED_VERSION; in Init()
617 max_version = MAX_SUPPORTED_VERSION; in Init()
621 max_version = MAX_SUPPORTED_VERSION; in Init()
625 max_version = TLS1_VERSION; in Init()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dlinker.cpp3608 unsigned max_version = 0; in link_shaders() local
3611 max_version = MAX2(max_version, prog->Shaders[i]->Version); in link_shaders()
3633 min_version != max_version) { in link_shaders()
3639 prog->data->Version = max_version; in link_shaders()
3839 if (max_version >= (prog->IsES ? 300 : 130)) { in link_shaders()

12