From a618df0f5b98a36af62344b27e7e3c01d47aa60a Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Mon, 29 Mar 2010 13:13:12 +1100 Subject: [PATCH] comment typo in crypto/rsa/rsa.go R=rsc CC=golang-dev https://golang.org/cl/823041 --- src/pkg/crypto/rsa/rsa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.