Source File
xor_generic.go
Belonging Package
golang.org/x/crypto/sha3
// 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.
package sha3
import
// xorInGeneric xors the bytes in buf into the state; it
// makes no non-portable assumptions about memory layout
// or alignment.
func ( *state, []byte) {
:= len() / 8
for := 0; < ; ++ {
:= binary.LittleEndian.Uint64()
.a[] ^=
= [8:]
}
}
// copyOutGeneric copies uint64s to a byte buffer.
func ( *state, []byte) {
for := 0; len() >= 8; ++ {
binary.LittleEndian.PutUint64(, .a[])
= [8:]
}
}
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)