Searched refs:MBEDTLS_SSL_VERSION_TLS1_2 (Results 1 – 16 of 16) sorted by relevance
/third_party/mbedtls/library/ |
D | ssl_ciphersuites.c | 343 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 …]
|
D | ssl_client.c | 449 (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()
|
D | ssl_misc.h | 1843 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()
|
D | ssl_tls13_client.c | 58 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()
|
D | ssl_tls.c | 2255 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 …]
|
D | ssl_msg.c | 2742 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()
|
D | ssl_tls12_client.c | 1430 ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_parse_server_hello() 1934 MBEDTLS_SSL_VERSION_TLS1_2); in ssl_write_encrypted_pms()
|
D | ssl_tls13_server.c | 1286 MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_tls13_parse_client_hello()
|
D | ssl_tls12_server.c | 1163 if (ssl->tls_version != MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_parse_client_hello()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_ssl.data | 264 …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 …]
|
D | test_suite_ssl.function | 1465 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/ |
D | ssl_client2.c | 1230 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()
|
D | ssl_server2.c | 2014 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/ |
D | ssl_helpers.c | 68 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/ |
D | coap_mbedtls.c | 1044 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/ |
D | ssl.h | 1168 MBEDTLS_SSL_VERSION_TLS1_2 = 0x0303, /*!< (D)TLS 1.2 */ enumerator
|