MCPcopy Create free account
hub / github.com/MetaMask/torus-node / generateRandomZeroPolynomial

Function generateRandomZeroPolynomial

pvss/pvss.go:106–114  ·  view source on GitHub ↗
(secret big.Int, threshold int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

RandomPolyFunction · 0.85
CreateSharesFunction · 0.85
CreateAndPrepareSharesFunction · 0.85
CreateSharesGenFunction · 0.85
TestHerzbergPSSFunction · 0.85
TestLagrangePolyFunction · 0.85
TestCommitFunction · 0.85
TestLagrangeCurvePtsFunction · 0.85

Calls 1

RandomBigIntFunction · 0.85

Tested by 5

TestHerzbergPSSFunction · 0.68
TestLagrangePolyFunction · 0.68
TestCommitFunction · 0.68
TestLagrangeCurvePtsFunction · 0.68