def hprime

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/argon2/argon2.bend:132

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/argon2/argon2.bend as Argon2
import Base

132# H'^T(a) = H^T(LE32(T) || a) if T <= 64, else as hp_go.
133def hprime(+tl: Nat, a: List<&2, U32>) -> List<&2, U32>:
134  hp_pick(tl, cat(le32(tl), a), Nat.is_le(tl, 64n))

Uses (7)

Used by (9)