diff options
author | Ricardo Catalinas Jiménez <r@untroubled.be> | 2016-02-22 06:05:00 +0800 |
---|---|---|
committer | Ricardo Catalinas Jiménez <r@untroubled.be> | 2016-02-22 06:34:34 +0800 |
commit | e4b138a5931b309805162610870df50165e61a8f (patch) | |
tree | 6f97b16fcffc263dfab7094a07288a0a28a5af6c /crypto/sha3/xor.go | |
parent | 0a1da69fac3766b48a116580295f98df93122503 (diff) | |
download | go-tangerine-e4b138a5931b309805162610870df50165e61a8f.tar.gz go-tangerine-e4b138a5931b309805162610870df50165e61a8f.tar.zst go-tangerine-e4b138a5931b309805162610870df50165e61a8f.zip |
crypto/sha3: Copy latest code from "golang.org/x/crypto/sha3"
Revision: 1f22c0103821b9390939b6776727195525381532
Diffstat (limited to 'crypto/sha3/xor.go')
-rw-r--r-- | crypto/sha3/xor.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/sha3/xor.go b/crypto/sha3/xor.go new file mode 100644 index 000000000..d622979c1 --- /dev/null +++ b/crypto/sha3/xor.go @@ -0,0 +1,16 @@ +// Copyright 2015 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 !amd64,!386 appengine + +package sha3 + +var ( + xorIn = xorInGeneric + copyOut = copyOutGeneric + xorInUnaligned = xorInGeneric + copyOutUnaligned = copyOutGeneric +) + +const xorImplementationUnaligned = "generic" |