aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShuai Qi <qishuai231@gmail.com>2018-12-13 17:25:13 +0800
committerMartin Holst Swende <martin@swende.se>2018-12-13 17:25:13 +0800
commite57e4571d3382c504a01f87be654d984f26e2dd1 (patch)
treeb320fb086664a6477ed46f4a9d80604c4cfc83b0
parentb3be9b7cd8f5f0e828d4d2aa6db1216ccd32ce3a (diff)
downloaddexon-e57e4571d3382c504a01f87be654d984f26e2dd1.tar
dexon-e57e4571d3382c504a01f87be654d984f26e2dd1.tar.gz
dexon-e57e4571d3382c504a01f87be654d984f26e2dd1.tar.bz2
dexon-e57e4571d3382c504a01f87be654d984f26e2dd1.tar.lz
dexon-e57e4571d3382c504a01f87be654d984f26e2dd1.tar.xz
dexon-e57e4571d3382c504a01f87be654d984f26e2dd1.tar.zst
dexon-e57e4571d3382c504a01f87be654d984f26e2dd1.zip
crypto/secp256k1: Fix invalid document link (#18297)
-rw-r--r--crypto/secp256k1/curve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/secp256k1/curve.go b/crypto/secp256k1/curve.go
index 56be235b3..5409ee1d2 100644
--- a/crypto/secp256k1/curve.go
+++ b/crypto/secp256k1/curve.go
@@ -310,7 +310,7 @@ var theCurve = new(BitCurve)
func init() {
// See SEC 2 section 2.7.1
// curve parameters taken from:
- // http://www.secg.org/collateral/sec2_final.pdf
+ // http://www.secg.org/sec2-v2.pdf
theCurve.P, _ = new(big.Int).SetString("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F", 0)
theCurve.N, _ = new(big.Int).SetString("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141", 0)
theCurve.B, _ = new(big.Int).SetString("0x0000000000000000000000000000000000000000000000000000000000000007", 0)