MCPcopy Create free account
hub / github.com/DistributedML/Biscotti / RecoverCommit

Function RecoverCommit

lib/dedis/kyber/share/poly.go:394–428  ·  view source on GitHub ↗

RecoverCommit reconstructs the secret commitment p(0) from a list of public shares using Lagrange interpolation.

(g kyber.Group, shares []*PubShare, t, n int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestPublicRecoveryFunction · 0.85
TestPublicRecoveryDeleteFunction · 0.85
TestPublicAddFunction · 0.85

Calls 10

SetInt64Method · 0.65
ScalarMethod · 0.65
NewMethod · 0.65
NullMethod · 0.65
PointMethod · 0.65
OneMethod · 0.65
MulMethod · 0.65
SubMethod · 0.65
DivMethod · 0.65
AddMethod · 0.65

Tested by 4

TestPublicRecoveryFunction · 0.68
TestPublicRecoveryDeleteFunction · 0.68
TestPublicAddFunction · 0.68