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

Point to test vectors rather than reproduce them #430

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Conversation

cjpatton
Copy link
Collaborator

@cjpatton cjpatton commented Sep 20, 2024

Partially addresses #312.

The current plan is to reproduce the test vectors in the draft once
we're ready for RFC. However the value of these test vectors for
implementers is not clear. It would be better to publish
machine-readable test vectors somewhere, point to it from the
draft, and publish a hash of the test vectors in the draft so that
implementers can use to verify their veracity.

This commit implements the following idea: point to a commit hash for
the draft and describe how to consume the test vectors.

This commit also moves the VDAF test vectors to a directory that is easy
to reference. Namely, we remove the sub-directory based on the version
and add a vdaf sub-directory.

@cjpatton cjpatton marked this pull request as ready for review September 20, 2024 17:31
@cjpatton cjpatton force-pushed the cjpatton/312 branch 2 times, most recently from f21f8e7 to a7d9e68 Compare September 20, 2024 17:53
@cjpatton cjpatton marked this pull request as draft September 23, 2024 16:52
@cjpatton
Copy link
Collaborator Author

Converted to draft while I incorporate some feedback from the list.

@cjpatton cjpatton force-pushed the cjpatton/312 branch 2 times, most recently from 362f647 to 0571282 Compare September 23, 2024 19:23
@cjpatton cjpatton marked this pull request as ready for review September 23, 2024 19:24
@cjpatton
Copy link
Collaborator Author

cjpatton commented Oct 1, 2024

Rebased.

Copy link
Collaborator

@bifurcation bifurcation left a comment

Choose a reason for hiding this comment

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

Couple of minor things, overall LGTM

draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
poc/gen_test_vec.py Show resolved Hide resolved
poc/gen_test_vec.py Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Show resolved Hide resolved
@cjpatton cjpatton requested a review from divergentdave October 1, 2024 21:15
The current plan is to reproduce the test vectors in the draft once
we're ready for RFC. However the value of these test vectors for
implementers is not clear. It would be better to publish
machine-readable test vectors somewhere, point to it from the
draft, and publish a hash of the test vectors in the draft so that
implementers can use to verify their veracity.

This commit implements the following idea: point to a commit hash for
the draft and describe how to consume the test vectors.

This commit also moves the VDAF test vectors to a directory that is easy
to reference. Namely, we remove the sub-directory based on the version
and add a `vdaf` sub-directory.
@cjpatton
Copy link
Collaborator Author

cjpatton commented Oct 1, 2024

Squashed.

@cjpatton cjpatton merged commit b1a6e60 into main Oct 1, 2024
6 checks passed
@divergentdave divergentdave deleted the cjpatton/312 branch October 8, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants