missing ref

This commit is contained in:
j-berman 2024-09-17 10:39:15 -07:00
parent a74f7aeada
commit 901cc873aa
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);
//----------------------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------------------------