You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Golang has a software based SHA2 implementation. Specifically, SHA256 is slower than it needs to be.
With the new upcoming OCI images which bring content-addressable layers which are SHA256 based, it would be very useful to have AVX2 enabled SHA2 sums.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.6.2 linux/amd64
What operating system and processor architecture are you using (go env)?
Linux
What did you expect to see?
Very fast SHA2 when hardware supports is present
Normal SHA2 when hardware support is not present
What did you see instead?
Slower than necessary SHA2
The text was updated successfully, but these errors were encountered:
bradfitz
changed the title
Implement Implement SHA2 in AVX/AVX2 for blazing fast hashes
crypto/sha256: add AVX/AVX2 implementations of SHA2
Jul 11, 2016
Golang has a software based SHA2 implementation. Specifically, SHA256 is slower than it needs to be.
With the new upcoming OCI images which bring content-addressable layers which are SHA256 based, it would be very useful to have AVX2 enabled SHA2 sums.
Please answer these questions before submitting your issue. Thanks!
go version
)?go version go1.6.2 linux/amd64
go env
)?Linux
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/fkautz/go"
GORACE=""
GOROOT="/home/fkautz/opt/go"
GOTOOLDIR="/home/fkautz/opt/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -fmessage-length=0"
CXX="g++"
CGO_ENABLED="0"
https://play.golang.org/p/Lg2dgrXJht
Very fast SHA2 when hardware supports is present
Normal SHA2 when hardware support is not present
Slower than necessary SHA2
The text was updated successfully, but these errors were encountered: