def hash

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/blake/blake2s.bend:205

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2s.bend as Blake2s
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2s/types.bend as T

205def hash(+r: Nat, a: Array<U32>, +ll: Nat) -> T.State:
206  +n = Nat.sub(block_count(ll), 1n)
207  blocks(r, n, 0, 0, 0, Nat.sub(ll, Nat.mul(64n, n)), (a, initial()))

Uses (10)

Used by (4)