def CrHmac.start

bend-osdev-crypto@0.1.0.0 · hmac.bend:66

import bend-osdev-crypto@0.1.0.0/hmac.bend as Hmac
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B

66# The tag in pieces: start, update for each piece, finish
67def CrHmac.start(~H: Data, ~init: H, ~update: H -> B.Octets -> H, kk: CrHmacKey) -> CrHmacState<H>:
68  match kk:
69    case CrHmacKey{i, o}:
70      CrHmacState{update(init, i), o}

Uses (3)

Used by (15)