From: Filippo Valsorda Date: Wed, 24 Aug 2022 10:32:51 +0000 (+0200) Subject: crypto/ecdsa: drop SEC 1 reference from package doc X-Git-Tag: go1.24rc2~6^2~18 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=705b5a569acb9207fda8ea469387d88346b6817a;p=gostls13.git crypto/ecdsa: drop SEC 1 reference from package doc FIPS 186-4 used to defer to ANSI X9.62-2005, which is not freely available, so we were referring to SEC 1 instead. Our new reference, FIPS 186-5, actually specifies the full algorithm, so there is no need to refer to SEC 1 anymore. Change-Id: Ief499d0f7778f3221547993e9e8951ae873aacef Reviewed-on: https://go-review.googlesource.com/c/go/+/640115 Reviewed-by: Daniel McCarney Reviewed-by: Dmitri Shuralyov Auto-Submit: Filippo Valsorda LUCI-TryBot-Result: Go LUCI Reviewed-by: Roland Shoemaker --- diff --git a/src/crypto/ecdsa/ecdsa.go b/src/crypto/ecdsa/ecdsa.go index 0f9749975f..f682e6b1c6 100644 --- a/src/crypto/ecdsa/ecdsa.go +++ b/src/crypto/ecdsa/ecdsa.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as -// defined in FIPS 186-5 and SEC 1, Version 2.0. +// defined in [FIPS 186-5]. // // Signatures generated by this package are not deterministic, but entropy is // mixed with the private key and the message, achieving the same level of @@ -12,6 +12,8 @@ // Operations involving private keys are implemented using constant-time // algorithms, as long as an [elliptic.Curve] returned by [elliptic.P224], // [elliptic.P256], [elliptic.P384], or [elliptic.P521] is used. +// +// [FIPS 186-5]: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf package ecdsa import (