generated from martinthomson/internet-draft-template
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional test vectors for Prio3
* Exercise aggregation of multiple measurements. * Test the range boundaries, e.g., `max_measurement` for Prio3Sum and `max_weight` for Prio3MultihotCountVec. * Exercise more chunk lengths for variants using ParallelSum. * Fix an unrelated bug in the code for generating Prio3Sum test vectors.
- Loading branch information
Showing
9 changed files
with
3,126 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
{ | ||
"agg_param": "", | ||
"agg_result": 3, | ||
"agg_shares": [ | ||
"6b111b08d94ff4ed", | ||
"99eee4f725b00b12" | ||
], | ||
"ctx": "736f6d65206170706c69636174696f6e", | ||
"prep": [ | ||
{ | ||
"input_shares": [ | ||
"e269056891a9fd95d44e6fadb3b75e6774b666d312bcc59b04b52413d9e5e26d6f46b3fd26db6150a8659ad79dae8621", | ||
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" | ||
], | ||
"measurement": 0, | ||
"nonce": "000102030405060708090a0b0c0d0e0f", | ||
"out_shares": [ | ||
[ | ||
"e269056891a9fd95" | ||
], | ||
[ | ||
"1f96fa976d56026a" | ||
] | ||
], | ||
"prep_messages": [ | ||
"" | ||
], | ||
"prep_shares": [ | ||
[ | ||
"5c6a0685bd0f0aa98bb9c0942022d854c6be57b0c1d149b3d5a14867e2750b29", | ||
"a595f97a41f0f5565abc07086ef01d5b3cb2629a3c534bd4dbd8f5187ad75aad" | ||
] | ||
], | ||
"public_share": "", | ||
"rand": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f" | ||
}, | ||
{ | ||
"input_shares": [ | ||
"e369056891a9fd95d44e6fadb3b75e6774b666d312bcc59b57694d189321ffe06f46b37d26db61d056b17152e3726a2e", | ||
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" | ||
], | ||
"measurement": 1, | ||
"nonce": "000102030405060708090a0b0c0d0e0f", | ||
"out_shares": [ | ||
[ | ||
"e369056891a9fd95" | ||
], | ||
[ | ||
"1f96fa976d56026a" | ||
] | ||
], | ||
"prep_messages": [ | ||
"" | ||
], | ||
"prep_shares": [ | ||
[ | ||
"5c6a0685bd0f0aa9b19b8c1c4431ec49eca02338e5e05da8fc91575311627200", | ||
"a595f97a41f0f5565abc07086ef01d5b3cb2629a3c534bd4dbd8f5187ad75aad" | ||
] | ||
], | ||
"public_share": "", | ||
"rand": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f" | ||
}, | ||
{ | ||
"input_shares": [ | ||
"e369056891a9fd95d44e6fadb3b75e6774b666d312bcc59b57694d189321ffe06f46b37d26db61d056b17152e3726a2e", | ||
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" | ||
], | ||
"measurement": 1, | ||
"nonce": "000102030405060708090a0b0c0d0e0f", | ||
"out_shares": [ | ||
[ | ||
"e369056891a9fd95" | ||
], | ||
[ | ||
"1f96fa976d56026a" | ||
] | ||
], | ||
"prep_messages": [ | ||
"" | ||
], | ||
"prep_shares": [ | ||
[ | ||
"5c6a0685bd0f0aa9b19b8c1c4431ec49eca02338e5e05da8fc91575311627200", | ||
"a595f97a41f0f5565abc07086ef01d5b3cb2629a3c534bd4dbd8f5187ad75aad" | ||
] | ||
], | ||
"public_share": "", | ||
"rand": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f" | ||
}, | ||
{ | ||
"input_shares": [ | ||
"e269056891a9fd95d44e6fadb3b75e6774b666d312bcc59b04b52413d9e5e26d6f46b3fd26db6150a8659ad79dae8621", | ||
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" | ||
], | ||
"measurement": 0, | ||
"nonce": "000102030405060708090a0b0c0d0e0f", | ||
"out_shares": [ | ||
[ | ||
"e269056891a9fd95" | ||
], | ||
[ | ||
"1f96fa976d56026a" | ||
] | ||
], | ||
"prep_messages": [ | ||
"" | ||
], | ||
"prep_shares": [ | ||
[ | ||
"5c6a0685bd0f0aa98bb9c0942022d854c6be57b0c1d149b3d5a14867e2750b29", | ||
"a595f97a41f0f5565abc07086ef01d5b3cb2629a3c534bd4dbd8f5187ad75aad" | ||
] | ||
], | ||
"public_share": "", | ||
"rand": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f" | ||
}, | ||
{ | ||
"input_shares": [ | ||
"e369056891a9fd95d44e6fadb3b75e6774b666d312bcc59b57694d189321ffe06f46b37d26db61d056b17152e3726a2e", | ||
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" | ||
], | ||
"measurement": 1, | ||
"nonce": "000102030405060708090a0b0c0d0e0f", | ||
"out_shares": [ | ||
[ | ||
"e369056891a9fd95" | ||
], | ||
[ | ||
"1f96fa976d56026a" | ||
] | ||
], | ||
"prep_messages": [ | ||
"" | ||
], | ||
"prep_shares": [ | ||
[ | ||
"5c6a0685bd0f0aa9b19b8c1c4431ec49eca02338e5e05da8fc91575311627200", | ||
"a595f97a41f0f5565abc07086ef01d5b3cb2629a3c534bd4dbd8f5187ad75aad" | ||
] | ||
], | ||
"public_share": "", | ||
"rand": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f" | ||
} | ||
], | ||
"shares": 2, | ||
"verify_key": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f" | ||
} |
Oops, something went wrong.