]> Cypherpunks repositories - gostls13.git/commit
crypto/rsa: move implementation to crypto/internal/fips/rsa
authorFilippo Valsorda <filippo@golang.org>
Wed, 20 Nov 2024 11:27:12 +0000 (12:27 +0100)
committerGopher Robot <gobot@golang.org>
Wed, 20 Nov 2024 16:57:14 +0000 (16:57 +0000)
commit93fcd8fb1882b55b3456aa753d32a2cf3d369b1c
treee5412a24a102df5cf81c70566ca19755a3ff74bd
parent8837503237a5bc0a4193bd80c81e70e1515b56ea
crypto/rsa: move implementation to crypto/internal/fips/rsa

Key generation is still missing and will come in a follow-up CL.

For #69536

Change-Id: Ia17754fe31a39a48710673b51e30ca3125b19a20
Reviewed-on: https://go-review.googlesource.com/c/go/+/629937
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
14 files changed:
src/crypto/internal/boring/rsa.go
src/crypto/internal/fips/rsa/cast.go [new file with mode: 0644]
src/crypto/internal/fips/rsa/pkcs1v15.go [new file with mode: 0644]
src/crypto/internal/fips/rsa/pkcs1v22.go [moved from src/crypto/rsa/pkcs1v22.go with 56% similarity]
src/crypto/internal/fips/rsa/pkcs1v22_test.go [new file with mode: 0644]
src/crypto/internal/fips/rsa/rsa.go [new file with mode: 0644]
src/crypto/internal/fipstest/cast_test.go
src/crypto/rsa/fips.go [new file with mode: 0644]
src/crypto/rsa/pkcs1v15.go
src/crypto/rsa/pss_test.go
src/crypto/rsa/rsa.go
src/crypto/rsa/rsa_export_test.go
src/crypto/rsa/rsa_test.go
src/go/build/deps_test.go