LAWS.hmac_md4_split: law of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWS Lines 1262-1267 of bend-osdev-crypto@0.1.0.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/LAWS.bend&start_line=1262&end_line=1267 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B import bend-osdev-crypto@0.1.0.0/hmac.bend as Hm import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs import bend-osdev-hashes@0.1.0.0/md4.bend as HM4 # HMAC over MD4 (hashes): the tag in pieces is the tag in one call, for every split law hmac_md4_split: for +kk: Hm.CrHmacKey for +a: B.Octets for +b: B.Octets {Hm.CrHmac.finish(~Hs.HsMdState, ~HM4.HsMd4.init(), ~HM4.HsMd4.update, ~HM4.HsMd4.final, Hm.CrHmac.update(~Hs.HsMdState, ~HM4.HsMd4.update, Hm.CrHmac.update(~Hs.HsMdState, ~HM4.HsMd4.update, Hm.CrHmac.start(~Hs.HsMdState, ~HM4.HsMd4.init(), ~HM4.HsMd4.update, kk), a), b)) == Hm.CrHmac.mac(~HM4.HsMd4.digest, kk, B.Octets.append(a, b)) : B.Octets} Uses (16): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym 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-bytes@0.1.1.0/bytes.bend&name=Octets.append https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/LAWS.bend&name=md4_hash_split https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/LAWS.bend&name=md4_hash_split3 https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/hmac.bend&name=CrHmac.finish https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/hmac.bend&name=CrHmac.mac https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/hmac.bend&name=CrHmac.start https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/hmac.bend&name=CrHmac.update https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/hmac.bend&name=CrHmacKey https://jend.leeeet.dev/definition.txt?path=bend-osdev-hashes@0.1.0.0/hashes.bend&name=HsMdState https://jend.leeeet.dev/definition.txt?path=bend-osdev-hashes@0.1.0.0/hashes.bend&name=HsW4 https://jend.leeeet.dev/definition.txt?path=bend-osdev-hashes@0.1.0.0/md4.bend&name=HsMd4.digest https://jend.leeeet.dev/definition.txt?path=bend-osdev-hashes@0.1.0.0/md4.bend&name=HsMd4.final https://jend.leeeet.dev/definition.txt?path=bend-osdev-hashes@0.1.0.0/md4.bend&name=HsMd4.init https://jend.leeeet.dev/definition.txt?path=bend-osdev-hashes@0.1.0.0/md4.bend&name=HsMd4.update