mirror of
https://github.com/golang/go
synced 2024-11-22 02:44:39 -07:00
comment typo in crypto/rsa/rsa.go
R=rsc CC=golang-dev https://golang.org/cl/823041
This commit is contained in:
parent
10b77f7a2b
commit
a618df0f5b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user