commit | 728f19131919734e473e3de425abb966b45b13f8 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@golang.org> | Fri Aug 03 15:42:14 2012 -0400 |
committer | Adam Langley <agl@golang.org> | Fri Aug 03 15:42:14 2012 -0400 |
tree | 0f581ecc5d9df7ecd0973e58d98a4aee6ffea39a | |
parent | 3f34248a7712e451b4217aa135e9236e93ece964 [diff] |
crypto/elliptic: explicitly handle P+P, ∞+P and P+∞ These aren't needed for scalar multiplication, but since we export a generic Add function we should handle it. This change also corrects two bugs in p224Contract that it turned up. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6458076