From 322fce671925085a10a6326c86910f1bcf2767bb Mon Sep 17 00:00:00 2001 From: "Diego F. Aranha" Date: Mon, 27 Jan 2025 09:15:00 +0100 Subject: [PATCH] Update relic_ep_map.c and remove buggy STRIPs --- src/ep/relic_ep_map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ep/relic_ep_map.c b/src/ep/relic_ep_map.c index b4689697a..acae80436 100644 --- a/src/ep/relic_ep_map.c +++ b/src/ep/relic_ep_map.c @@ -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);