law hmac_md4_streaming
import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWSimport 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
1255# HMAC over MD4 (hashes): the state after a ++ b is the state after a, then b
1256law hmac_md4_streaming:
1257 for s: Hm.CrHmacState<Hs.HsMdState<Hs.HsW4>>
1258 for +a: B.Octets
1259 for +b: B.Octets
1260 {Hm.CrHmac.update(~Hs.HsMdState<Hs.HsW4>, ~HM4.HsMd4.update, s, B.Octets.append(a, b)) == Hm.CrHmac.update(~Hs.HsMdState<Hs.HsW4>, ~HM4.HsMd4.update, Hm.CrHmac.update(~Hs.HsMdState<Hs.HsW4>, ~HM4.HsMd4.update, s, a), b) : Hm.CrHmacState<Hs.HsMdState<Hs.HsW4>>}
Uses (8)
Used by (0)
No other definition uses this definition.