Blake3.columns: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend as Blake3 Lines 95-100 of bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend&start_line=95&end_line=100 import Base # A round mixes the columns, then the diagonals, of the 4x4 state. def columns(+v: List<&2,U32>, +m: List<&2,U32>) -> List<&2,U32>: +v1 = g(v,0n,4n,8n,12n,at(m,0n),at(m,1n)) +v2 = g(v1,1n,5n,9n,13n,at(m,2n),at(m,3n)) +v3 = g(v2,2n,6n,10n,14n,at(m,4n),at(m,5n)) g(v3,3n,7n,11n,15n,at(m,6n),at(m,7n)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend&name=at https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend&name=g