Home
last modified time | relevance | path

Searched refs:min_tls_version (Results 1 – 12 of 12) sorted by relevance

/openthread-3.7.0/third_party/mbedtls/repo/library/
Dssl_client.c357 ssl->handshake->min_tls_version, in ssl_write_client_hello_cipher_suites()
455 (handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_2) in ssl_write_client_hello_body()
461 (handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_3) in ssl_write_client_hello_body()
773 ssl->handshake->min_tls_version = ssl->tls_version; in ssl_prepare_client_hello()
779 ssl->handshake->min_tls_version = ssl->tls_version; in ssl_prepare_client_hello()
781 ssl->handshake->min_tls_version = ssl->conf->min_tls_version; in ssl_prepare_client_hello()
998 if (ssl->handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_3 && in mbedtls_ssl_write_client_hello()
Dssl_misc.h684 mbedtls_ssl_protocol_version min_tls_version; member
1848 return conf->min_tls_version == MBEDTLS_SSL_VERSION_TLS1_3 && in mbedtls_ssl_conf_is_tls13_only()
1857 return conf->min_tls_version == MBEDTLS_SSL_VERSION_TLS1_2 && in mbedtls_ssl_conf_is_tls12_only()
1866 return conf->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_3 && in mbedtls_ssl_conf_is_tls13_enabled()
1877 return conf->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_2 && in mbedtls_ssl_conf_is_tls12_enabled()
1888 return conf->min_tls_version == MBEDTLS_SSL_VERSION_TLS1_2 && in mbedtls_ssl_conf_is_hybrid_tls12_tls13()
2763 mbedtls_ssl_protocol_version min_tls_version,
Dssl_tls13_client.c52 unsigned char versions_len = (ssl->handshake->min_tls_version <= in ssl_tls13_write_supported_versions_ext()
83 if (ssl->handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_tls13_write_supported_versions_ext()
1460 if (handshake->min_tls_version > MBEDTLS_SSL_VERSION_TLS1_2 || ret) { in ssl_tls13_preprocess_server_hello()
Dssl_tls.c1371 ssl->conf->min_tls_version == MBEDTLS_SSL_VERSION_TLS1_3 && in ssl_conf_check()
2937 conf->min_tls_version = (mbedtls_ssl_protocol_version) ((major << 8) | minor); in mbedtls_ssl_conf_min_version()
5267 ssl->conf->min_tls_version > MBEDTLS_SSL_VERSION_TLS1_2 in ssl_context_load()
5945 conf->min_tls_version = MBEDTLS_SSL_VERSION_TLS1_2; in mbedtls_ssl_config_defaults()
5952 conf->min_tls_version = MBEDTLS_SSL_VERSION_TLS1_2; in mbedtls_ssl_config_defaults()
5955 conf->min_tls_version = MBEDTLS_SSL_VERSION_TLS1_3; in mbedtls_ssl_config_defaults()
5958 conf->min_tls_version = MBEDTLS_SSL_VERSION_TLS1_2; in mbedtls_ssl_config_defaults()
9502 mbedtls_ssl_protocol_version min_tls_version, in mbedtls_ssl_validate_ciphersuite() argument
9511 if ((suite_info->min_tls_version > max_tls_version) || in mbedtls_ssl_validate_ciphersuite()
9512 (suite_info->max_tls_version < min_tls_version)) { in mbedtls_ssl_validate_ciphersuite()
Dssl_tls12_client.c1273 if (ssl->tls_version < ssl->conf->min_tls_version || in ssl_parse_server_hello()
1278 (unsigned) ssl->conf->min_tls_version, in ssl_parse_server_hello()
Dssl_tls12_server.c813 if (suite_info->min_tls_version > ssl->tls_version || in ssl_ciphersuite_match()
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Dssl_ciphersuites.h457 uint16_t MBEDTLS_PRIVATE(min_tls_version); /* mbedtls_ssl_protocol_version */
Dssl.h1418 mbedtls_ssl_protocol_version MBEDTLS_PRIVATE(min_tls_version); /*!< min. TLS version used */
4361 conf->MBEDTLS_PRIVATE(min_tls_version) = tls_version; in mbedtls_ssl_conf_min_tls_version()
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c1047 TEST_ASSERT(ciphersuite_info->min_tls_version <= conf->max_tls_version); in set_ciphersuite()
1048 TEST_ASSERT(ciphersuite_info->max_tls_version >= conf->min_tls_version); in set_ciphersuite()
1053 if (conf->min_tls_version < ciphersuite_info->min_tls_version) { in set_ciphersuite()
1054 conf->min_tls_version = (mbedtls_ssl_protocol_version) ciphersuite_info->min_tls_version; in set_ciphersuite()
/openthread-3.7.0/third_party/mbedtls/repo/programs/ssl/
Dssl_client2.c1499 ciphersuite_info->min_tls_version > opt.max_version) { in main()
1517 if (opt.min_version < ciphersuite_info->min_tls_version) { in main()
1518 opt.min_version = ciphersuite_info->min_tls_version; in main()
Dssl_server2.c2380 ciphersuite_info->min_tls_version > opt.max_version) { in main()
2398 if (opt.min_version < ciphersuite_info->min_tls_version) { in main()
2399 opt.min_version = ciphersuite_info->min_tls_version; in main()
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function2971 int min_tls_version, int max_tls_version,
2983 mbedtls_ssl_conf_min_tls_version(&conf, min_tls_version);