diff options
| author | Brian Kessler <brian.m.kessler@gmail.com> | 2017-07-21 01:19:42 -0700 |
|---|---|---|
| committer | Adam Langley <agl@golang.org> | 2017-08-09 19:28:40 +0000 |
| commit | 60b9ae4cf3a0428668748a53f278a80d41fbfc38 (patch) | |
| tree | 7fe0d85d6dee3ffa955f94e69b7d96d39f8b7b0f /src/database/sql/sql_test.go | |
| parent | 762a0bae06b61f58a3783042167c54752c533aa1 (diff) | |
| download | go-60b9ae4cf3a0428668748a53f278a80d41fbfc38.tar.xz | |
crypto/rsa: drop uneeded parameter in modInverse
The current modInverse implementation allocates a big.Int
for the second parameter of GCD, while only the first is needed.
This is unnecessary and can lead to a speed up for optimizations
of GCD where the second parameter is not calculated at all.
Change-Id: I3f042e140ff643311bc3d0b8d192992d4d2c4c70
Reviewed-on: https://go-review.googlesource.com/50531
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filosottile.wiki@gmail.com>
Reviewed-by: Adam Langley <agl@golang.org>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
