Searched refs:min_tls_version (Results 1 – 12 of 12) sorted by relevance
357 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()
684 mbedtls_ssl_protocol_version min_tls_version; member1848 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,
52 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()
1371 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() argument9511 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()
1273 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()
813 if (suite_info->min_tls_version > ssl->tls_version || in ssl_ciphersuite_match()
457 uint16_t MBEDTLS_PRIVATE(min_tls_version); /* mbedtls_ssl_protocol_version */
1418 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()
1047 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()
1499 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()
2380 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()
2971 int min_tls_version, int max_tls_version,2983 mbedtls_ssl_conf_min_tls_version(&conf, min_tls_version);