Skip to content

Commit

Permalink
Polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Apr 28, 2024
1 parent a2e9e63 commit 2cc4610
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions bench/bench_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ static void pdpub(void) {
BENCH_ADD(cp_amore_gen(r1, r2, t, u1, u2, x, e, 1, 0, 0, 0));
} BENCH_END;

BENCH_RUN("cp_amore_ask (0, 0)") {
BENCH_RUN("cp_amore_ask (1, 0, 0)") {
g1_rand(p);
g2_rand(q);
BENCH_ADD(cp_amore_ask(v1, v2, w1, w2, r1, r2, t, p, q, u1, u2, 0, 0));
Expand All @@ -804,10 +804,6 @@ static void pdpub(void) {
BENCH_ADD(cp_amore_ans(g, t, v1, v2, w1, w2, 0, 0));
} BENCH_END;

BENCH_RUN("cp_amore_gen (0, 0, 0)") {
BENCH_ADD(cp_amore_gen(r1, r2, t, u1, u2, x, e, 0, 0, 0, 0));
} BENCH_END;

BENCH_RUN("cp_amore_ver (1, 0, 0)") {
g1_rand(p);
g2_rand(q);
Expand All @@ -817,6 +813,16 @@ static void pdpub(void) {
BENCH_ADD(cp_amore_ver(r, g, r1, e, 0, 0));
} BENCH_END;

BENCH_RUN("cp_amore_gen (0, 0, 0)") {
BENCH_ADD(cp_amore_gen(r1, r2, t, u1, u2, x, e, 0, 0, 0, 0));
} BENCH_END;

BENCH_RUN("cp_amore_ask (0, 0, 0)") {
g1_rand(p);
g2_rand(q);
BENCH_ADD(cp_amore_ask(v1, v2, w1, w2, r1, r2, t, p, q, u1, u2, 0, 0));
} BENCH_END;

BENCH_RUN("cp_amore_ver (0, 0, 0)") {
g1_rand(p);
g2_rand(q);
Expand Down

0 comments on commit 2cc4610

Please sign in to comment.