diff options
author | Andrew Gerrand <adg@golang.org> | 2010-03-29 13:13:12 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2010-03-29 13:13:12 +1100 |
commit | 9a2ede49d1c49961dde9d3c589938426162d7f33 (patch) | |
tree | fc75f0c372084de38156c2d0c5d0c2abe6644f8f /src/pkg/crypto | |
parent | d21a66677a8dc9170ac6024bdeb0721aa2ca6041 (diff) | |
download | golang-9a2ede49d1c49961dde9d3c589938426162d7f33.tar.gz |
comment typo in crypto/rsa/rsa.go
R=rsc
CC=golang-dev
http://codereview.appspot.com/823041
Diffstat (limited to 'src/pkg/crypto')
-rw-r--r-- | src/pkg/crypto/rsa/rsa.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/rsa/rsa.go b/src/pkg/crypto/rsa/rsa.go index 635231629..941b061b5 100644 --- a/src/pkg/crypto/rsa/rsa.go +++ b/src/pkg/crypto/rsa/rsa.go @@ -400,7 +400,7 @@ func DecryptOAEP(hash hash.Hash, rand io.Reader, priv *PrivateKey, ciphertext [] lHash2 := db[0:hash.Size()] - // We have to validate the plaintext in contanst time in order to avoid + // We have to validate the plaintext in constant time in order to avoid // attacks like: J. Manger. A Chosen Ciphertext Attack on RSA Optimal // Asymmetric Encryption Padding (OAEP) as Standardized in PKCS #1 // v2.0. In J. Kilian, editor, Advances in Cryptology. |