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

Add register_count into HMSS requisition fulfillment header. #203

Merged
merged 2 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,13 @@ message ReachOnlyLiquidLegionsSketchParams {
// Sketch parameters for a Honest Majority Shuffle Based Secret Sharing
// protocol.
message ShareShuffleSketchParams {
// The number of registers in the sketch.
int64 register_count = 1;

// Length of each register in bytes.
//
// The product of `maximum_frequency` and the `nonce_hashes` count from the
// `MeasurementSpec` should be no more than 2 ^ (`bytes_per_register` * 8).
int32 bytes_per_register = 2;
int32 bytes_per_register = 1;

// The modulus used in the protocol. It is required to be greater than
// (1 + `maximum_frequency`).
int32 ring_modulus = 2;
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,17 @@ message FulfillRequisitionRequest {
// Requisition.DuchyEntry.HonestMajorityShareShuffle.
EncryptedMessage secret_seed = 1;

// The number of registers in the sketch.
//
// It is calculated by the DataProvider and is determined by the sampling
// interval and the size of the population being measured. It is expected
// that all DataProviders will yield the same value for a specific
// Computation.
int64 register_count = 2;

// Resource name of the `Certificate` belonging to the parent
// `DataProvider` used to verify the secret_seed signature.
string data_provider_certificate = 2 [
string data_provider_certificate = 3 [
(google.api.resource_reference).type = "halo.wfanet.org/Certificate",
(google.api.field_behavior) = REQUIRED
];
Expand Down
Loading