def chi

bend-collections@1.0.0.0 · src/crypto/keccak/lane.bend:8

import bend-collections@1.0.0.0/src/crypto/keccak/lane.bend as Lane
import Base
import bend-collections@1.0.0.0/src/crypto/keccak/types.bend as T

8def chi(a: T.Lane, b: T.Lane, c: T.Lane) -> T.Lane:
9  match a b c:
10    case T.W{al,ah} T.W{bl,bh} T.W{cl,ch}:
11      T.W{U32.xor(al,U32.and(U32.xor(bl,4294967295),cl)),U32.xor(ah,U32.and(U32.xor(bh,4294967295),ch))}

Uses (3)

Used by (2)