/third_party/openssl/apps/ |
D | ciphers.c | 100 int min_version = 0, max_version = 0; in ciphers_main() local 131 max_version = SSL3_VERSION; in ciphers_main() 135 max_version = TLS1_VERSION; in ciphers_main() 139 max_version = TLS1_1_VERSION; in ciphers_main() 143 max_version = TLS1_2_VERSION; in ciphers_main() 147 max_version = TLS1_3_VERSION; in ciphers_main() 183 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in ciphers_main()
|
D | s_time.c | 105 int max_version = 0, ver, buf_len; in s_time_main() local 181 max_version = SSL3_VERSION; in s_time_main() 197 if (SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_time_main()
|
D | s_server.c | 1032 int min_version = 0, max_version = 0, prot_opt = 0, no_prot_opt = 0; in s_server_main() local 1449 max_version = SSL3_VERSION; in s_server_main() 1453 max_version = TLS1_3_VERSION; in s_server_main() 1457 max_version = TLS1_2_VERSION; in s_server_main() 1461 max_version = TLS1_1_VERSION; in s_server_main() 1465 max_version = TLS1_VERSION; in s_server_main() 1477 max_version = DTLS1_VERSION; in s_server_main() 1485 max_version = DTLS1_2_VERSION; in s_server_main() 1810 if (max_version != 0 in s_server_main() 1811 && SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_server_main()
|
D | s_client.c | 963 int min_version = 0, max_version = 0, prot_opt = 0, no_prot_opt = 0; in s_client_main() local 1285 max_version = SSL3_VERSION; in s_client_main() 1293 max_version = TLS1_3_VERSION; in s_client_main() 1301 max_version = TLS1_2_VERSION; in s_client_main() 1309 max_version = TLS1_1_VERSION; in s_client_main() 1317 max_version = TLS1_VERSION; in s_client_main() 1334 max_version = DTLS1_VERSION; in s_client_main() 1343 max_version = DTLS1_2_VERSION; in s_client_main() 1750 if (max_version != 0 in s_client_main() 1751 && SSL_CTX_set_max_proto_version(ctx, max_version) == 0) in s_client_main()
|
/third_party/grpc/src/cpp/common/ |
D | alts_context.cc | 57 const grpc_gcp_RpcProtocolVersions_Version* max_version = in AltsContext() local 59 if (max_version != nullptr) { in AltsContext() 61 grpc_gcp_RpcProtocolVersions_Version_major(max_version); in AltsContext() 63 grpc_gcp_RpcProtocolVersions_Version_minor(max_version); in AltsContext()
|
/third_party/openssl/test/ |
D | ssl_ctx_test.c | 15 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()
|
D | ssltest_old.c | 909 int min_version = 0, max_version = 0; in main() local 1326 max_version = SSL3_VERSION; in main() 1329 max_version = TLS1_VERSION; in main() 1332 max_version = TLS1_2_VERSION; in main() 1335 max_version = TLS_MAX_VERSION; in main() 1343 max_version = DTLS1_VERSION; in main() 1346 max_version = DTLS1_2_VERSION; in main() 1349 max_version = DTLS_MAX_VERSION; in main() 1377 if (SSL_CTX_set_max_proto_version(c_ctx, max_version) == 0) in main() 1381 if (SSL_CTX_set_max_proto_version(s_ctx, max_version) == 0) in main()
|
/third_party/boringssl/src/ssl/ |
D | ssl_versions.cc | 182 uint16_t min_version, max_version; in ssl_get_version_range() local 185 !ssl_protocol_version_from_wire(&max_version, in ssl_get_version_range() 212 if (max_version < kProtocolVersions[i].version) { in ssl_get_version_range() 228 max_version = kProtocolVersions[i-1].version; in ssl_get_version_range() 239 *out_max_version = max_version; in ssl_get_version_range() 269 protocol_version > hs->max_version) { in ssl_supports_version()
|
D | handshake_client.cc | 235 if (hs->max_version >= TLS1_3_VERSION) { in ssl_write_client_cipher_list() 258 if (SSL_CIPHER_get_min_version(cipher) > hs->max_version || in ssl_write_client_cipher_list() 269 if (!any_enabled && hs->max_version < TLS1_3_VERSION) { in ssl_write_client_cipher_list() 387 if (!ssl_get_version_range(hs, &hs->min_version, &hs->max_version)) { in do_start_connect() 396 hs->max_version >= TLS1_2_VERSION ? DTLS1_2_VERSION : DTLS1_VERSION; in do_start_connect() 399 hs->max_version >= TLS1_2_VERSION ? TLS1_2_VERSION : hs->max_version; in do_start_connect() 425 } else if (hs->max_version >= TLS1_3_VERSION) { in do_start_connect()
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_client2.c | 389 int max_version; /* maximum protocol version accepted */ member 670 opt.max_version = DFL_MAX_VERSION; in main() 892 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_0; in main() 894 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_1; in main() 897 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main() 900 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main() 927 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_0; in main() 932 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_1; in main() 937 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main() 942 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main() [all …]
|
D | ssl_server2.c | 514 int max_version; /* maximum protocol version accepted */ member 1406 opt.max_version = DFL_MAX_VERSION; in main() 1610 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_0; in main() 1612 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_1; in main() 1615 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main() 1618 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main() 1645 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_0; in main() 1650 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_1; in main() 1655 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main() 1660 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main() [all …]
|
/third_party/boringssl/src/tool/ |
D | server.cc | 276 uint16_t max_version = TLS1_3_VERSION; in Server() local 278 !VersionFromString(&max_version, args_map["-max-version"])) { in Server() 284 if (!SSL_CTX_set_max_proto_version(ctx.get(), max_version)) { in Server()
|
D | client.cc | 377 uint16_t max_version = TLS1_3_VERSION; in Client() local 379 !VersionFromString(&max_version, args_map["-max-version"])) { in Client() 385 if (!SSL_CTX_set_max_proto_version(ctx.get(), max_version)) { in Client()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
D | generate_grammar_tables.py | 275 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/spirv-tools/utils/ |
D | generate_grammar_tables.py | 275 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/ |
D | ssl_conf.c | 96 int *max_version; member 371 return min_max_proto(cctx, value, cctx->max_version); in cmd_MaxProtocol() 971 cctx->max_version = &ssl->max_proto_version; in SSL_CONF_CTX_set_ssl() 977 cctx->max_version = NULL; in SSL_CONF_CTX_set_ssl() 990 cctx->max_version = &ctx->max_proto_version; in SSL_CONF_CTX_set_ssl_ctx() 996 cctx->max_version = NULL; in SSL_CONF_CTX_set_ssl_ctx()
|
D | ssl_lib.c | 463 static int ssl_check_allowed_versions(int min_version, int max_version) in ssl_check_allowed_versions() argument 471 if (max_version == DTLS1_BAD_VER in ssl_check_allowed_versions() 472 || max_version >> 8 == DTLS1_VERSION_MAJOR) in ssl_check_allowed_versions() 475 if ((minisdtls && !maxisdtls && max_version != 0) in ssl_check_allowed_versions() 486 if (max_version == 0) in ssl_check_allowed_versions() 487 max_version = DTLS1_2_VERSION; in ssl_check_allowed_versions() 489 if (max_version == DTLS1_2_VERSION) in ssl_check_allowed_versions() 490 max_version = DTLS1_VERSION; in ssl_check_allowed_versions() 500 && DTLS_VERSION_GE(DTLS1_VERSION, max_version)) in ssl_check_allowed_versions() 504 && DTLS_VERSION_GE(DTLS1_2_VERSION, max_version)) in ssl_check_allowed_versions() [all …]
|
/third_party/boringssl/src/third_party/googletest/scripts/ |
D | gtest-config.in | 260 check_versions ${min_version:-0.0.0} ${max_version:-9999.9999.9999}
|
/third_party/googletest/googletest/scripts/ |
D | gtest-config.in | 260 check_versions ${min_version:-0.0.0} ${max_version:-9999.9999.9999}
|
/third_party/openssl/test/ossl_shim/ |
D | test_config.h | 52 int max_version = 0; member
|
D | test_config.cc | 117 { "-max-version", &TestConfig::max_version },
|
/third_party/googletest/googlemock/scripts/ |
D | gmock-config.in | 289 check_versions ${min_version:-0.0.0} ${max_version:-9999.9999.9999}
|
/third_party/grpc/test/core/tsi/alts/handshaker/ |
D | alts_handshaker_client_test.cc | 66 const grpc_gcp_RpcProtocolVersions_Version* max_version = in validate_rpc_protocol_versions() local 70 GPR_ASSERT(grpc_gcp_RpcProtocolVersions_Version_major(max_version) == in validate_rpc_protocol_versions() 72 GPR_ASSERT(grpc_gcp_RpcProtocolVersions_Version_minor(max_version) == in validate_rpc_protocol_versions()
|
/third_party/openssl/ssl/statem/ |
D | extensions.c | 775 int max_version) in should_add_extension() argument 785 && (SSL_IS_DTLS(s) || max_version < TLS1_3_VERSION))) in should_add_extension() 803 int min_version, max_version = 0, reason; in tls_construct_extensions() local 822 reason = ssl_get_min_max_version(s, &min_version, &max_version, NULL); in tls_construct_extensions() 835 if (!custom_ext_add(s, context, pkt, x, chainidx, max_version)) { in tls_construct_extensions() 846 if (!should_add_extension(s, thisexd->context, context, max_version)) in tls_construct_extensions()
|
/third_party/boringssl/src/ssl/test/ |
D | test_config.h | 81 int max_version = 0; member
|