MCPcopy Create free account
hub / github.com/DOSNetwork/core / Zero

Method Zero

group/mod/int.go:169–172  ·  view source on GitHub ↗

Zero set the Int to the value 0. The modulus must already be initialized.

()

Source from the content-addressed store, hash-verified

167
168// Zero set the Int to the value 0. The modulus must already be initialized.
169func (i *Int) Zero() kyber.Scalar {
170 i.V.SetInt64(0)
171 return i
172}
173
174// One sets the Int to the value 1. The modulus must already be initialized.
175func (i *Int) One() kyber.Scalar {

Callers 8

EvalMethod · 0.45
MulMethod · 0.45
RecoverSecretFunction · 0.45
TestPriPolyMulFunction · 0.45
TestDKGProcessResponseFunction · 0.45
DistKeyShareMethod · 0.45
RenewMethod · 0.45

Calls 1

SetInt64Method · 0.45

Tested by 2

TestPriPolyMulFunction · 0.36
TestDKGProcessResponseFunction · 0.36