Bump crypto package. (#492)

This fixes master build for certain CPU's.
See https://github.com/golang/crypto/commit/ae8bce0
This commit is contained in:
Brian Goff
2019-01-08 12:30:18 -08:00
committed by GitHub
parent 323c02d468
commit d8736e23f5
29 changed files with 1790 additions and 86 deletions

View File

@@ -6,12 +6,11 @@
package blake2b
func init() {
useSSE4 = supportsSSE4()
}
import "golang.org/x/sys/cpu"
//go:noescape
func supportsSSE4() bool
func init() {
useSSE4 = cpu.X86.HasSSE41
}
//go:noescape
func hashBlocksSSE4(h *[8]uint64, c *[2]uint64, flag uint64, blocks []byte)