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 (!amd64 && !386 && !ppc64le) || appengine
6 // +build !amd64,!386,!ppc64le appengine
7 8 package sha3
9 10 // A storageBuf is an aligned array of maxRate bytes.
11 type storageBuf [maxRate]byte
12 13 func (b *storageBuf) asBytes() *[maxRate]byte {
14 return (*[maxRate]byte)(b)
15 }
16