Sign.CrSign.verify_bytes: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/sign.bend as Sign Lines 45-48 of bend-osdev-crypto@0.1.0.0/sign.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/sign.bend&start_line=45&end_line=48 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B import bend-osdev-crypto@0.1.0.0/crypto.bend as Cr # Whether sig is valid for m under the public key with these bytes (False for # a malformed key) def CrSign.verify_bytes(~PK: Data, ~pk_of: B.Octets -> Result<&2, &2, Cr.CrError, PK>, ~verify: PK -> B.Octets -> B.Octets -> Bool, pk: B.Octets, m: B.Octets, sig: B.Octets) -> Bool: cr.sign.check(~PK, ~verify, pk_of(pk), m, sig) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/crypto.bend&name=CrError https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/sign.bend&name=cr.sign.check