Home
last modified time | relevance | path

Searched refs:suite_info (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/library/
Dssl_tls12_server.c802 const mbedtls_ssl_ciphersuite_t *suite_info; in ssl_ciphersuite_match() local
808 suite_info = mbedtls_ssl_ciphersuite_from_id(suite_id); in ssl_ciphersuite_match()
809 if (suite_info == NULL) { in ssl_ciphersuite_match()
815 (unsigned int) suite_id, suite_info->name)); in ssl_ciphersuite_match()
817 if (suite_info->min_tls_version > ssl->tls_version || in ssl_ciphersuite_match()
818 suite_info->max_tls_version < ssl->tls_version) { in ssl_ciphersuite_match()
824 if (suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in ssl_ciphersuite_match()
834 if (mbedtls_ssl_ciphersuite_uses_ec(suite_info) && in ssl_ciphersuite_match()
846 if (mbedtls_ssl_ciphersuite_uses_psk(suite_info) && in ssl_ciphersuite_match()
861 if (ssl_pick_cert(ssl, suite_info) != 0) { in ssl_ciphersuite_match()
[all …]
Dssl_tls12_client.c1193 const mbedtls_ssl_ciphersuite_t *suite_info; in ssl_parse_server_hello() local
1413 suite_info = mbedtls_ssl_ciphersuite_from_id( in ssl_parse_server_hello()
1415 if (mbedtls_ssl_validate_ciphersuite(ssl, suite_info, ssl->tls_version, in ssl_parse_server_hello()
1426 ("server hello, chosen ciphersuite: %s", suite_info->name)); in ssl_parse_server_hello()
1429 if (suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA && in ssl_parse_server_hello()
Dssl_tls.c9305 const mbedtls_ssl_ciphersuite_t *suite_info, in mbedtls_ssl_validate_ciphersuite() argument
9311 if (suite_info == NULL) { in mbedtls_ssl_validate_ciphersuite()
9315 if ((suite_info->min_tls_version > max_tls_version) || in mbedtls_ssl_validate_ciphersuite()
9316 (suite_info->max_tls_version < min_tls_version)) { in mbedtls_ssl_validate_ciphersuite()
9323 if (suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in mbedtls_ssl_validate_ciphersuite()
9326 if (suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in mbedtls_ssl_validate_ciphersuite()
9336 if (mbedtls_ssl_ciphersuite_uses_psk(suite_info) && in mbedtls_ssl_validate_ciphersuite()
Dssl_misc.h2659 const mbedtls_ssl_ciphersuite_t *suite_info,