Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Paillier2PC ¶
type Paillier2PC struct {
// Q_nx, Q_ny are notary's shares of the EC public key
Q_nx, Q_ny *big.Int
// constant numbers
Zero, One, Two, Three *big.Int
// P is curve P-256's Field prime
P *big.Int
// contains filtered or unexported fields
}
Paillier2PC implements the notary's side of computing an EC point addition in 2PC
func (*Paillier2PC) Init ¶
func (p *Paillier2PC) Init()
func (*Paillier2PC) Step2 ¶
func (p *Paillier2PC) Step2(payload []byte) []byte
func (*Paillier2PC) Step3 ¶
func (p *Paillier2PC) Step3(payload []byte) []byte
Click to show internal directories.
Click to hide internal directories.