Searched refs:key_exchange (Results 1 – 6 of 6) sorted by relevance
388 uint8_t MBEDTLS_PRIVATE(key_exchange); /* mbedtls_key_exchange_type_t */422 switch( info->MBEDTLS_PRIVATE(key_exchange) ) in mbedtls_ssl_ciphersuite_has_pfs()441 switch( info->MBEDTLS_PRIVATE(key_exchange) ) in mbedtls_ssl_ciphersuite_no_pfs()459 switch( info->MBEDTLS_PRIVATE(key_exchange) ) in mbedtls_ssl_ciphersuite_uses_ecdh()473 switch( info->MBEDTLS_PRIVATE(key_exchange) ) in mbedtls_ssl_ciphersuite_cert_req_allowed()490 switch( info->MBEDTLS_PRIVATE(key_exchange) ) in mbedtls_ssl_ciphersuite_uses_srv_cert()509 switch( info->MBEDTLS_PRIVATE(key_exchange) ) in mbedtls_ssl_ciphersuite_uses_dhe()524 switch( info->MBEDTLS_PRIVATE(key_exchange) ) in mbedtls_ssl_ciphersuite_uses_ecdhe()540 switch( info->MBEDTLS_PRIVATE(key_exchange) ) in mbedtls_ssl_ciphersuite_uses_server_signature()
896 if( ssl->handshake->ciphersuite_info->key_exchange != in ssl_parse_ecjpake_kkpp()1490 if( suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA && in ssl_parse_server_hello()2173 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA ) in ssl_parse_server_key_exchange()2185 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_RSA || in ssl_parse_server_key_exchange()2186 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA ) in ssl_parse_server_key_exchange()2237 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK || in ssl_parse_server_key_exchange()2238 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK ) in ssl_parse_server_key_exchange()2267 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_PSK || in ssl_parse_server_key_exchange()2268 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK || in ssl_parse_server_key_exchange()2269 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK || in ssl_parse_server_key_exchange()[all …]
848 if( suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in ssl_ciphersuite_match()2001 if( ssl->handshake->ciphersuite_info->key_exchange != in ssl_write_ecjpake_kkpp_ext()2843 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE ) in ssl_prepare_server_key_exchange()2911 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_PSK || in ssl_prepare_server_key_exchange()2912 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK ) in ssl_prepare_server_key_exchange()3732 if( ( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK || in ssl_parse_client_key_exchange()3733 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA ) && in ssl_parse_client_key_exchange()3765 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_DHE_RSA ) in ssl_parse_client_key_exchange()3797 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_RSA || in ssl_parse_client_key_exchange()3798 ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA || in ssl_parse_client_key_exchange()[all …]
1903 switch( info->key_exchange ) in mbedtls_ssl_get_ciphersuite_sig_pk_alg()1926 switch( info->key_exchange ) in mbedtls_ssl_get_ciphersuite_sig_pk_psa_alg()1950 switch( info->key_exchange ) in mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage()1972 switch( info->key_exchange ) in mbedtls_ssl_get_ciphersuite_sig_alg()1992 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_uses_ec()2011 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_uses_psk()
871 const unsigned char *key_exchange; in ssl_tls13_parse_key_shares_ext() local883 key_exchange = p; in ssl_tls13_parse_key_shares_ext()906 ssl, key_exchange - 2, key_exchange_len + 2 ); in ssl_tls13_parse_key_shares_ext()
5460 switch( ciphersuite->key_exchange ) in mbedtls_ssl_check_cert_usage()6179 switch( handshake->ciphersuite_info->key_exchange ) in ssl_compute_master()6230 if( handshake->ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE ) in ssl_compute_master()7037 if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_RSA_PSK ) in ssl_parse_certificate_coordinate()9112 if( suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in mbedtls_ssl_validate_ciphersuite()9115 if( suite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECJPAKE && in mbedtls_ssl_validate_ciphersuite()