def Sign.verify

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/sign.bend:22

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sign.bend as Sign
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/curve25519/field.bend as FS
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/ed25519.bend as SE
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sign.bend as SG

22def Sign.verify(+one: Nat, +h1: {one == 1n : Nat}, +pk: List<&2, U32>, +msg: List<&2, U32>, +sig: List<&2, U32>, +hp: {FS.tight(pk) == True{} : Bool}, +hg: {FS.bytes_ok(64n, sig) == True{} : Bool}) -> Type:
23  {SG.verify(pk, msg, sig) == SE.verify(one, pk, msg, sig) : Bool}

Uses (8)

Used by (1)