Documentation ¶
Index ¶
- type ECP
- func (*ECP) Descriptor() ([]byte, []int)
- func (m *ECP) GetX() []byte
- func (m *ECP) GetY() []byte
- func (*ECP) ProtoMessage()
- func (m *ECP) Reset()
- func (m *ECP) String() string
- func (m *ECP) XXX_DiscardUnknown()
- func (m *ECP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ECP) XXX_Merge(src proto.Message)
- func (m *ECP) XXX_Size() int
- func (m *ECP) XXX_Unmarshal(b []byte) error
- type ECP2
- func (*ECP2) Descriptor() ([]byte, []int)
- func (m *ECP2) GetXa() []byte
- func (m *ECP2) GetXb() []byte
- func (m *ECP2) GetYa() []byte
- func (m *ECP2) GetYb() []byte
- func (*ECP2) ProtoMessage()
- func (m *ECP2) Reset()
- func (m *ECP2) String() string
- func (m *ECP2) XXX_DiscardUnknown()
- func (m *ECP2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ECP2) XXX_Merge(src proto.Message)
- func (m *ECP2) XXX_Size() int
- func (m *ECP2) XXX_Unmarshal(b []byte) error
- type Fp256bn
- type Fp256bnMiracl
- type Gurvy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECP ¶
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:"-"` }
ECP is an elliptic curve point specified by its coordinates ECP corresponds to an element of the first group (G1)
func (*ECP) Descriptor ¶
func (*ECP) ProtoMessage ¶
func (*ECP) ProtoMessage()
func (*ECP) XXX_DiscardUnknown ¶
func (m *ECP) XXX_DiscardUnknown()
func (*ECP) XXX_Unmarshal ¶
type ECP2 ¶
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:"-"` }
ECP2 is an elliptic curve point specified by its coordinates ECP2 corresponds to an element of the second group (G2)
func (*ECP2) Descriptor ¶
func (*ECP2) ProtoMessage ¶
func (*ECP2) ProtoMessage()
func (*ECP2) XXX_DiscardUnknown ¶
func (m *ECP2) XXX_DiscardUnknown()
func (*ECP2) XXX_Unmarshal ¶
type Fp256bnMiracl ¶
func (*Fp256bnMiracl) G1FromProto ¶
func (a *Fp256bnMiracl) G1FromProto(e *ECP) (*math.G1, error)
func (*Fp256bnMiracl) G1FromRawBytes ¶
func (a *Fp256bnMiracl) G1FromRawBytes(raw []byte) (*math.G1, error)
func (*Fp256bnMiracl) G2FromProto ¶
func (a *Fp256bnMiracl) G2FromProto(e *ECP2) (*math.G2, error)
Click to show internal directories.
Click to hide internal directories.