Hmac.CrHmac.mac: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/hmac.bend as Hmac Lines 56-60 of bend-osdev-crypto@0.1.0.0/hmac.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/hmac.bend&start_line=56&end_line=60 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B # The tag of m, in one call def CrHmac.mac(~digest: B.Octets -> B.Octets, kk: CrHmacKey, m: B.Octets) -> B.Octets: match kk: case CrHmacKey{i, o}: digest(B.Octets.append(o, digest(B.Octets.append(i, m)))) Uses (3): 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/hmac.bend&name=CrHmacKey