Blamka.xs: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/argon2/blamka.bend as Blamka Lines 154-158 of bend-collections@1.0.0.0/src/crypto/argon2/blamka.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/argon2/blamka.bend&start_line=154&end_line=158 import Base import bend-collections@1.0.0.0/src/crypto/blake/blake2b/types.bend as T import bend-collections@1.0.0.0/src/crypto/blake/blake2b/lane.bend as L # Lane-wise XOR of two rows, and of two blocks (row by row). def xs(s: T.State, t: T.State) -> T.State: match s t: case T.V{x0,x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15} T.V{y0,y1,y2,y3,y4,y5,y6,y7,y8,y9,y10,y11,y12,y13,y14,y15}: T.V{L.xor(x0,y0),L.xor(x1,y1),L.xor(x2,y2),L.xor(x3,y3),L.xor(x4,y4),L.xor(x5,y5),L.xor(x6,y6),L.xor(x7,y7),L.xor(x8,y8),L.xor(x9,y9),L.xor(x10,y10),L.xor(x11,y11),L.xor(x12,y12),L.xor(x13,y13),L.xor(x14,y14),L.xor(x15,y15)} Uses (2): https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/blake/blake2b/lane.bend&name=xor https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/blake/blake2b/types.bend&name=State