summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2022-12-29 15:38:18 +0100
committerGopher Robot <gobot@golang.org>2023-03-16 16:31:26 +0000
commitf03fb147d773f3e0cee437e02ac2de5ce1d5e981 (patch)
tree516548b1422e8af085f6d8c9d0f6150cd28410ba /api
parent5ddbe05c076e1e207afec384f28da14fd54651b5 (diff)
downloadgo-git-f03fb147d773f3e0cee437e02ac2de5ce1d5e981.tar.gz
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>
Diffstat (limited to 'api')
-rw-r--r--api/next/34648.txt5
-rw-r--r--api/next/52221.txt8
2 files changed, 13 insertions, 0 deletions
diff --git a/api/next/34648.txt b/api/next/34648.txt
new file mode 100644
index 0000000000..da9b54b92b
--- /dev/null
+++ b/api/next/34648.txt
@@ -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
diff --git a/api/next/52221.txt b/api/next/52221.txt
new file mode 100644
index 0000000000..02bc0f37ab
--- /dev/null
+++ b/api/next/52221.txt
@@ -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