| commit | 8b1d31080a7692e075c4681cb2458454a1fe0706 | [log] [tgz] |
|---|---|---|
| author | Filippo Valsorda <filippo@golang.org> | Tue May 01 13:57:54 2018 -0400 |
| committer | Filippo Valsorda <filippo@golang.org> | Wed May 02 18:48:08 2018 +0000 |
| tree | 4e7317a0b54dcb109cacebc3339790f66df11acb | |
| parent | 2c241ca3045ddc354463c376a9515d9f1f1390a4 [diff] |
bn256: explicitly fix MakeAffine for ∞ When c = ∞, z = 0 and 0 does not have a modular inverse, triggering undefined behavior (recently changed to returning nil) in ModInverse. Unclear how this used to work anyway. Looks like ModInverse was leaving the receiver untouched, making zInv = 0 when pool = nil. Fixes golang/go#25199 Change-Id: Ib39abf59f0e71cf43cdb5836142ebdd3b206fb3f Reviewed-on: https://go-review.googlesource.com/110695 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Adam Langley <agl@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.