]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140/rsa: support separate MGF1 hash for EncryptOAEP
authorFilippo Valsorda <filippo@golang.org>
Thu, 21 Nov 2024 18:10:49 +0000 (19:10 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 22 Nov 2024 01:13:03 +0000 (01:13 +0000)
commite6977837fc3d7d187436c2e8c8ac88f044ab551f
tree13571f960836d97224413107ae9af67ab6791f3f
parentff2cb4abb45c86c7fc1fbdf530a52ad226ef1318
crypto/internal/fips140/rsa: support separate MGF1 hash for EncryptOAEP

We might or might not want to expose it, but it makes the internal API
symmetrical, and lets us decide to do it in the future without changing
the FIPS module.

Updates #65716

Change-Id: Iea431a527ab17b9f00dee4da25761cedb2c2eba0
Reviewed-on: https://go-review.googlesource.com/c/go/+/630655
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
src/crypto/internal/fips140/rsa/pkcs1v22.go
src/crypto/rsa/fips.go