mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue