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

Function LagrangePolys

pvss/pss.go:41–81  ·  view source on GitHub ↗

LagrangePolys is used in PSS When each share is subshared, each share is associated with a commitment polynomial we then choose k such subsharings to form the refreshed shares and secrets those refreshed shares are lagrange interpolated, but they also correspond to a langrage interpolated polynomial

(indexes []int, polys [][]common.Point)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

LagrangeCurvePtsFunction · 0.85
TestLagrangePolyFunction · 0.85

Calls 1

AddMethod · 0.80

Tested by 2

TestLagrangePolyFunction · 0.68