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

Switch to VDAF-13. #3504

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Switch to VDAF-13. #3504

merged 1 commit into from
Nov 22, 2024

Conversation

branlwyd
Copy link
Contributor

I currently pin to a specific commit in libprio-rs tracking the VDAF-13 implementation, as the implementation is currently ongoing. I am fairly confident that the only breaking interface changes have already been implemented: there is a new "application context string", which is computed as the concatenation of hte current DAP draft in use & the task ID.

Also, bump the version tag while I'm at it, since I touched it anyway.

I currently pin to a specific commit in libprio-rs tracking the VDAF-13
implementation, as the implementation is currently ongoing. I am fairly
confident that the only breaking interface changes have already been
implemented: there is a new "application context string", which is
computed as the concatenation of hte current DAP draft in use & the task
ID.

Also, bump the version tag while I'm at it, since I touched it anyway.
@branlwyd branlwyd requested a review from a team as a code owner November 21, 2024 02:58
@branlwyd
Copy link
Contributor Author

Part of #3436.

/// with the task ID.
pub fn vdaf_application_context(
task_id: &TaskId,
) -> [u8; DAP_VERSION_IDENTIFIER.len() + TaskId::LEN] {
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL you can do const operations in this spot.

@branlwyd branlwyd merged commit 9a12179 into main Nov 22, 2024
8 of 9 checks passed
@branlwyd branlwyd deleted the bran/vdaf-13 branch November 22, 2024 19:59
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