diff --git a/doc/go1.21.html b/doc/go1.21.html index f6aa2a9d526500..d15cff65d458aa 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -437,47 +437,31 @@

Minor changes to the library

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.