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

poc: Plumb coins to measurement_to_input_shares() #186

Merged
merged 1 commit into from Mar 2, 2023

Conversation

cjpatton
Copy link
Collaborator

@cjpatton cjpatton commented Mar 2, 2023

Based on #184 (merge that first).
Partially addresses #173.

To improve test vector quality, we will need to be able to specify a particular sequence of random coins used by the Client to split its measurement.

Add a paramter to Daf.measurmeent_to_input_shares() and Vdaf.measurmeent_to_input_shares() for the random coins. In addition, have the object specify the size of the byte string it expects. Similarly for Idpf.

Accordingly, remove all calls to gen_rand() from Prio3, Poplar1, and IdpfPoplar and instead use the coins passed to the API.

@cjpatton cjpatton changed the title poc: Plumb coins to measurmeent_to_input_shares() poc: Plumb coins to measurement_to_input_shares() Mar 2, 2023
@cjpatton cjpatton force-pushed the cjpatton/vdaf-05/7/test-vec-rand branch 2 times, most recently from 539febe to 2d6f1af Compare March 2, 2023 02:01
@cjpatton cjpatton marked this pull request as ready for review March 2, 2023 02:01
poc/vdaf_poplar1.sage Outdated Show resolved Hide resolved
poc/vdaf_poplar1.sage Show resolved Hide resolved
poc/vdaf_prio3.sage Outdated Show resolved Hide resolved
To improve test vector quality, we will need to be able to specify a
particular sequence of random coins used by the Client to split its
measurement.

Add a paramter to `Daf.measurmeent_to_input_shares()` and
`Vdaf.measurmeent_to_input_shares()` for the random coins. In addition,
have the object specify the size of the byte string it expects.
Similarly for `Idpf`.

Accordingly, remove all calls to `gen_rand()` from `Prio3`, `Poplar1`,
and `IdpfPoplar` and instead use the coins passed to the API.
@cjpatton cjpatton force-pushed the cjpatton/vdaf-05/7/test-vec-rand branch from 2d6f1af to e49104a Compare March 2, 2023 17:57
@cjpatton cjpatton changed the base branch from cjpatton/vdaf-05/6/factory to main March 2, 2023 18:01
@cjpatton cjpatton merged commit 8764f2d into main Mar 2, 2023
@cjpatton cjpatton deleted the cjpatton/vdaf-05/7/test-vec-rand branch April 24, 2023 21:36
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

2 participants