Home
last modified time | relevance | path

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

/mbedtls-latest/library/
Dssl_tls12_server.c800 const mbedtls_ssl_ciphersuite_t *suite_info; in ssl_ciphersuite_match() local
806 suite_info = mbedtls_ssl_ciphersuite_from_id(suite_id); in ssl_ciphersuite_match()
807 if (suite_info == NULL) { in ssl_ciphersuite_match()
813 (unsigned int) suite_id, suite_info->name)); in ssl_ciphersuite_match()
815 if (suite_info->min_tls_version > ssl->tls_version || in ssl_ciphersuite_match()
816 suite_info->max_tls_version < ssl->tls_version) { in ssl_ciphersuite_match()
822 if (suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in ssl_ciphersuite_match()
833 if (mbedtls_ssl_ciphersuite_uses_ec(suite_info) && in ssl_ciphersuite_match()
845 if (mbedtls_ssl_ciphersuite_uses_psk(suite_info) && in ssl_ciphersuite_match()
860 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
1414 suite_info = mbedtls_ssl_ciphersuite_from_id( in ssl_parse_server_hello()
1416 if (mbedtls_ssl_validate_ciphersuite(ssl, suite_info, ssl->tls_version, in ssl_parse_server_hello()
1427 ("server hello, chosen ciphersuite: %s", suite_info->name)); in ssl_parse_server_hello()
1430 if (suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA && in ssl_parse_server_hello()
Dssl_tls.c9278 const mbedtls_ssl_ciphersuite_t *suite_info, in mbedtls_ssl_validate_ciphersuite() argument
9284 if (suite_info == NULL) { in mbedtls_ssl_validate_ciphersuite()
9288 if ((suite_info->min_tls_version > max_tls_version) || in mbedtls_ssl_validate_ciphersuite()
9289 (suite_info->max_tls_version < min_tls_version)) { in mbedtls_ssl_validate_ciphersuite()
9296 if (suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in mbedtls_ssl_validate_ciphersuite()
9299 if (suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in mbedtls_ssl_validate_ciphersuite()
9309 if (mbedtls_ssl_ciphersuite_uses_psk(suite_info) && in mbedtls_ssl_validate_ciphersuite()
Dssl_misc.h2817 const mbedtls_ssl_ciphersuite_t *suite_info,