]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: make use of crypto.Signer and crypto.Decrypter
authorJacob H. Haven <jacob@cloudflare.com>
Thu, 19 Mar 2015 11:01:57 +0000 (04:01 -0700)
committerAdam Langley <agl@golang.org>
Thu, 2 Apr 2015 23:19:57 +0000 (23:19 +0000)
commit28f33b4a7071870e5ee8b3f87170bbdf9c08981e
treea44ea0475b13b867a4feaa25a72d46669684615d
parent5750b7118f388b131c56367e261470b4783185d0
crypto/tls: make use of crypto.Signer and crypto.Decrypter

This change replaces all direct ECDSA/RSA sign and decrypt operations
with calls through the crypto.Signer and crypto.Decrypter interfaces.

This is a follow-up to https://go-review.googlesource.com/#/c/3900/
which added crypto.Decrypter and implemented it for RSA.

Change-Id: Ie0f3928448b285f329efcd3a93ca3fd5e3b3e42d
Reviewed-on: https://go-review.googlesource.com/7804
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/tls/common.go
src/crypto/tls/handshake_server.go
src/crypto/tls/key_agreement.go