Skip to content

Commit

Permalink
New bounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Oct 14, 2024
1 parent 8402228 commit c3e2d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cp/relic_cp_pcdel.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,9 @@ int cp_ambat_ask(bn_t *ls, g2_t *rs, g1_t a, g2_t b, const bn_t r,
pc_get_ord(n);
eps = gt_size_bin(e, 1) / g2_size_bin(q, 1);
if (longc) {
len = pc_param_level();
len = 2 * (pc_param_level() - eps);
} else {
len = RAND_DIST + BND_STORE + eps;
len = RAND_DIST/2 + BND_STORE + eps;
}

for (size_t i = 0; i < m; i++) {
Expand Down

0 comments on commit c3e2d8b

Please sign in to comment.