1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:14:40 -07:00

comment typo in crypto/rsa/rsa.go

R=rsc
CC=golang-dev
https://golang.org/cl/823041
This commit is contained in:
Andrew Gerrand 2010-03-29 13:13:12 +11:00
parent 10b77f7a2b
commit a618df0f5b

View File

@ -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.