Xcbc.CrXcbc.verify: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/xcbc.bend as Xcbc Lines 78-80 of bend-osdev-crypto@0.1.0.0/xcbc.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/xcbc.bend&start_line=78&end_line=80 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B import bend-osdev-crypto@0.1.0.0/mac.bend as Mc # whether t is m's tag (every byte compared; the MAC interface's default) def CrXcbc.verify(~K: Data, ~Blk: Data, ~bsize: Nat, ~enc: K -> Blk -> Blk, ~blk_of: B.Octets -> Maybe<&2, Blk>, ~blk_to: Blk -> B.Octets, kk: CrXcbcKey, m: B.Octets, t: B.Octets) -> Bool: Mc.CrMac.verify_tag(~CrXcbcKey, ~CrXcbc.mac(~K, ~Blk, ~bsize, ~enc, ~blk_of, ~blk_to), kk, m, t) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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/mac.bend&name=CrMac.verify_tag https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/xcbc.bend&name=CrXcbc.mac https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/xcbc.bend&name=CrXcbcKey