xref: /aosp_15_r20/external/federated-compute/fcp/secagg/server/secagg_server_messages.proto (revision 14675a029014e728ec732f129a32e299b2da0601)
1/*
2 * Copyright 2020 Google LLC
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto3";
18
19package fcp.secagg;
20
21import "fcp/secagg/server/secagg_server_enums.proto";
22
23option java_package = "fcp.secagg.server";
24option java_multiple_files = true;
25
26// Specifies the security and robustness requirements for an instance of secure
27// aggregation
28message SecureAggregationRequirements {
29  // The adversary class against which to protect.
30  AdversaryClass adversary_class = 1;
31
32  // Fraction of clients in the population which might be compromised
33  // by an adversary, expressed as a fraction (between 0.0 and 1.0).
34  double adversarial_client_rate = 2;
35
36  // Estimated client dropout rate, expressed as a fraction (between 0.0
37  // and 1.0).
38  double estimated_dropout_rate = 3;
39
40  // The minimum number of (non-adversarial) users' values that must be
41  // aggregated together before the server can gain access to the aggregate,
42  // even transiently (e.g. in RAM).
43  int32 minimum_clients_in_server_visible_aggregate = 4;
44}
45