Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed May 8, 2024
1 parent 3f39874 commit 8bb67fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fp/relic_fp_inv.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,8 +613,8 @@ void fp_inv_jmpds(fp_t c, const fp_t a) {
dv_copy(f, fp_prime_get(), RLC_FP_DIGS);
#if FP_RDC == MONTY
/* Convert a from Montgomery form. */
fp_copy(t, a);
fp_rdcn_low(g, t);
fp_copy(p, a);
fp_rdcn_low(g, p);
#else
fp_copy(g, a);
#endif
Expand Down

0 comments on commit 8bb67fa

Please sign in to comment.