commit | 16651526fdb40c41f6e4da1ad8138f08f012e842 | [log] [tgz] |
---|---|---|
author | Filippo Valsorda <filippo@golang.org> | Sat Jul 13 12:52:33 2019 -0400 |
committer | Filippo Valsorda <filippo@golang.org> | Mon Nov 11 21:39:47 2019 +0000 |
tree | 898f1fe4ccfed6ceff6411ba73e402a4084d920d | |
parent | e0829623afd464429396234eeac9277b0135e15f [diff] |
chacha20: implement XChaCha20 Simply add the NonceSizeX constant, and accept 24 bytes nonces in NewUnauthenticatedCipher. Based on draft-irtf-cfrg-xchacha-01 and libsodium's implementation. Fixes golang/go#24485 Change-Id: I551c8ace258bd54b95bb204c8bb34bccd1c4b615 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/185991 Reviewed-by: Michael Munday <mike.munday@ibm.com>
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.