Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Oct 9, 2024
1 parent f12f285 commit 6657481
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cp/relic_cp_pcdel.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,7 @@ int cp_amprd_gen(bn_t *ls, g2_t *rs, bn_t c, bn_t r, bn_t d, g1_t u, g2_t v,
bn_mod(ls[i + 1], ls[i + 1], n);
}
if (m != bound) {
g2_norm_sim(rs + RLC_MIN(m, pc_param_level() - RAND_DIST) + 1,
rs + RLC_MIN(m, pc_param_level() - RAND_DIST) + 1,
m - RLC_MIN(m, pc_param_level() - RAND_DIST) - 1);
g2_norm_sim(rs + bound + 1, rs + bound + 1, m - bound - 1);
}
}
RLC_CATCH_ANY {
Expand Down

0 comments on commit 6657481

Please sign in to comment.