Skip to content

Commit

Permalink
Fix choice of algo for supersingular curves.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Aug 14, 2024
1 parent 7193ea6 commit a06369f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pc/relic_pc_exp.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ void gt_exp_sec(gt_t c, const gt_t a, const bn_t b) {
return;
}

#if FP_PRIME <= 1536
#if FP_PRIME < 1536
size_t d = ep_curve_frdim();
d = (d > 4 ? d / 4 : 1);
gt_exp_reg_gls(c, a, b, d, ep_curve_frdim());
Expand Down

0 comments on commit a06369f

Please sign in to comment.