From 2603d9a89ae1eb06386b9dd68fdb9f185aca4804 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Mon, 8 Jun 2020 13:07:39 -0400 Subject: [PATCH] doc/go1.15: add release notes for crypto and math/big Updates #37419 Change-Id: I12f073697dc319e439f4ffe4e0aac7f6afb19a74 Reviewed-on: https://go-review.googlesource.com/c/go/+/236918 Reviewed-by: Katie Hockman --- doc/go1.15.html | 59 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/doc/go1.15.html b/doc/go1.15.html index 10b245fd8f..1e39493cba 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -389,10 +389,53 @@ TODO +
crypto
+
+

+ The PrivateKey and PublicKey types in the + crypto/rsa, + crypto/ecdsa, and + crypto/ed25519 packages + now have an Equal method to compare keys for equivalence + or to make type-safe interfaces for public keys. The method signature + is compatible with + go-cmp's + definition of equality. +

+ +

+ Hash now implements + fmt.Stringer. +

+
+
+ +
crypto/ecdsa
+
+

+ The new SignASN1 + and VerifyASN1 + functions allow generating and verifying ECDSA signatures in the standard + ASN.1 DER encoding. +

+
+
+ +
crypto/elliptic
+
+

+ The new MarshalCompressed + and UnmarshalCompressed + functions allow encoding and decoding NIST elliptic curve points in compressed format. +

+
+
+
crypto/rsa

- VerifyPKCS1v15 now rejects invalid short signatures with missing leading zeroes. + VerifyPKCS1v15 + now rejects invalid short signatures with missing leading zeroes, according to RFC 8017.

@@ -476,6 +519,17 @@ TODO +
crypto/x509/pkix
+
+

+ Name.String + now prints non-standard attributes from + Names if + ExtraNames is empty. +

+
+
+
encoding/json

@@ -538,7 +592,8 @@ TODO

math/big

- TODO: https://golang.org/cl/230397: add (*Int).FillBytes + The new Int.FillBytes + method allows serializing to fixed-size pre-allocated byte slices.

-- 2.48.1