1*a6aa18fbSYabin Cui/* 2*a6aa18fbSYabin Cui * Copyright 2019 Google LLC. 3*a6aa18fbSYabin Cui * Licensed under the Apache License, Version 2.0 (the "License"); 4*a6aa18fbSYabin Cui * you may not use this file except in compliance with the License. 5*a6aa18fbSYabin Cui * You may obtain a copy of the License at 6*a6aa18fbSYabin Cui * 7*a6aa18fbSYabin Cui * https://www.apache.org/licenses/LICENSE-2.0 8*a6aa18fbSYabin Cui * 9*a6aa18fbSYabin Cui * Unless required by applicable law or agreed to in writing, software 10*a6aa18fbSYabin Cui * distributed under the License is distributed on an "AS IS" BASIS, 11*a6aa18fbSYabin Cui * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*a6aa18fbSYabin Cui * See the License for the specific language governing permissions and 13*a6aa18fbSYabin Cui * limitations under the License. 14*a6aa18fbSYabin Cui */ 15*a6aa18fbSYabin Cui 16*a6aa18fbSYabin Cuisyntax = "proto2"; 17*a6aa18fbSYabin Cui 18*a6aa18fbSYabin Cuipackage private_join_and_compute; 19*a6aa18fbSYabin Cui 20*a6aa18fbSYabin Cui// Holds a set of encrypted values. 21*a6aa18fbSYabin Cuimessage EncryptedSet { 22*a6aa18fbSYabin Cui repeated EncryptedElement elements = 1; 23*a6aa18fbSYabin Cui} 24*a6aa18fbSYabin Cui 25*a6aa18fbSYabin Cui// Holds an encrypted value and possibly encrypted associated data. 26*a6aa18fbSYabin Cuimessage EncryptedElement { 27*a6aa18fbSYabin Cui optional bytes element = 1; 28*a6aa18fbSYabin Cui optional bytes associated_data = 2; 29*a6aa18fbSYabin Cui} 30