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

Update XOFs to use TurboSHAKE128 #851

Merged
merged 2 commits into from
Nov 28, 2023
Merged

Update XOFs to use TurboSHAKE128 #851

merged 2 commits into from
Nov 28, 2023

Conversation

divergentdave
Copy link
Contributor

This implements XofTurboShake128, updates XofFixedKeyAes128, updates test vectors that were only affected by XOF changes, and temporarily ignores other VDAF test vectors. Part of #839.

@divergentdave divergentdave requested a review from a team as a code owner November 27, 2023 22:41
Comment on lines 46 to 49
serde_json::from_str(include_str!(concat!(
"test_vectors/discrete_gauss_2.342.json"
)))
.unwrap(),
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: use of concat! on lines 32-49 is unnecessary

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.

Looks good to me. Thanks for all the work you've done here ... 🤞 this will be the last time we change the XOF.

FWIW I don't see any changes to Idpf, despite the suggestion in the top comment.

@divergentdave
Copy link
Contributor Author

True, but since I've changed XofFixedKeyAes128 here, it's no longer compatible with VDAF-07 either. Mainly I just wanted to update all the document references in one go, since so many of them were near affected code in one way or another.

@divergentdave divergentdave merged commit acd55f0 into main Nov 28, 2023
6 checks passed
@divergentdave divergentdave deleted the david/turboshake branch November 28, 2023 19:41
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.

None yet

3 participants