Skip to content

Commit

Permalink
Revert previous change.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Jan 4, 2024
1 parent 498db51 commit 2d7fb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ep/relic_ep_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ void ep_map_swift(ep_t p, const uint8_t *msg, size_t len) {
fp_copy(p->y, b);
for (int m = 0; m < 4; m++) {
fp_mul(y1, y1, ctx->ep_map_c[5]);
index += (fp_cmp(y1, u) == RLC_LT);
index += (fp_bits(y1) < fp_bits(u));
}
/* Apply consecutive endomorphisms. */
for (int m = 0; m < 4; m++) {
Expand Down

0 comments on commit 2d7fb20

Please sign in to comment.