]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/bigmod: drop math/big dependency
authorFilippo Valsorda <filippo@golang.org>
Sat, 16 Nov 2024 13:10:02 +0000 (14:10 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 23:01:40 +0000 (23:01 +0000)
commite24eb3ab36d0bd0772d650e4c7f5b2dd261d7970
tree38fbe58b2339066b8c163cfcd10b607f2cf10ec7
parent566cf1c1083b26d4a15b94213c21142ecd9a8ca9
crypto/internal/bigmod: drop math/big dependency

If when the dust settles the Bytes and SetBytes round-trip is visible in
profiles (only plausible in RSA), then we can add a SetBits method like
in CL 511375.

Change-Id: I3e6677e849d7a3786fa7297437b119a47715225f
Reviewed-on: https://go-review.googlesource.com/c/go/+/628675
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
src/crypto/ecdsa/ecdsa.go
src/crypto/internal/bigmod/nat.go
src/crypto/internal/bigmod/nat_test.go
src/crypto/rsa/rsa.go