Skip to content

Commit

Permalink
Update relic_ep_map.c and remove buggy STRIPs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha authored Jan 27, 2025
1 parent 0cff31b commit 322fce6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ep/relic_ep_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,11 @@ void ep_map_rnd(ep_t p, const uint8_t *uniform_bytes, size_t len) {
return;
}

#if EP_MAP == BASIC || !defined(STRIP)
#if EP_MAP == BASIC
ep_map_basic_impl(p, uniform_bytes, len);
#elif EP_MAP == SSWUM || !defined(STRIP)
#elif EP_MAP == SSWUM
ep_map_swift_impl(p, uniform_bytes, len);
#elif EP_MAP == SWIFT || !defined(STRIP)
#elif EP_MAP == SWIFT
/* figure out which hash function to use */
const int abNeq0 = (ep_curve_opt_a() != RLC_ZERO) &&
(ep_curve_opt_b() != RLC_ZERO);
Expand Down

0 comments on commit 322fce6

Please sign in to comment.