Lines Matching refs:key_exchange_mode
492 int key_exchange_mode; member
630 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()
1778 if (handshake->key_exchange_mode & in ssl_tls13_parse_client_hello()
1793 if (handshake->key_exchange_mode != in ssl_tls13_parse_client_hello()