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

Function Example_or2

lib/dedis/kyber/proof/proof_test.go:195–248  ·  view source on GitHub ↗

This code shows how to create and verify Or-predicate proofs, such as the one above. In this case, we know a secret x such that X=x*B, but we don't know a secret y such that Y=y*B, because we simply pick Y as a random point instead of generating it by scalar multiplication. (And if the group is cryp

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

OrFunction · 0.85
RepFunction · 0.85
HashProveFunction · 0.85
HashVerifyFunction · 0.85
StringMethod · 0.65
NewMethod · 0.65
BaseMethod · 0.65
PointMethod · 0.65
PickMethod · 0.65
ScalarMethod · 0.65
MulMethod · 0.65
ProverMethod · 0.65

Tested by

no test coverage detected