Lines Matching refs:ecdh_ctx
836 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats_ext()
1794 grp_id = ssl->handshake->ecdh_ctx.grp.id; in ssl_check_server_ecdh_params()
1796 grp_id = ssl->handshake->ecdh_ctx.grp_id; in ssl_check_server_ecdh_params()
1812 MBEDTLS_SSL_DEBUG_ECDH(3, &ssl->handshake->ecdh_ctx, in ssl_check_server_ecdh_params()
1842 if ((ret = mbedtls_ecdh_read_params(&ssl->handshake->ecdh_ctx, in ssl_parse_server_ecdh_params()
2058 if ((ret = mbedtls_ecdh_get_params(&ssl->handshake->ecdh_ctx, peer_key, in ssl_get_ecdh_params_from_cert()
2842 mbedtls_ecdh_enable_restart(&ssl->handshake->ecdh_ctx); in ssl_write_client_key_exchange()
2846 ret = mbedtls_ecdh_make_public(&ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
2860 MBEDTLS_SSL_DEBUG_ECDH(3, &ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
2874 if ((ret = mbedtls_ecdh_calc_secret(&ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
2888 MBEDTLS_SSL_DEBUG_ECDH(3, &ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
3115 ret = mbedtls_ecdh_make_public(&ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
3125 MBEDTLS_SSL_DEBUG_ECDH(3, &ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()