Skip to content

Commit

Permalink
One more fix to STRIP.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Jan 4, 2024
1 parent 2141043 commit d3d5d5f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bench/bench_epx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d3d5d5f

Please sign in to comment.