def finish

bend-collections@1.0.0.0 · proofs/crypto/sha/packed/core_model.bend:639

import bend-collections@1.0.0.0/proofs/crypto/sha/packed/core_model.bend as CoreModel
import Base
import bend-collections@1.0.0.0/src/crypto/sha/state.bend as S

639# count is the number of bytes already hashed, always a multiple of 64.
640def finish(+tail: List<&2, U32>, count: Nat, +extra: Nat, s: S.State) -> S.State:
641  finish_n(tail, byte_count(tail, count), extra, s)

Uses (6)

Used by (1)