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 context string to VDAF #1145

Merged
merged 4 commits into from
Nov 20, 2024
Merged

Add context string to VDAF #1145

merged 4 commits into from
Nov 20, 2024

Conversation

rozbb
Copy link
Contributor

@rozbb rozbb commented Nov 19, 2024

Adds the ctx string to all the methods that require it. Importantly, this requires updates to the Aggregator trait, among others. My methodology was basically to add ctx to the args of domain_separation_tag() and propagate the changes out. It's a lot.

I kept an empty context string for the benchmarks to minimize the affect on XOF computation.

One note: clippy isn't very happy with how many arguments Aggregator::prepare_init and PingPongTopology::helper_initialized have. Open to suggestions here.

Completes a subtask of #1122.

@rozbb rozbb requested a review from a team as a code owner November 19, 2024 04:23
benches/speed_tests.rs Outdated Show resolved Hide resolved
src/vdaf.rs Outdated Show resolved Hide resolved
src/vdaf/prio3_test.rs Outdated Show resolved Hide resolved
src/vdaf/dummy.rs Show resolved Hide resolved
@rozbb
Copy link
Contributor Author

rozbb commented Nov 20, 2024

Should be addressed

@divergentdave divergentdave merged commit c85e537 into divviup:main Nov 20, 2024
6 checks passed
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