Commit a618df0f authored by Andrew Gerrand's avatar Andrew Gerrand

comment typo in crypto/rsa/rsa.go

R=rsc
CC=golang-dev
https://golang.org/cl/823041
parent 10b77f7a
...@@ -400,7 +400,7 @@ func DecryptOAEP(hash hash.Hash, rand io.Reader, priv *PrivateKey, ciphertext [] ...@@ -400,7 +400,7 @@ func DecryptOAEP(hash hash.Hash, rand io.Reader, priv *PrivateKey, ciphertext []
lHash2 := db[0:hash.Size()] 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 // attacks like: J. Manger. A Chosen Ciphertext Attack on RSA Optimal
// Asymmetric Encryption Padding (OAEP) as Standardized in PKCS #1 // Asymmetric Encryption Padding (OAEP) as Standardized in PKCS #1
// v2.0. In J. Kilian, editor, Advances in Cryptology. // v2.0. In J. Kilian, editor, Advances in Cryptology.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment