Home
last modified time | relevance | path

Searched refs:MBEDTLS_SSL_VERSION_TLS1_2 (Results 1 – 16 of 16) sorted by relevance

/third_party/mbedtls/library/
Dssl_ciphersuites.c343 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
351 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
359 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
367 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
375 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
383 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
391 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
403 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
407 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
415 MBEDTLS_SSL_VERSION_TLS1_2, MBEDTLS_SSL_VERSION_TLS1_2 },
[all …]
Dssl_client.c449 (handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_2) in ssl_write_client_hello_body()
451 (MBEDTLS_SSL_VERSION_TLS1_2 <= ssl->tls_version); in ssl_write_client_hello_body()
467 MBEDTLS_SSL_VERSION_TLS1_2); in ssl_write_client_hello_body()
703 if (ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_generate_random()
803 if (ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_prepare_client_hello()
Dssl_misc.h1843 return conf->MBEDTLS_PRIVATE(min_tls_version) == MBEDTLS_SSL_VERSION_TLS1_2 && in mbedtls_ssl_conf_is_tls12_only()
1844 conf->MBEDTLS_PRIVATE(max_tls_version) == MBEDTLS_SSL_VERSION_TLS1_2; in mbedtls_ssl_conf_is_tls12_only()
1862 return conf->MBEDTLS_PRIVATE(min_tls_version) <= MBEDTLS_SSL_VERSION_TLS1_2 && in mbedtls_ssl_conf_is_tls12_enabled()
1863 conf->MBEDTLS_PRIVATE(max_tls_version) >= MBEDTLS_SSL_VERSION_TLS1_2; in mbedtls_ssl_conf_is_tls12_enabled()
1873 return conf->MBEDTLS_PRIVATE(min_tls_version) == MBEDTLS_SSL_VERSION_TLS1_2 && in mbedtls_ssl_conf_is_hybrid_tls12_tls13()
2476 if (ssl->MBEDTLS_PRIVATE(tls_version) == MBEDTLS_SSL_VERSION_TLS1_2) { in mbedtls_ssl_sig_alg_is_supported()
Dssl_tls13_client.c58 MBEDTLS_SSL_VERSION_TLS1_2) ? 4 : 2; in ssl_tls13_write_supported_versions_ext()
88 if (ssl->handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_tls13_write_supported_versions_ext()
90 MBEDTLS_SSL_VERSION_TLS1_2); in ssl_tls13_write_supported_versions_ext()
1488 if (handshake->min_tls_version > MBEDTLS_SSL_VERSION_TLS1_2 || ret) { in ssl_tls13_preprocess_server_hello()
1495 ssl->tls_version = MBEDTLS_SSL_VERSION_TLS1_2; in ssl_tls13_preprocess_server_hello()
1646 MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_tls13_parse_server_hello()
Dssl_tls.c2255 if (ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_2) { in mbedtls_ssl_set_hs_psk()
3308 case MBEDTLS_SSL_VERSION_TLS1_2: in mbedtls_ssl_get_version()
3317 case MBEDTLS_SSL_VERSION_TLS1_2: in mbedtls_ssl_get_version()
3676 case MBEDTLS_SSL_VERSION_TLS1_2: in ssl_session_save()
3763 case MBEDTLS_SSL_VERSION_TLS1_2: in ssl_session_load()
4409 if (ssl->tls_version != MBEDTLS_SSL_VERSION_TLS1_2) { in mbedtls_ssl_context_save()
4590 ssl->conf->max_tls_version < MBEDTLS_SSL_VERSION_TLS1_2 || in ssl_context_load()
4591 ssl->conf->min_tls_version > MBEDTLS_SSL_VERSION_TLS1_2 || in ssl_context_load()
4678 MBEDTLS_SSL_VERSION_TLS1_2, /* (D)TLS 1.2 is forced */ in ssl_context_load()
4812 ssl->tls_version = MBEDTLS_SSL_VERSION_TLS1_2; in ssl_context_load()
[all …]
Dssl_msg.c2742 tls_ver = MBEDTLS_SSL_VERSION_TLS1_2; in mbedtls_ssl_write_record()
3812 if (ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_2 in ssl_prepare_record_content()
5431 if (ssl->tls_version <= MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_handle_hs_message_post_handshake()
Dssl_tls12_client.c1430 ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_parse_server_hello()
1934 MBEDTLS_SSL_VERSION_TLS1_2); in ssl_write_encrypted_pms()
Dssl_tls13_server.c1286 MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_tls13_parse_client_hello()
Dssl_tls12_server.c1163 if (ssl->tls_version != MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_parse_client_hello()
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.data264 …ersion:0:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_…
296 …ersion:1:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_…
336 …_VERSION_UNKNOWN:MBEDTLS_SSL_VERSION_UNKNOWN:MBEDTLS_SSL_VERSION_UNKNOWN:MBEDTLS_SSL_VERSION_TLS1_2
817 ssl_session_serialize_version_check:1:0:0:0:0:MBEDTLS_SSL_VERSION_TLS1_2
821 ssl_session_serialize_version_check:0:1:0:0:0:MBEDTLS_SSL_VERSION_TLS1_2
825 ssl_session_serialize_version_check:0:0:1:0:0:MBEDTLS_SSL_VERSION_TLS1_2
829 ssl_session_serialize_version_check:0:0:0:1:0:MBEDTLS_SSL_VERSION_TLS1_2
865 ssl_crypt_record:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_MD_SHA384:0:0:MBEDTLS_SSL_VERSION_TLS1_2:0:0
869 ssl_crypt_record:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_MD_SHA384:0:0:MBEDTLS_SSL_VERSION_TLS1_2:4:4
873 ssl_crypt_record:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_MD_SHA384:0:0:MBEDTLS_SSL_VERSION_TLS1_2:4:0
[all …]
Dtest_suite_ssl.function1465 MBEDTLS_SSL_VERSION_TLS1_2,
1504 MBEDTLS_SSL_VERSION_TLS1_2);
2017 MBEDTLS_SSL_VERSION_TLS1_2);
2151 if (tls_version == MBEDTLS_SSL_VERSION_TLS1_2) {
2978 mbedtls_ssl_conf_max_tls_version(&conf, MBEDTLS_SSL_VERSION_TLS1_2);
2979 mbedtls_ssl_conf_min_tls_version(&conf, MBEDTLS_SSL_VERSION_TLS1_2);
3017 mbedtls_ssl_conf_max_tls_version(&conf, MBEDTLS_SSL_VERSION_TLS1_2);
3018 mbedtls_ssl_conf_min_tls_version(&conf, MBEDTLS_SSL_VERSION_TLS1_2);
/third_party/mbedtls/programs/ssl/
Dssl_client2.c1230 opt.min_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1243 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1261 opt.min_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1262 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1264 opt.min_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1265 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1457 opt.min_version < MBEDTLS_SSL_VERSION_TLS1_2) { in main()
1458 opt.min_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
Dssl_server2.c2014 opt.min_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2027 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2045 opt.min_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2046 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2048 opt.min_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2049 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c68 opts->expected_negotiated_version = MBEDTLS_SSL_VERSION_TLS1_2; in mbedtls_test_init_handshake_options()
1447 session->tls_version = MBEDTLS_SSL_VERSION_TLS1_2; in mbedtls_test_ssl_tls12_populate_session()
1714 case MBEDTLS_SSL_VERSION_TLS1_2: in check_ssl_version()
1715 TEST_EQUAL(version_number, MBEDTLS_SSL_VERSION_TLS1_2); in check_ssl_version()
/third_party/libcoap/src/
Dcoap_mbedtls.c1044 if (cur->max_tls_version < MBEDTLS_SSL_VERSION_TLS1_2) {
1087 if (cur->max_tls_version < MBEDTLS_SSL_VERSION_TLS1_2) {
1537 mbedtls_ssl_conf_min_tls_version(&m_env->conf, MBEDTLS_SSL_VERSION_TLS1_2);
/third_party/mbedtls/include/mbedtls/
Dssl.h1168 MBEDTLS_SSL_VERSION_TLS1_2 = 0x0303, /*!< (D)TLS 1.2 */ enumerator