Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement FROST share refresh #3

Open
wants to merge 1 commit into
base: frost
Choose a base branch
from

Conversation

wpaulino
Copy link

No description provided.

ret &= secp256k1_frost_vss_verify_internal(ctx, threshold, id33, &refresh_share_i, &refresh_vss_commitments[i], 1);

secp256k1_scalar_add(&acc, &acc, &refresh_share_i);
for (j = 0; j < threshold; j++) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can perform the point operations more efficiently with secp256k1_ecmult_multi_var.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, chatted with @wpaulino, secp256k1_ecmult_multi_var can't be used here because we are doing pairwise addition, not summing the entire vector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants