commit | d6449816ce06963d9d136eee5a56fca5b0616e7e | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Apr 11 17:42:50 2018 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Wed Apr 11 16:13:17 2018 +0000 |
tree | 6815db6b9c4670efdcac5138c160acfb6ce2826c | |
parent | f70185d77e8278766928032ee1355e3da47e7181 [diff] |
blake2b: use internal/cpu to determine AVX and SSE 4 support CL 106235 removed runtime.support_avx on which blake2b depends to determine AVX support. Switch to use the corresponding feature flags from internal/cpu instead. While at it, also use AVX2 and SSE4 (for Go 1.7 and later) from there. Change-Id: I4f7a27fcfa0c5d0d7a50444c7aa32519b97e90dd Reviewed-on: https://go-review.googlesource.com/106336 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.