aboutsummaryrefslogtreecommitdiff
path: root/private_join_and_compute/crypto/proto/proto_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'private_join_and_compute/crypto/proto/proto_util.cc')
-rw-r--r--private_join_and_compute/crypto/proto/proto_util.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/private_join_and_compute/crypto/proto/proto_util.cc b/private_join_and_compute/crypto/proto/proto_util.cc
index be368c3..7356e7b 100644
--- a/private_join_and_compute/crypto/proto/proto_util.cc
+++ b/private_join_and_compute/crypto/proto/proto_util.cc
@@ -15,6 +15,7 @@
#include "private_join_and_compute/crypto/proto/proto_util.h"
+#include <string>
#include <utility>
#include <vector>
@@ -75,4 +76,8 @@ StatusOr<std::vector<ECPoint>> ParseECPointVectorProto(
return std::move(ec_point_vector);
}
+std::string SerializeAsStringInOrder(const google::protobuf::Message& proto) {
+ return proto.SerializeAsString();
+}
+
} // namespace private_join_and_compute