-
Notifications
You must be signed in to change notification settings - Fork 17.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/elliptic: deprecate unsafe APIs
Per the updated go.dev/wiki/Deprecated, those APIs replaced by crypto/ecdh (added in Go 1.20) can now be marked as deprecated in Go 1.21. Updates #52221 Updates #34648 Change-Id: Id0e11d7faa3a58a1716ce1ec6e2fff97bab96259 Reviewed-on: https://go-review.googlesource.com/c/go/+/459977 Run-TryBot: Filippo Valsorda <filippo@golang.org> Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
- Loading branch information
1 parent
5ddbe05
commit f03fb14
Showing
4 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pkg crypto/elliptic, method (*CurveParams) Add //deprecated #34648 | ||
pkg crypto/elliptic, method (*CurveParams) Double //deprecated #34648 | ||
pkg crypto/elliptic, method (*CurveParams) IsOnCurve //deprecated #34648 | ||
pkg crypto/elliptic, method (*CurveParams) ScalarBaseMult //deprecated #34648 | ||
pkg crypto/elliptic, method (*CurveParams) ScalarMult //deprecated #34648 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pkg crypto/elliptic, func GenerateKey //deprecated #52221 | ||
pkg crypto/elliptic, func Marshal //deprecated #52221 | ||
pkg crypto/elliptic, func Unmarshal //deprecated #52221 | ||
pkg crypto/elliptic, type Curve interface, Add //deprecated #52221 | ||
pkg crypto/elliptic, type Curve interface, Double //deprecated #52221 | ||
pkg crypto/elliptic, type Curve interface, IsOnCurve //deprecated #52221 | ||
pkg crypto/elliptic, type Curve interface, ScalarBaseMult //deprecated #52221 | ||
pkg crypto/elliptic, type Curve interface, ScalarMult //deprecated #52221 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters