Permutation.chi: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/crypto/keccak/permutation.bend as Permutation Lines 9-12 of bend-collections-laws-crypto@1.0.0.0/spec/crypto/keccak/permutation.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/keccak/permutation.bend&start_line=9&end_line=12 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend as T def chi(a: T.Lane, b: T.Lane, c: T.Lane) -> T.Lane: match a b c: case T.W{al,ah} T.W{bl,bh} T.W{cl,ch}: T.W{U32.xor(al,U32.and(U32.xor(bl,4294967295),cl)),U32.xor(ah,U32.and(U32.xor(bh,4294967295),ch))} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend&name=Lane