commit | 614d502a4dac94afa3a6ce146bd1736da82514c6 | [log] [tgz] |
---|---|---|
author | Martin Möhrmann <moehrmann@google.com> | Sat Jul 28 10:01:47 2018 +0200 |
committer | Martin Möhrmann <moehrmann@google.com> | Mon Aug 20 15:07:26 2018 +0000 |
tree | 2e02cffb99886483992dbd1462ace9799d9bb4c0 | |
parent | aabede6cba87e37f413b3e60ebfc214f8eeca1b0 [diff] |
chacha20poly1305: use x/sys/cpu feature variables directly Avoid using package specific variables when there is a one to one correspondance to cpu feature support exported by internal/cpu. This makes it clearer which cpu feature is referenced. Another advantage is that internal/cpu variables are padded to avoid false sharing and memory and cache usage is shared by multiple packages. Change-Id: Ieadfc2f2f65f83f947aa8a5efc869aa85d89615d Reviewed-on: https://go-review.googlesource.com/126597 Run-TryBot: Martin Möhrmann <moehrmann@google.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.