1 //go:build amd64 || 386 || ppc64 || ppc64le || s390x
2 // +build amd64 386 ppc64 ppc64le s390x
4 // Fast XOR taken from native crypto/cipher
12 const xorWords = BlockSize / int(unsafe.Sizeof(uintptr(0)))
14 func xor(dst, a, b []byte) {
15 dw := *(*[]uintptr)(unsafe.Pointer(&dst))
16 aw := *(*[]uintptr)(unsafe.Pointer(&a))
17 bw := *(*[]uintptr)(unsafe.Pointer(&b))
18 for i := 0; i < xorWords; i++ {