You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the <ahref="/pkg/crypto/elliptic/#Curve"><code>Curve</code></a> methods have been deprecated, along with <ahref="/pkg/crypto/elliptic/#GenerateKey"><code>GenerateKey</code></a>, <ahref="/pkg/crypto/elliptic/#Marshal"><code>Marshal</code></a>, and <ahref="/pkg/crypto/elliptic/#Unmarshal"><code>Unmarshal</code></a>. For ECDH operations, the new <ahref="/pkg/crypto/ecdh/"><code>crypto/ecdh</code></a> package should be used instead.
The <ahref="/pkg/crypto/rsa/#GenerateMultiPrimeKey"><code>GenerateMultiPrimeKey</code></a> function and the <ahref="/pkg/crypto/rsa/#PrecomputedValues.CRTValues"><code>PrecomputedValues.CRTValues</code></a> field have been deprecated. <ahref="/pkg/crypto/rsa/#PrecomputedValues.CRTValues"><code>PrecomputedValues.CRTValues</code></a> will still be populated when <ahref="/pkg/crypto/rsa/#PrivateKey.Precompute"><code>PrivateKey.Precompute</code></a> is called, but the values will not be used during decryption operations.
TODO: <ahref="https://go.dev/issue/50543">https://go.dev/issue/50543</a>: add native SHA256 instruction implementation for AMD64
465
-
</p>
466
-
467
-
<p><!-- CL 408795 -->
468
-
TODO: <ahref="https://go.dev/cl/408795">https://go.dev/cl/408795</a>: crypto/sha256: add sha-ni implementation; crypto/sha256 uses Intel SHA extensions on new enough x86 processors, making it 3-4X faster.
455
+
<p><!-- https://go.dev/issue/50543, CL 408795 -->
456
+
SHA-224 and SHA-256 operations now use native instructions when available when <code>GOOS=amd64</code>, providing a performance improvement on the order of 3-4x.
TODO: <ahref="https://go.dev/cl/468875">https://go.dev/cl/468875</a>: crypto/x509: surface ReasonCode in RevocationList API; modified api/next/53573.txt
463
+
<p><!-- https://go.dev/issue/53573, CL 468875 -->
464
+
<ahref="/pkg/crypto/x509/#RevocationList.RevokedCertificates"><code>RevocationList.RevokedCertificates</code></a> has been deprecated and replaced with the new <ahref="/pkg/crypto/x509/#RevocationList.Entries"><code>RevocationList.Entries</code></a> field, which is a slice of <ahref="/pkg/crypto/x509/#RevocationListEntry"><code>RevocationListEntry</code></a>. <ahref="/pkg/crypto/x509/#RevocationListEntry"><code>RevocationListEntry</code></a> contains all of the fields in <ahref="/pkg/crypto/x509/#pkix.RevokedCertificate"><code>pkix.RevokedCertificate</code></a>, as well as the revocation reason code.
0 commit comments