commit | 1c2c788b11ecf76cd7fbd7bba62146eb7082bdd8 | [log] [tgz] |
---|---|---|
author | Filippo Valsorda <filippo@golang.org> | Fri Mar 20 03:42:32 2020 -0400 |
committer | Filippo Valsorda <filippo@golang.org> | Mon Apr 20 19:18:34 2020 +0000 |
tree | 4b8989e380d1b56fae23c0d7326972f59e183ad0 | |
parent | 884d27f42877f544ba37fd9a6651180096180731 [diff] |
chacha20: don't panic encrypting the final blocks Certain operations with counter values close to overflowing were causing an unnecessary panic, which was reachable due to the SetCounter API and actually observed in QUIC. Tests by lukechampine <luke.champine@gmail.com> from CL 220591. Fixes golang/go#37157 Change-Id: Iba52edb1ba36af391b8fe4ee615c5c41d7e64f48 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/224279 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Katie Hockman <katie@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.