Skip to content

Commit

Permalink
Fix protocol for supersingular case.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Jan 22, 2025
1 parent 38ecab8 commit 1fc8bf6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/cp/relic_cp_pcdel.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,8 @@ int cp_amore_gen(bn_t x, gt_t e) {
pc_get_ord(n);
bn_rand_mod(x, n);

#if FP_PRIME < 1536
gt_get_gen(e);
gt_exp(e, e, x);
#else
pc_map(e, u, v);
#endif
} RLC_CATCH_ANY {
result = RLC_ERR;
} RLC_FINALLY {
Expand Down

0 comments on commit 1fc8bf6

Please sign in to comment.