Source file src/crypto/internal/fips140/sha3/sha3_amd64.go
1 // Copyright 2015 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !purego 6 7 package sha3 8 9 //go:noescape 10 func keccakF1600(a *[200]byte) 11 12 func (d *Digest) write(p []byte) (n int, err error) { 13 return d.writeGeneric(p) 14 } 15 func (d *Digest) read(out []byte) (n int, err error) { 16 return d.readGeneric(out) 17 } 18 func (d *Digest) sum(b []byte) []byte { 19 return d.sumGeneric(b) 20 } 21