]> Cypherpunks.ru repositories - govpn.git/blobdiff - internal/chacha20/chacha_noasm.go
Preparing move to modules
[govpn.git] / internal / chacha20 / chacha_noasm.go
diff --git a/internal/chacha20/chacha_noasm.go b/internal/chacha20/chacha_noasm.go
new file mode 100644 (file)
index 0000000..bf8beba
--- /dev/null
@@ -0,0 +1,16 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build !ppc64le,!arm64,!s390x arm64,!go1.11 gccgo appengine
+
+package chacha20
+
+const (
+       bufSize = 64
+       haveAsm = false
+)
+
+func (*Cipher) xorKeyStreamAsm(dst, src []byte) {
+       panic("not implemented")
+}