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

Upgrade libprio to alpha prerelease #3621

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

divergentdave
Copy link
Collaborator

This upgrades libprio, so we are now VDAF-interoperable. This includes a change to the field used by Prio3Sum and a change to the XofTurboShake128 seed size.

@divergentdave divergentdave requested a review from a team as a code owner January 25, 2025 00:30
Copy link

@jcjones jcjones left a comment

Choose a reason for hiding this comment

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

I see no mechanical issues, and obviously tests pass.

It appears that the updates faithfully mirror the changes to the VDAF spec.

@@ -130,7 +130,7 @@ fn shard_encoded_measurement(
task_id: &TaskId,
encoded_measurement: Vec<Field128>,
report_id: ReportId,
) -> (Prio3PublicShare<16>, Vec<Prio3InputShare<Field128, 16>>) {
) -> (Prio3PublicShare<32>, Vec<Prio3InputShare<Field128, 32>>) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this/should this be VERIFY_KEY_LENGTH instead of 32?

@divergentdave divergentdave enabled auto-merge (squash) January 27, 2025 23:59
@divergentdave divergentdave merged commit ddb4737 into main Jan 28, 2025
8 checks passed
@divergentdave divergentdave deleted the david/upgrade-libprio branch January 28, 2025 00:24
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.

3 participants