Documentation ¶
Index ¶
- type Mta
- func (_m *Mta) Compute(publicKey homo.Pubkey, encMessage []byte) (*big.Int, *big.Int, error)
- func (_m *Mta) Decrypt(c *big.Int) (*big.Int, error)
- func (_m *Mta) GetAG(curve elliptic.Curve) *ecpointgrouplaw.ECPoint
- func (_m *Mta) GetAK() *big.Int
- func (_m *Mta) GetAProof(curve elliptic.Curve) (*zkproof.SchnorrProofMessage, error)
- func (_m *Mta) GetEncK() []byte
- func (_m *Mta) GetProductWithK(v *big.Int) *big.Int
- func (_m *Mta) GetProofWithCheck(curve elliptic.Curve, beta *big.Int) ([]byte, error)
- func (_m *Mta) GetResult(alphas []*big.Int, betas []*big.Int) (*big.Int, error)
- func (_m *Mta) OverrideA(newA *big.Int) (mta.Mta, error)
- func (_m *Mta) VerifyProofWithCheck(proof []byte, curve elliptic.Curve, alpha *big.Int) (*ecpointgrouplaw.ECPoint, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mta ¶
Mta is an autogenerated mock type for the Mta type
func (*Mta) GetAG ¶
func (_m *Mta) GetAG(curve elliptic.Curve) *ecpointgrouplaw.ECPoint
GetAG provides a mock function with given fields: curve
func (*Mta) GetProductWithK ¶
GetProductWithK provides a mock function with given fields: v
func (*Mta) GetProofWithCheck ¶
GetProofWithCheck provides a mock function with given fields: curve, beta
Click to show internal directories.
Click to hide internal directories.