def block_count
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2s.bend as Blake2simport Base
199# dd = ceil(ll / 64) blocks, and dd = 1 for the empty message.
200def block_count(+ll: Nat) -> Nat:
201 match ll:
202 case 0n: 1n
203 case 1n+p: Nat.div(Nat.add(ll, 63n), 64n)