forked from IBM/idemix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
amcl.pb.go
163 lines (142 loc) · 5.37 KB
/
amcl.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: bccsp/schemes/dlog/crypto/translator/amcl/amcl.proto
package amcl
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// ECP is an elliptic curve point specified by its coordinates
// ECP corresponds to an element of the first group (G1)
type ECP struct {
X []byte `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
Y []byte `protobuf:"bytes,2,opt,name=y,proto3" json:"y,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ECP) Reset() { *m = ECP{} }
func (m *ECP) String() string { return proto.CompactTextString(m) }
func (*ECP) ProtoMessage() {}
func (*ECP) Descriptor() ([]byte, []int) {
return fileDescriptor_250ddfa5c5f8dbbb, []int{0}
}
func (m *ECP) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ECP.Unmarshal(m, b)
}
func (m *ECP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ECP.Marshal(b, m, deterministic)
}
func (m *ECP) XXX_Merge(src proto.Message) {
xxx_messageInfo_ECP.Merge(m, src)
}
func (m *ECP) XXX_Size() int {
return xxx_messageInfo_ECP.Size(m)
}
func (m *ECP) XXX_DiscardUnknown() {
xxx_messageInfo_ECP.DiscardUnknown(m)
}
var xxx_messageInfo_ECP proto.InternalMessageInfo
func (m *ECP) GetX() []byte {
if m != nil {
return m.X
}
return nil
}
func (m *ECP) GetY() []byte {
if m != nil {
return m.Y
}
return nil
}
// ECP2 is an elliptic curve point specified by its coordinates
// ECP2 corresponds to an element of the second group (G2)
type ECP2 struct {
Xa []byte `protobuf:"bytes,1,opt,name=xa,proto3" json:"xa,omitempty"`
Xb []byte `protobuf:"bytes,2,opt,name=xb,proto3" json:"xb,omitempty"`
Ya []byte `protobuf:"bytes,3,opt,name=ya,proto3" json:"ya,omitempty"`
Yb []byte `protobuf:"bytes,4,opt,name=yb,proto3" json:"yb,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ECP2) Reset() { *m = ECP2{} }
func (m *ECP2) String() string { return proto.CompactTextString(m) }
func (*ECP2) ProtoMessage() {}
func (*ECP2) Descriptor() ([]byte, []int) {
return fileDescriptor_250ddfa5c5f8dbbb, []int{1}
}
func (m *ECP2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ECP2.Unmarshal(m, b)
}
func (m *ECP2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ECP2.Marshal(b, m, deterministic)
}
func (m *ECP2) XXX_Merge(src proto.Message) {
xxx_messageInfo_ECP2.Merge(m, src)
}
func (m *ECP2) XXX_Size() int {
return xxx_messageInfo_ECP2.Size(m)
}
func (m *ECP2) XXX_DiscardUnknown() {
xxx_messageInfo_ECP2.DiscardUnknown(m)
}
var xxx_messageInfo_ECP2 proto.InternalMessageInfo
func (m *ECP2) GetXa() []byte {
if m != nil {
return m.Xa
}
return nil
}
func (m *ECP2) GetXb() []byte {
if m != nil {
return m.Xb
}
return nil
}
func (m *ECP2) GetYa() []byte {
if m != nil {
return m.Ya
}
return nil
}
func (m *ECP2) GetYb() []byte {
if m != nil {
return m.Yb
}
return nil
}
func init() {
proto.RegisterType((*ECP)(nil), "amcl.ECP")
proto.RegisterType((*ECP2)(nil), "amcl.ECP2")
}
func init() {
proto.RegisterFile("bccsp/schemes/dlog/crypto/translator/amcl/amcl.proto", fileDescriptor_250ddfa5c5f8dbbb)
}
var fileDescriptor_250ddfa5c5f8dbbb = []byte{
// 239 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x49, 0x4a, 0x4e, 0x2e,
0x2e, 0xd0, 0x2f, 0x4e, 0xce, 0x48, 0xcd, 0x4d, 0x2d, 0xd6, 0x4f, 0xc9, 0xc9, 0x4f, 0xd7, 0x4f,
0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0xce, 0x49, 0x2c, 0xc9, 0x2f,
0xd2, 0x4f, 0xcc, 0x4d, 0xce, 0x01, 0x13, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x2c, 0x20,
0xb6, 0x92, 0x22, 0x17, 0xb3, 0xab, 0x73, 0x80, 0x10, 0x0f, 0x17, 0x63, 0x85, 0x04, 0xa3, 0x02,
0xa3, 0x06, 0x4f, 0x10, 0x63, 0x05, 0x88, 0x57, 0x29, 0xc1, 0x04, 0xe1, 0x55, 0x2a, 0xb9, 0x71,
0xb1, 0xb8, 0x3a, 0x07, 0x18, 0x09, 0xf1, 0x71, 0x31, 0x55, 0x24, 0x42, 0x15, 0x31, 0x55, 0x24,
0x82, 0xf9, 0x49, 0x50, 0x65, 0x4c, 0x15, 0x49, 0x20, 0x7e, 0x65, 0xa2, 0x04, 0x33, 0x84, 0x5f,
0x09, 0x96, 0xaf, 0x4c, 0x92, 0x60, 0x81, 0xf2, 0x93, 0x9c, 0xda, 0x18, 0xb9, 0x38, 0x92, 0xf3,
0x73, 0xf5, 0x40, 0xf6, 0x3a, 0x71, 0x3a, 0xe6, 0x26, 0xe7, 0x04, 0x80, 0x1c, 0x12, 0xc0, 0x18,
0x65, 0x9f, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0xef, 0xe9, 0xe4, 0xab,
0x9f, 0x99, 0x92, 0x9a, 0x9b, 0x59, 0xa1, 0x4f, 0xb4, 0xb7, 0x16, 0x31, 0x31, 0x3b, 0x46, 0x44,
0xac, 0x62, 0x62, 0x01, 0x19, 0x7a, 0x0a, 0x42, 0x3d, 0x62, 0x12, 0x00, 0x51, 0x31, 0xee, 0x01,
0x4e, 0xbe, 0xa9, 0x25, 0x89, 0x29, 0x89, 0x25, 0x89, 0xaf, 0x20, 0x32, 0x49, 0x6c, 0xe0, 0x00,
0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x42, 0x17, 0x88, 0x52, 0x38, 0x01, 0x00, 0x00,
}