From 901cc873aa15140e52add90ca4f59f78720e30bc Mon Sep 17 00:00:00 2001 From: j-berman Date: Tue, 17 Sep 2024 10:39:15 -0700 Subject: [PATCH] missing ref --- src/fcmp_pp/fcmp_pp_crypto.cpp | 2 +- src/fcmp_pp/fcmp_pp_crypto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fcmp_pp/fcmp_pp_crypto.cpp b/src/fcmp_pp/fcmp_pp_crypto.cpp index 990fec57e..6d3f2507a 100644 --- a/src/fcmp_pp/fcmp_pp_crypto.cpp +++ b/src/fcmp_pp/fcmp_pp_crypto.cpp @@ -62,7 +62,7 @@ bool point_to_ed_y_derivatives(const rct::key &pub, EdYDerivatives &ed_y_derivat return true; } //---------------------------------------------------------------------------------------------------------------------- -void ed_y_derivatives_to_wei_x(const EdYDerivatives pre_wei_x, rct::key &wei_x) { +void ed_y_derivatives_to_wei_x(const EdYDerivatives &pre_wei_x, rct::key &wei_x) { fe inv_one_minus_y; fe_invert(inv_one_minus_y, pre_wei_x.one_minus_y); fe_ed_y_derivatives_to_wei_x(wei_x.bytes, inv_one_minus_y, pre_wei_x.one_plus_y); diff --git a/src/fcmp_pp/fcmp_pp_crypto.h b/src/fcmp_pp/fcmp_pp_crypto.h index 46bb01c5f..2c63ff224 100644 --- a/src/fcmp_pp/fcmp_pp_crypto.h +++ b/src/fcmp_pp/fcmp_pp_crypto.h @@ -47,7 +47,7 @@ struct EdYDerivatives final // TODO: tests for these functions bool clear_torsion(const rct::key &k, rct::key &k_out); bool point_to_ed_y_derivatives(const rct::key &pub, EdYDerivatives &ed_y_derivatives); -void ed_y_derivatives_to_wei_x(const EdYDerivatives ed_y_derivatives, rct::key &wei_x); +void ed_y_derivatives_to_wei_x(const EdYDerivatives &ed_y_derivatives, rct::key &wei_x); bool point_to_wei_x(const rct::key &pub, rct::key &wei_x); //---------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------------------