Searched refs:key_exchange_mode (Results 1 – 4 of 4) sorted by relevance
491 int key_exchange_mode; member631 psk->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_NONE; in ssl_tls13_parse_pre_shared_key_ext()636 psk->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL; in ssl_tls13_parse_pre_shared_key_ext()640 psk->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK; in ssl_tls13_parse_pre_shared_key_ext()643 if (psk->key_exchange_mode == MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_NONE) { in ssl_tls13_parse_pre_shared_key_ext()1738 if (got_psk && (psk.key_exchange_mode == in ssl_tls13_parse_client_hello()1740 handshake->key_exchange_mode = in ssl_tls13_parse_client_hello()1747 handshake->key_exchange_mode = in ssl_tls13_parse_client_hello()1753 else if (got_psk && (psk.key_exchange_mode == in ssl_tls13_parse_client_hello()1755 handshake->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK; in ssl_tls13_parse_client_hello()[all …]
1276 ssl->handshake->key_exchange_mode = in mbedtls_ssl_tls13_finalize_client_hello()1875 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1881 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1888 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1900 ssl, handshake->key_exchange_mode)) { in ssl_tls13_postprocess_server_hello()1904 ssl_tls13_get_kex_mode_str(handshake->key_exchange_mode))); in ssl_tls13_postprocess_server_hello()1910 ssl_tls13_get_kex_mode_str(handshake->key_exchange_mode))); in ssl_tls13_postprocess_server_hello()1923 handshake->key_exchange_mode == in ssl_tls13_postprocess_server_hello()
731 uint8_t key_exchange_mode; /*!< Selected key exchange mode */ member2048 return (ssl->handshake->key_exchange_mode & kex_mask) != 0; in mbedtls_ssl_tls13_key_exchange_mode_check()
3680 TEST_EQUAL(server_ep.ssl.handshake->key_exchange_mode,