diff --git a/bench/bench_epx.c b/bench/bench_epx.c index 46e054db7..3380f9801 100644 --- a/bench/bench_epx.c +++ b/bench/bench_epx.c @@ -554,23 +554,29 @@ static void arith2(void) { BENCH_ADD(ep2_map(p, msg, 5)); } BENCH_END; +#if EP_MAP == BASIC || !defined(STRIP) BENCH_RUN("ep2_map_basic") { uint8_t msg[5]; rand_bytes(msg, 5); BENCH_ADD(ep2_map_basic(p, msg, 5)); } BENCH_END; +#endif +#if EP_MAP == SSWUM || !defined(STRIP) BENCH_RUN("ep2_map_sswum") { uint8_t msg[5]; rand_bytes(msg, 5); BENCH_ADD(ep2_map_sswum(p, msg, 5)); } BENCH_END; +#endif +#if EP_MAP == SWIFT || !defined(STRIP) BENCH_RUN("ep2_map_swift") { uint8_t msg[5]; rand_bytes(msg, 5); BENCH_ADD(ep2_map_swift(p, msg, 5)); } BENCH_END; +#endif BENCH_RUN("ep2_pck") { ep2_rand(p);