def CrSha3.update
import bend-osdev-crypto@0.1.0.0/inst_sha3.bend as InstSha3import 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))}