Searched refs:key_exchange_mode (Results 1 – 3 of 3) 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()1749 if (got_psk && (psk.key_exchange_mode == in ssl_tls13_parse_client_hello()1751 handshake->key_exchange_mode = in ssl_tls13_parse_client_hello()1758 handshake->key_exchange_mode = in ssl_tls13_parse_client_hello()1764 else if (got_psk && (psk.key_exchange_mode == in ssl_tls13_parse_client_hello()1766 handshake->key_exchange_mode = MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK; in ssl_tls13_parse_client_hello()[all …]
1282 ssl->handshake->key_exchange_mode = in mbedtls_ssl_tls13_finalize_client_hello()1881 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1887 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1894 handshake->key_exchange_mode = in ssl_tls13_postprocess_server_hello()1906 ssl, 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()1916 ssl_tls13_get_kex_mode_str(handshake->key_exchange_mode))); in ssl_tls13_postprocess_server_hello()1929 handshake->key_exchange_mode == in ssl_tls13_postprocess_server_hello()
735 uint8_t key_exchange_mode; /*!< Selected key exchange mode */ member2127 return (ssl->handshake->key_exchange_mode & kex_mask) != 0; in mbedtls_ssl_tls13_key_exchange_mode_check()