def column2

bend-collections@1.0.0.0 · src/crypto/blake/blake2b/compress.bend:150

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

150# Round 2, G on the four columns: (0,4,8,12), (1,5,9,13), (2,6,10,14), (3,7,11,15).
151def column2(v: T.State, x0: T.Lane, x1: T.Lane, x2: T.Lane, x3: T.Lane, x4: T.Lane, x5: T.Lane, x6: T.Lane, x7: T.Lane) -> T.State:
152  match v:
153    case T.V{s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15}:
154      column2_1(g(s0,s4,s8,s12,x0,x1),s1,s2,s3,s5,s6,s7,s9,s10,s11,s13,s14,s15,x2,x3,x4,x5,x6,x7)

Uses (4)

Used by (1)