File: xor_other.go

package info (click to toggle)
golang-github-templexxx-xor 0.1.2-5~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 108 kB
  • sloc: asm: 834; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// +build !amd64 noasm

package xor

func xorBytes(dst, src0, src1 []byte, size int) {
	bytesNoSIMD(dst, src0, src1, size)
}

func xorMatrix(dst []byte, src [][]byte) {
	matrixNoSIMD(dst, src)
}

func xorSrc0(dst, src0, src1 []byte) {
	bytesNoSIMD(dst, src0, src1, len(src0))
}

func xorSrc1(dst, src0, src1 []byte) {
	bytesNoSIMD(dst, src0, src1, len(src1))
}