Skip to content

Commit

Permalink
Second attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Sep 11, 2024
1 parent 46ea2ab commit bd5db2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pc/relic_pc_exp.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ static void gt_exp_gls_sac(gt_t c, const gt_t a, const bn_t b, size_t d,
gt_psi(q[i], q[i - 1]);
}
for (size_t i = 0; i < f; i++) {
gt_copy(c, q[i]);
gt_inv(c, q[i]);
if (bn_sign(_b[i]) == RLC_NEG) {
gt_copy(c, q[i]);
gt_copy(q[i], c);
}
bn_abs(_b[i], _b[i]);
}
Expand Down

0 comments on commit bd5db2e

Please sign in to comment.