aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/rsa/rsa.go
diff options
context:
space:
mode:
authorKatie Hockman <katie@golang.org>2019-09-03 17:04:59 -0400
committerKatie Hockman <katie@golang.org>2019-09-03 17:05:23 -0400
commitff197f326fe607bba27a0b53e47b7a565601569d (patch)
tree231057ea72e8320005a0df17363b284777967451 /src/crypto/rsa/rsa.go
parent5a1705286e8ec116645244978d9c54c5ba6dc448 (diff)
parent2ebc3d8157fedba633ce90c5454827512734a793 (diff)
downloadgo-ff197f326fe607bba27a0b53e47b7a565601569d.tar.gz
go-ff197f326fe607bba27a0b53e47b7a565601569d.zip
[dev.boringcrypto] all: merge master into dev.boringcrypto
Change-Id: I3cd94be655e5374b52494f756ff087352705da6d
Diffstat (limited to 'src/crypto/rsa/rsa.go')
-rw-r--r--src/crypto/rsa/rsa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/rsa/rsa.go b/src/crypto/rsa/rsa.go
index f43eb0b4d3..65fbcd664a 100644
--- a/src/crypto/rsa/rsa.go
+++ b/src/crypto/rsa/rsa.go
@@ -617,7 +617,7 @@ func decryptAndCheck(random io.Reader, priv *PrivateKey, c *big.Int) (m *big.Int
}
// DecryptOAEP decrypts ciphertext using RSA-OAEP.
-
+//
// OAEP is parameterised by a hash function that is used as a random oracle.
// Encryption and decryption of a given message must use the same hash function
// and sha256.New() is a reasonable choice.