1
0
mirror of https://github.com/golang/go synced 2024-11-17 14:04:48 -07:00
go/src/crypto
Roland Shoemaker f33263d11a crypto/x509: hardcode RSA PSS parameters rather than generating them
Rather than generating the three possible RSA PSS parameters each time
they are needed just hardcode them and pick the required one based on
the hash function.

Fixes #41407

Change-Id: Id43bdaf40b3ca82c4c04c6588e3b643f63107657
Reviewed-on: https://go-review.googlesource.com/c/go/+/258037
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Roland Shoemaker <roland@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2020-09-28 18:46:39 +00:00
..
aes
cipher
des crypto/des: fix typo in permuteInitialBlock function comments 2020-09-22 21:24:40 +00:00
dsa
ecdsa crypto/rsa,crypto/ecdsa,crypto/ed25519: implement PrivateKey.Equal 2020-05-05 18:05:10 +00:00
ed25519 crypto/ed25519: remove s390x KDSA implementation 2020-07-30 16:00:05 +00:00
elliptic crypto,internal/bytealg: fix assembly that clobbers BP 2020-08-16 17:05:18 +00:00
hmac crypto/hmac: speed up repeated operations with the same key 2020-05-07 15:47:09 +00:00
internal
md5 crypto,internal/bytealg: fix assembly that clobbers BP 2020-08-16 17:05:18 +00:00
rand
rc4
rsa crypto: fix PKCS space in docs 2020-07-08 17:21:49 +00:00
sha1
sha256
sha512
subtle
tls crypto/tls: replace errClosed with net.ErrClosed 2020-09-24 15:48:24 +00:00
x509 crypto/x509: hardcode RSA PSS parameters rather than generating them 2020-09-28 18:46:39 +00:00
crypto.go crypto: fix PKCS space in docs 2020-07-08 17:21:49 +00:00
issue21104_test.go