From 40c7be9b0f92d88b90a5aa35838d786579e4fa1d Mon Sep 17 00:00:00 2001 From: Roland Shoemaker Date: Wed, 31 May 2023 10:35:20 -0700 Subject: [PATCH] doc/go1.21: crypto release notes Updates #58645 Change-Id: Ib7e2baba41bb327d8fc466afb1e117fe2f22e1c9 Reviewed-on: https://go-review.googlesource.com/c/go/+/499637 Reviewed-by: Damien Neil Auto-Submit: Roland Shoemaker TryBot-Result: Gopher Robot Run-TryBot: Roland Shoemaker --- doc/go1.21.html | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/doc/go1.21.html b/doc/go1.21.html index f6aa2a9d52..d15cff65d4 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -437,47 +437,31 @@ Do not send CLs removing the interior tags from such phrases.
crypto/elliptic

- TODO: https://go.dev/cl/459977: crypto/elliptic: deprecate unsafe APIs; modified api/next/34648.txt, api/next/52221.txt + All of the Curve methods have been deprecated, along with GenerateKey, Marshal, and Unmarshal. For ECDH operations, the new crypto/ecdh package should be used instead.

crypto/rsa
-

- TODO: https://go.dev/issue/56921: deprecate GenerateMultiPrimeKey and PrecomputedValues.CRTValues -

- -

- TODO: https://go.dev/cl/459976: crypto/rsa: deprecate multiprime RSA support; modified api/next/56921.txt +

+ The GenerateMultiPrimeKey function and the PrecomputedValues.CRTValues field have been deprecated. PrecomputedValues.CRTValues will still be populated when PrivateKey.Precompute is called, but the values will not be used during decryption operations.

- - - -
crypto/sha256
-

- TODO: https://go.dev/issue/50543: add native SHA256 instruction implementation for AMD64 -

- -

- TODO: https://go.dev/cl/408795: crypto/sha256: add sha-ni implementation; crypto/sha256 uses Intel SHA extensions on new enough x86 processors, making it 3-4X faster. +

+ SHA-224 and SHA-256 operations now use native instructions when available when GOOS=amd64, providing a performance improvement on the order of 3-4x.

crypto/x509
-

- TODO: https://go.dev/issue/53573: surface ReasonCode inside x509.RevocationList entries -

- -

- TODO: https://go.dev/cl/468875: crypto/x509: surface ReasonCode in RevocationList API; modified api/next/53573.txt +

+ RevocationList.RevokedCertificates has been deprecated and replaced with the new RevocationList.Entries field, which is a slice of RevocationListEntry. RevocationListEntry contains all of the fields in pkix.RevokedCertificate, as well as the revocation reason code.

-- 2.50.0