def prepare

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/blake/blake2b.bend:226

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2b.bend as Blake2b
import Base

226def prepare(last: Bool, ws: List<&2,U32>, remain: Nat) -> List<&2,U32>:
227  match last:
228    case False{}: ws
229    case True{}: trim(ws,0n,remain)

Uses (5)

Used by (1)