From: Andrew Gerrand Date: Mon, 29 Mar 2010 02:13:12 +0000 (+1100) Subject: comment typo in crypto/rsa/rsa.go X-Git-Tag: weekly.2010-03-30~31 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a618df0f5b98a36af62344b27e7e3c01d47aa60a;p=gostls13.git comment typo in crypto/rsa/rsa.go R=rsc CC=golang-dev https://golang.org/cl/823041 --- diff --git a/src/pkg/crypto/rsa/rsa.go b/src/pkg/crypto/rsa/rsa.go index 6352316290..941b061b5f 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.