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 FulfillRequisitionRequest and ProtocolConfig for ShuffleBasedSecretSharing protocol #191

Merged
merged 11 commits into from
Nov 28, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package wfa.measurement.api.v2alpha;

import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "wfa/measurement/api/v2alpha/protocol_config.proto";
import "wfa/measurement/api/v2alpha/requisition.proto";

option java_package = "org.wfanet.measurement.api.v2alpha";
Expand Down Expand Up @@ -55,6 +56,24 @@ message FulfillRequisitionRequest {
// (-- api-linter: core::0141::forbidden-types=disabled
// aip.dev/not-precedent: This is a random 64-bit value. --)
fixed64 nonce = 3 [(google.api.field_behavior) = REQUIRED];

// The protocol config of the Computation. This is used to validate that
// EDPs and the MPC are using the same protocol config.
// Required for ShuffleBasedSecretSharing protocol.
ProtocolConfig protocol_config = 4;

// Requisitions of ShuffleBasedSecretSharing protocol is fulfilled by either
// a blob or a seed.
message ShuffleBasedSecretSharing {
// The seed can be expanded into a deterministic blob using the same PRNG.
bytes seed = 1;
}
// Protocol specified values.
oneof protocol {
// Shuffle based secret sharing protocol. Fulfilled by either chunks (a
// blob), or a seed.
ShuffleBasedSecretSharing shuffle_based_secret_sharing = 5;
}
}

// The chunk message for this streaming request.
Expand Down