def compress

bend-collections@1.0.0.0 · src/crypto/blake/blake3/compress.bend:118

import bend-collections@1.0.0.0/src/crypto/blake/blake3/compress.bend as Compress
import Base
import bend-collections@1.0.0.0/src/crypto/blake/blake3/types.bend as T

118# The compression function (hash mode, 32-byte output): the new chaining
119# value is the low half of the final state xor its high half.
120def compress(cv: T.CV, b: T.Block, +t: U32, +len: U32, +flags: U32) -> T.CV:
121  fold(rounds7(init(cv,t,len,flags),b))

Uses (6)

Used by (5)