def CrSha3.update

bend-osdev-crypto@0.1.0.0 · inst_sha3.bend:25

import bend-osdev-crypto@0.1.0.0/inst_sha3.bend as InstSha3
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-collections-laws-crypto@1.0.0.0/src/crypto/hash.bend as Hc

25# the state after more bytes
26def CrSha3.update(s: CrSha3State, o: B.Octets) -> CrSha3State:
27  match s:
28    case CrSha3State{h}:
29      CrSha3State{Hc.update(h, B.Octets.to_list(o))}

Uses (4)

Used by (4)