]> Cypherpunks repositories - gostls13.git/commit
crypto/rsa: refactor PKCS#1 v1.5 signature and verification
authorFilippo Valsorda <filippo@golang.org>
Wed, 22 May 2024 11:38:15 +0000 (13:38 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 23 May 2024 00:11:21 +0000 (00:11 +0000)
commit2f07d4455636ece45ff843fe4d9298ea65f933c1
treef956baede0a9fe8c59924dc07d3d5e07249f9a1c
parent2d98f0e494709f9b443444a88eb98ad421d5037f
crypto/rsa: refactor PKCS#1 v1.5 signature and verification

VerifyPKCS1v15 doesn't need to be constant time and can do the safer and
simpler construct-and-compare.

Updates #67043

Change-Id: I014cfd4485fad409c5f86be71488da63af25a584
Reviewed-on: https://go-review.googlesource.com/c/go/+/587278
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
src/crypto/rsa/pkcs1v15.go