main
Raw Download raw file
 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
 8package sha3
 9
10// A storageBuf is an aligned array of maxRate bytes.
11type storageBuf [maxRate]byte
12
13func (b *storageBuf) asBytes() *[maxRate]byte {
14	return (*[maxRate]byte)(b)
15}