aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/btcsuite/btcd/btcec/doc.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2017-02-18 16:24:12 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2017-02-18 16:24:12 +0800
commit9b0af513867fad4aeb3516e4711dd0ea4f5bc90c (patch)
treeb37d808d57873c6aec550431534e26602dfd0475 /vendor/github.com/btcsuite/btcd/btcec/doc.go
parentbf21549faa7de6e2b920855468b14856c6f503c4 (diff)
downloadgo-tangerine-9b0af513867fad4aeb3516e4711dd0ea4f5bc90c.tar
go-tangerine-9b0af513867fad4aeb3516e4711dd0ea4f5bc90c.tar.gz
go-tangerine-9b0af513867fad4aeb3516e4711dd0ea4f5bc90c.tar.bz2
go-tangerine-9b0af513867fad4aeb3516e4711dd0ea4f5bc90c.tar.lz
go-tangerine-9b0af513867fad4aeb3516e4711dd0ea4f5bc90c.tar.xz
go-tangerine-9b0af513867fad4aeb3516e4711dd0ea4f5bc90c.tar.zst
go-tangerine-9b0af513867fad4aeb3516e4711dd0ea4f5bc90c.zip
crypto: add btcec fallback for sign/recover without cgo (#3680)
* vendor: add github.com/btcsuite/btcd/btcec * crypto: add btcec fallback for sign/recover without cgo This commit adds a non-cgo fallback implementation of secp256k1 operations. * crypto, core/vm: remove wrappers for sha256, ripemd160
Diffstat (limited to 'vendor/github.com/btcsuite/btcd/btcec/doc.go')
-rw-r--r--vendor/github.com/btcsuite/btcd/btcec/doc.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/github.com/btcsuite/btcd/btcec/doc.go b/vendor/github.com/btcsuite/btcd/btcec/doc.go
new file mode 100644
index 000000000..fa8346ab0
--- /dev/null
+++ b/vendor/github.com/btcsuite/btcd/btcec/doc.go
@@ -0,0 +1,21 @@
+// Copyright (c) 2013-2014 The btcsuite developers
+// Use of this source code is governed by an ISC
+// license that can be found in the LICENSE file.
+
+/*
+Package btcec implements support for the elliptic curves needed for bitcoin.
+
+Bitcoin uses elliptic curve cryptography using koblitz curves
+(specifically secp256k1) for cryptographic functions. See
+http://www.secg.org/collateral/sec2_final.pdf for details on the
+standard.
+
+This package provides the data structures and functions implementing the
+crypto/elliptic Curve interface in order to permit using these curves
+with the standard crypto/ecdsa package provided with go. Helper
+functionality is provided to parse signatures and public keys from
+standard formats. It was designed for use with btcd, but should be
+general enough for other uses of elliptic curve crypto. It was originally based
+on some initial work by ThePiachu, but has significantly diverged since then.
+*/
+package btcec