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

Add aggegation initialization method #1172

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Conversation

divergentdave
Copy link
Collaborator

@divergentdave divergentdave commented Dec 19, 2024

This adds an Aggregator::aggregate_init() method to match vdaf.agg_init() from the spec. When combined with the existing Aggregatable trait, this completes the streaming aggregation API from draft-irtf-cfrg-vdaf-13. A default implementation is provided for Aggregator::aggregate(), making use of the streaming API.

Closes #569.

@divergentdave divergentdave requested a review from a team as a code owner December 19, 2024 21:55
Copy link
Collaborator

@cjpatton cjpatton left a comment

Choose a reason for hiding this comment

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

👍

@divergentdave divergentdave merged commit 2c44f2f into main Jan 6, 2025
6 checks passed
@divergentdave divergentdave deleted the david/aggregate-init branch January 6, 2025 19:46
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.

Expose method to retrieve AggregateShare identity element
3 participants