def xor
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha512.bend as Sha512import 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)
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha512:ch
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha512:maj
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha512:sigma0
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha512:sigma1
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha512:sum0
- …