def xor

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/sha512.bend:25

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha512.bend as Sha512
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha512/types.bend as T

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

Uses (2)

Used by (6)