meerkat-java/meerkat-common/src/main/proto/meerkat/mixing.proto

50 lines
1.2 KiB
Protocol Buffer

syntax = "proto3";
package meerkat;
option java_package = "meerkat.protobuf";
import 'meerkat/crypto.proto';
message ZeroKnowledgeProof {
bytes data = 1;
}
//message ZeroKnowledgeProof {
//
// message OrProof{
// message GroupMember{
// required bytes data = 1;
// }
// message BigIntegerMsg{
// required bytes data = 1;
// }
// //input : g1,h1, g2, h2, g1Tag, h1Tag, g2Tag, h2Tag;
// required GroupMember g1 = 1;
// required GroupMember h1 = 2;
// required GroupMember g2 = 3;
// required GroupMember h2 = 4;
// required GroupMember g1Tag = 5;
// required GroupMember h1Tag = 6;
// required GroupMember g2Tag = 7;
// required GroupMember h2Tag = 8;
//
// //calc: u, v, uTag, vTag;
// required GroupMember g2 = 9;
// required GroupMember h2 = 10;
// required GroupMember g1Tag = 11;
// required GroupMember h1Tag = 12;
//
// //generated: c1,c2,z,zTag
// required BigIntegerMsg c1 = 13;
// required BigIntegerMsg c2 = 14;
// required BigIntegerMsg z = 15;
// required BigIntegerMsg zTag = 16;
// }
//
// required OrProof first = 1;
// required OrProof second = 2;
// required OrProof third = 3;
// required OrProof fourth = 4;
//}
//