This adds use* flags for all arches so a common test can observe what implementations are supported and test all supported implementations. Change-Id: I0497b91294ed99309074ac4614ac996e006630c5 Reviewed-on: https://go-review.googlesource.com/31714 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Andreas Auernhammer <aead@mail.de>
15 lines
367 B
Go
15 lines
367 B
Go
// Copyright 2016 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.
|
|
|
|
// +build !amd64 appengine gccgo
|
|
|
|
package blake2b
|
|
|
|
var useAVX2 = false
|
|
var useSSE4 = false
|
|
|
|
func hashBlocks(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte) {
|
|
hashBlocksGeneric(h, c, flag, blocks)
|
|
}
|