Home
last modified time | relevance | path

Searched refs:max_version (Results 1 - 25 of 35) sorted by relevance

12

/third_party/node/deps/openssl/openssl/apps/
H A 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()
H A 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()
H A Ds_server.c1036 int min_version = 0, max_version = 0, prot_opt = 0, no_prot_opt = 0; in s_server_main() local
1480 max_version = SSL3_VERSION; in s_server_main()
1484 max_version = TLS1_3_VERSION; in s_server_main()
1488 max_version = TLS1_2_VERSION; in s_server_main()
1492 max_version = TLS1_1_VERSION; in s_server_main()
1496 max_version = TLS1_VERSION; in s_server_main()
1508 max_version = DTLS1_VERSION; in s_server_main()
1516 max_version = DTLS1_2_VERSION; in s_server_main()
1870 if (max_version != 0 in s_server_main()
1871 && SSL_CTX_set_max_proto_version(ctx, max_version) in s_server_main()
[all...]
H A 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) in s_client_main()
[all...]
/third_party/openssl/apps/
H A 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()
H A 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()
/third_party/openssl/test/
H A 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()
H A 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 in main()
[all...]
/third_party/node/src/crypto/
H A Dcrypto_context.cc434 int max_version = args[2].As<Int32>()->Value(); in Init() local
437 if (max_version == 0) in Init()
438 max_version = kMaxSupportedVersion; in Init()
458 max_version = TLS1_2_VERSION; in Init()
460 max_version = TLS1_2_VERSION; in Init()
463 max_version = TLS1_2_VERSION; in Init()
467 max_version = kMaxSupportedVersion; in Init()
470 max_version = kMaxSupportedVersion; in Init()
474 max_version = kMaxSupportedVersion; in Init()
478 max_version in Init()
[all...]
/third_party/mesa3d/src/gallium/frontends/dri/
H A 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/node/deps/openssl/openssl/ssl/statem/
H A 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, in tls_construct_ctos_supported_groups()
527 int currv, min_version, max_version, reason; tls_construct_ctos_supported_versions() local
[all...]
H A Dextensions.c806 int max_version) in should_add_extension()
816 && (SSL_IS_DTLS(s) || max_version < TLS1_3_VERSION))) in should_add_extension()
834 int min_version, max_version = 0, reason; in tls_construct_extensions() local
852 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_extensions()
864 if (!custom_ext_add(s, context, pkt, x, chainidx, max_version)) { in tls_construct_extensions()
875 if (!should_add_extension(s, thisexd->context, context, max_version)) in tls_construct_extensions()
805 should_add_extension(SSL *s, unsigned int extctx, unsigned int thisctx, int max_version) should_add_extension() argument
/third_party/openssl/ssl/statem/
H A 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, in tls_construct_ctos_supported_groups()
527 int currv, min_version, max_version, reason; tls_construct_ctos_supported_versions() local
[all...]
H A Dextensions.c778 int max_version) in should_add_extension()
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()
777 should_add_extension(SSL *s, unsigned int extctx, unsigned int thisctx, int max_version) should_add_extension() argument
/third_party/mbedtls/programs/ssl/
H A Dssl_client2.c449 " max_version=%%s default: (library default: tls12)\n" \
505 int max_version; /* maximum protocol version accepted */ member
953 opt.max_version = DFL_MAX_VERSION; in main()
1300 } else if (strcmp(p, "max_version") == 0) { in main()
1303 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1307 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3; in main()
1322 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1325 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1331 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3; in main()
1498 if (opt.max_version ! in main()
[all...]
H A Dssl_server2.c575 " max_version=%%s default: (library default: tls12)\n" \
653 int max_version; /* maximum protocol version accepted */ member
1731 opt.max_version = DFL_MAX_VERSION; in main()
2086 } else if (strcmp(p, "max_version") == 0) { in main()
2089 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2093 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3; in main()
2108 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2111 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2117 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3; in main()
2379 if (opt.max_version ! in main()
[all...]
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_conf.c96 /* Pointer to SSL or SSL_CTX max_version field or NULL if none */
97 int *max_version; member
369 return min_max_proto(cctx, value, cctx->max_version); in cmd_MaxProtocol()
1060 cctx->max_version = &ssl->max_proto_version; in SSL_CONF_CTX_set_ssl()
1066 cctx->max_version = NULL; in SSL_CONF_CTX_set_ssl()
1079 cctx->max_version = &ctx->max_proto_version; in SSL_CONF_CTX_set_ssl_ctx()
1085 cctx->max_version = NULL; in SSL_CONF_CTX_set_ssl_ctx()
H A Dssl_lib.c457 static int ssl_check_allowed_versions(int min_version, int max_version) in ssl_check_allowed_versions() argument
465 if (max_version == DTLS1_BAD_VER in ssl_check_allowed_versions()
466 || max_version >> 8 == DTLS1_VERSION_MAJOR) in ssl_check_allowed_versions()
469 if ((minisdtls && !maxisdtls && max_version != 0) in ssl_check_allowed_versions()
480 if (max_version == 0) in ssl_check_allowed_versions()
481 max_version = DTLS1_2_VERSION; in ssl_check_allowed_versions()
483 if (max_version == DTLS1_2_VERSION) in ssl_check_allowed_versions()
484 max_version = DTLS1_VERSION; in ssl_check_allowed_versions()
494 && DTLS_VERSION_GE(DTLS1_VERSION, max_version)) in ssl_check_allowed_versions()
498 && DTLS_VERSION_GE(DTLS1_2_VERSION, max_version)) in ssl_check_allowed_versions()
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/
H A Dgenerate_grammar_tables.py263 '{min_version}', '{max_version}}}']
275 max_version=self.lastVersion)
328 max_version = inst.get('lastVersion', None)
335 return str(InstInitializer(opname, caps, exts, operands, min_version, max_version))
418 '{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/
H A Dssl_conf.c96 /* Pointer to SSL or SSL_CTX max_version field or NULL if none */
97 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()
H A Dssl_lib.c446 static int ssl_check_allowed_versions(int min_version, int max_version) in ssl_check_allowed_versions() argument
454 if (max_version == DTLS1_BAD_VER in ssl_check_allowed_versions()
455 || max_version >> 8 == DTLS1_VERSION_MAJOR) in ssl_check_allowed_versions()
458 if ((minisdtls && !maxisdtls && max_version != 0) in ssl_check_allowed_versions()
469 if (max_version == 0) in ssl_check_allowed_versions()
470 max_version = DTLS1_2_VERSION; in ssl_check_allowed_versions()
472 if (max_version == DTLS1_2_VERSION) in ssl_check_allowed_versions()
473 max_version = DTLS1_VERSION; in ssl_check_allowed_versions()
483 && DTLS_VERSION_GE(DTLS1_VERSION, max_version)) in ssl_check_allowed_versions()
487 && DTLS_VERSION_GE(DTLS1_2_VERSION, max_version)) in ssl_check_allowed_versions()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
H A Dgenerate_grammar_tables.py263 '{min_version}', '{max_version}}}']
275 max_version=self.lastVersion)
328 max_version = inst.get('lastVersion', None)
335 return str(InstInitializer(opname, caps, exts, operands, min_version, max_version))
418 '{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/
H A Dgenerate_grammar_tables.py278 '{min_version}', '{max_version}}}']
290 max_version=self.lastVersion)
343 max_version = inst.get('lastVersion', None)
350 return str(InstInitializer(opname, caps, exts, operands, min_version, max_version))
433 '{max_version}}}']
443 max_version=self.lastVersion)
467 max_version = entry.get('lastVersion', None)
473 enumerant, value, caps, exts, params, version, max_version))
/third_party/mesa3d/src/virtio/virtio-gpu/
H A Dvirgl_hw.h530 uint32_t max_version; member
610 uint32_t max_version; member
/third_party/rust/crates/version_check/src/
H A Dlib.rs229 /// The format of `max_version` is a semantic version: `1.3.0`, `1.15.0-beta`,
232 /// If the version cannot be retrieved or parsed, or if `max_version` could not
234 /// is at most `max_version` and `false` otherwise.
235 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()

Completed in 44 milliseconds

12