From f03fb147d773f3e0cee437e02ac2de5ce1d5e981 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Thu, 29 Dec 2022 15:38:18 +0100 Subject: 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 Auto-Submit: Filippo Valsorda Reviewed-by: Roland Shoemaker Reviewed-by: Cherry Mui TryBot-Result: Gopher Robot --- api/next/34648.txt | 5 +++++ api/next/52221.txt | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 api/next/34648.txt create mode 100644 api/next/52221.txt (limited to 'api') 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 -- cgit v1.3-5-g9baa