Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Verify ¶
func Verify(cs *frontend.ConstraintSystem, sig Signature, msg frontend.Variable, pubKey PublicKey) error
Verify verifies an eddsa signature cf https://en.wikipedia.org/wiki/EdDSA
Types ¶
type PublicKey ¶
type PublicKey struct { A twistededwards.Point Curve twistededwards.EdCurve }
PublicKey stores an eddsa public key (to be used in gnark circuit)
Click to show internal directories.
Click to hide internal directories.