Searched refs:key_exchange_mode (Results 1 – 4 of 4) sorted by relevance
492 int key_exchange_mode; member630 psk->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_NONE; in ssl_tls13_parse_pre_shared_key_ext()635 psk->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL; in ssl_tls13_parse_pre_shared_key_ext()639 psk->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK; in ssl_tls13_parse_pre_shared_key_ext()642 if (psk->key_exchange_mode == MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_NONE) { in ssl_tls13_parse_pre_shared_key_ext()1747 if (got_psk && (psk.key_exchange_mode == in ssl_tls13_parse_client_hello()1749 handshake->key_exchange_mode = in ssl_tls13_parse_client_hello()1756 handshake->key_exchange_mode = in ssl_tls13_parse_client_hello()1762 else if (got_psk && (psk.key_exchange_mode == in ssl_tls13_parse_client_hello()1764 handshake->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK; in ssl_tls13_parse_client_hello()[all …]
1281 ssl->handshake->key_exchange_mode = in mbedtls_ssl_tls13_finalize_client_hello()1880 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1886 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1893 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1905 ssl, handshake->key_exchange_mode)) { in ssl_tls13_postprocess_server_hello()1909 ssl_tls13_get_kex_mode_str(handshake->key_exchange_mode))); in ssl_tls13_postprocess_server_hello()1915 ssl_tls13_get_kex_mode_str(handshake->key_exchange_mode))); in ssl_tls13_postprocess_server_hello()1928 handshake->key_exchange_mode == in ssl_tls13_postprocess_server_hello()
731 uint8_t key_exchange_mode; /*!< Selected key exchange mode */ member2103 return (ssl->handshake->key_exchange_mode & kex_mask) != 0; in mbedtls_ssl_tls13_key_exchange_mode_check()
3693 TEST_EQUAL(server_ep.ssl.handshake->key_exchange_mode,