Source file src/crypto/internal/fips/sha3/sha3_noasm.go
1 // Copyright 2024 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 (!amd64 && !s390x) || purego 6 7 package sha3 8 9 func keccakF1600(a *[200]byte) { 10 keccakF1600Generic(a) 11 } 12 13 func (d *Digest) write(p []byte) (n int, err error) { 14 return d.writeGeneric(p) 15 } 16 func (d *Digest) read(out []byte) (n int, err error) { 17 return d.readGeneric(out) 18 } 19 func (d *Digest) sum(b []byte) []byte { 20 return d.sumGeneric(b) 21 } 22