diff options
author | Russ Cox <rsc@golang.org> | 2016-10-20 14:29:58 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2016-12-07 16:34:50 +0000 |
commit | 850e55b8c028440f2fe282858b332cb810a06864 (patch) | |
tree | 78222d88fdabeeb9f7eb037cf3f428ef0cc167c0 /src/crypto/rsa/rsa.go | |
parent | bc075e61cb90585c34ae696aca7c0f2476f01c77 (diff) | |
download | go-850e55b8c028440f2fe282858b332cb810a06864.tar.gz go-850e55b8c028440f2fe282858b332cb810a06864.zip |
crypto/*: document use or non-use of constant-time algorithms
Fixes #16821.
Change-Id: I63d5f3d7cfba1c76259912d754025c5f3cbe4a56
Reviewed-on: https://go-review.googlesource.com/31573
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/crypto/rsa/rsa.go')
-rw-r--r-- | src/crypto/rsa/rsa.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/rsa/rsa.go b/src/crypto/rsa/rsa.go index f809a9b9bc..1de4fcb473 100644 --- a/src/crypto/rsa/rsa.go +++ b/src/crypto/rsa/rsa.go @@ -18,6 +18,8 @@ // with v1.5/OAEP and signing/verifying with v1.5/PSS. If one needs to abstract // over the public-key primitive, the PrivateKey struct implements the // Decrypter and Signer interfaces from the crypto package. +// +// The RSA operations in this package are not implemented using constant-time algorithms. package rsa import ( |