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

Plumb Prio3Aes128CountVec VDAF throughout Janus #480

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

tgeoghegan
Copy link
Contributor

@tgeoghegan tgeoghegan commented Sep 7, 2022

Adds support to Janus for an extra VDAF. Also plumbs it into the interop
test API, which required allowing the representation of vectors of
numbers to a Measurement, and unconditionally representing numbers as
strings to avoid JSON number precision problems. A change to
draft-dcook-ppm-dap-interop-test-design will follow to update the
language describing how to encode measurements and aggregate results.

Resolves #478

@tgeoghegan tgeoghegan force-pushed the timg/prio3-aes128-count-vec branch 2 times, most recently from ba64b83 to fc3e0df Compare September 8, 2022 22:13
@tgeoghegan tgeoghegan marked this pull request as ready for review September 8, 2022 22:13
@tgeoghegan tgeoghegan requested a review from a team as a code owner September 8, 2022 22:13
@@ -220,6 +220,13 @@ impl<C: Clock + 'static> AggregationJobCreator<C> {
.await
}

crate::task::VdafInstance::Real(janus_core::task::VdafInstance::Prio3Aes128CountVec { .. }) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

not caused by this PR: consider importing crate::task::VdafInstance so the match arms can be written as VdafInstance::Real(...) as they are in other instances of this kind of match.

@tgeoghegan tgeoghegan force-pushed the timg/prio3-aes128-count-vec branch from fc3e0df to 85c2894 Compare September 9, 2022 16:53
Adds support to Janus for an extra VDAF. Also plumbs it into the interop
test API, which required allowing the representation of vectors of
numbers to a `Measurement`, and unconditionally representing numbers as
strings to avoid JSON number precision problems. A change to
draft-dcook-ppm-dap-interop-test-design will follow to update the
language describing how to encode measurements and aggregate results.

Resolves #478
@tgeoghegan tgeoghegan force-pushed the timg/prio3-aes128-count-vec branch from 85c2894 to 64df1f1 Compare September 9, 2022 17:44
@tgeoghegan
Copy link
Contributor Author

Corresponding change to the interop test spec: divergentdave/draft-dcook-ppm-dap-interop-test-design#6

@tgeoghegan tgeoghegan merged commit 1327be6 into main Sep 9, 2022
@tgeoghegan tgeoghegan deleted the timg/prio3-aes128-count-vec branch October 12, 2022 19:21
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.

Wire up Prio3Aes128CountVec
3 participants