def xor

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/blake/blake2b.bend:27

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2b.bend as Blake2b
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake2b/types.bend as T

27def xor(a: T.Lane, b: T.Lane) -> T.Lane:
28  match a b:
29    case T.W{al,ah} T.W{bl,bh}: T.W{U32.xor(al,bl),U32.xor(ah,bh)}

Uses (2)

Used by (20)