diff --git a/README.md b/README.md index 11c87597..07e148ab 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,10 @@ btcec Package btcec implements elliptic curve cryptography needed for working with Bitcoin (secp256k1 only for now). It is designed so that it may be used with the -standard crypto/ecdsa packages provided with go. There is a test suite which -provides extensive coverage. See `test_coverage.txt` for the current coverage -(using gocov). On a UNIX-like OS, the script `cov_report.sh` can be used to -generate the report. Package btcec uses work from ThePiachu which is licensed -under the same terms as Go. The Conformal original is licensed under the +standard crypto/ecdsa packages provided with go. A comprehensive suite of test +is provided to ensure proper functionality. Package btcec was originally based +on work from ThePiachu which is licensed under the same terms as Go, but it has +signficantly diverged since then. The Conformal original is licensed under the liberal ISC license. This package is one of the core packages from btcd, an alternative full-node diff --git a/test_coverage.txt b/test_coverage.txt deleted file mode 100644 index 8a01cb6f..00000000 --- a/test_coverage.txt +++ /dev/null @@ -1,70 +0,0 @@ - -github.com/conformal/btcec/field.go fieldVal.Normalize 100.00% (93/93) -github.com/conformal/btcec/field.go fieldVal.Inverse 100.00% (88/88) -github.com/conformal/btcec/field.go fieldVal.Mul2 100.00% (73/73) -github.com/conformal/btcec/field.go fieldVal.SquareVal 100.00% (73/73) -github.com/conformal/btcec/signature.go parseSig 100.00% (51/51) -github.com/conformal/btcec/btcec.go KoblitzCurve.addZ2EqualsOne 100.00% (35/35) -github.com/conformal/btcec/btcec.go KoblitzCurve.addGeneric 100.00% (35/35) -github.com/conformal/btcec/field.go fieldVal.PutBytes 100.00% (32/32) -github.com/conformal/btcec/btcec.go KoblitzCurve.addZ1EqualsZ2 100.00% (30/30) -github.com/conformal/btcec/btcec.go KoblitzCurve.addZ1AndZ2EqualsOne 100.00% (29/29) -github.com/conformal/btcec/btcec.go KoblitzCurve.addJacobian 100.00% (22/22) -github.com/conformal/btcec/btcec.go KoblitzCurve.doubleZ1EqualsOne 100.00% (18/18) -github.com/conformal/btcec/btcec.go KoblitzCurve.doubleGeneric 100.00% (18/18) -github.com/conformal/btcec/signature.go Signature.Serialize 100.00% (13/13) -github.com/conformal/btcec/field.go fieldVal.MulInt 100.00% (12/12) -github.com/conformal/btcec/btcec.go KoblitzCurve.fieldJacobianToBigAffine 100.00% (12/12) -github.com/conformal/btcec/field.go fieldVal.Add 100.00% (11/11) -github.com/conformal/btcec/field.go fieldVal.NegateVal 100.00% (11/11) -github.com/conformal/btcec/field.go fieldVal.SetBytes 100.00% (11/11) -github.com/conformal/btcec/field.go fieldVal.Add2 100.00% (11/11) -github.com/conformal/btcec/field.go fieldVal.Zero 100.00% (10/10) -github.com/conformal/btcec/btcec.go KoblitzCurve.Add 100.00% (10/10) -github.com/conformal/btcec/btcec.go KoblitzCurve.ScalarMult 100.00% (10/10) -github.com/conformal/btcec/btcec.go initS256 100.00% (9/9) -github.com/conformal/btcec/btcec.go KoblitzCurve.doubleJacobian 100.00% (9/9) -github.com/conformal/btcec/signature.go canonicalizeInt 100.00% (8/8) -github.com/conformal/btcec/btcec.go KoblitzCurve.Double 100.00% (7/7) -github.com/conformal/btcec/pubkey.go PublicKey.SerializeHybrid 100.00% (7/7) -github.com/conformal/btcec/pubkey.go PublicKey.SerializeCompressed 100.00% (6/6) -github.com/conformal/btcec/field.go fieldVal.SetByteSlice 100.00% (5/5) -github.com/conformal/btcec/btcec.go KoblitzCurve.IsOnCurve 100.00% (4/4) -github.com/conformal/btcec/btcec.go KoblitzCurve.bigAffineToField 100.00% (4/4) -github.com/conformal/btcec/field.go fieldVal.SetHex 100.00% (4/4) -github.com/conformal/btcec/pubkey.go PublicKey.SerializeUncompressed 100.00% (4/4) -github.com/conformal/btcec/signature.go canonicalPadding 100.00% (4/4) -github.com/conformal/btcec/privkey.go PrivKeyFromBytes 100.00% (3/3) -github.com/conformal/btcec/pubkey.go paddedAppend 100.00% (3/3) -github.com/conformal/btcec/field.go fieldVal.Bytes 100.00% (3/3) -github.com/conformal/btcec/field.go fieldVal.SetInt 100.00% (3/3) -github.com/conformal/btcec/field.go fieldVal.Set 100.00% (2/2) -github.com/conformal/btcec/field.go fieldVal.Equals 100.00% (2/2) -github.com/conformal/btcec/field.go fieldVal.AddInt 100.00% (2/2) -github.com/conformal/btcec/field.go fieldVal.IsZero 100.00% (2/2) -github.com/conformal/btcec/btcec.go S256 100.00% (2/2) -github.com/conformal/btcec/field.go fieldVal.String 100.00% (2/2) -github.com/conformal/btcec/btcec.go KoblitzCurve.Params 100.00% (1/1) -github.com/conformal/btcec/btcec.go KoblitzCurve.ScalarBaseMult 100.00% (1/1) -github.com/conformal/btcec/btcec.go KoblitzCurve.QPlus1Div4 100.00% (1/1) -github.com/conformal/btcec/btcec.go initAll 100.00% (1/1) -github.com/conformal/btcec/field.go fieldVal.IsOdd 100.00% (1/1) -github.com/conformal/btcec/field.go fieldVal.Negate 100.00% (1/1) -github.com/conformal/btcec/field.go fieldVal.Mul 100.00% (1/1) -github.com/conformal/btcec/field.go fieldVal.Square 100.00% (1/1) -github.com/conformal/btcec/privkey.go PrivateKey.ToECDSA 100.00% (1/1) -github.com/conformal/btcec/pubkey.go isOdd 100.00% (1/1) -github.com/conformal/btcec/signature.go Signature.Verify 100.00% (1/1) -github.com/conformal/btcec/signature.go ParseSignature 100.00% (1/1) -github.com/conformal/btcec/signature.go ParseDERSignature 100.00% (1/1) -github.com/conformal/btcec/pubkey.go PublicKey.ToECDSA 100.00% (1/1) -github.com/conformal/btcec/pubkey.go ParsePubKey 92.86% (26/28) -github.com/conformal/btcec/signature.go SignCompact 90.91% (20/22) -github.com/conformal/btcec/pubkey.go decompressPoint 88.89% (8/9) -github.com/conformal/btcec/signature.go recoverKeyFromSignature 86.96% (20/23) -github.com/conformal/btcec/signature.go RecoverCompact 77.78% (7/9) -github.com/conformal/btcec/signature.go hashToInt 77.78% (7/9) -github.com/conformal/btcec/privkey.go PrivateKey.Sign 75.00% (3/4) -github.com/conformal/btcec/pubkey.go PublicKey.Verify 0.00% (0/1) -github.com/conformal/btcec ------------------------------------- 98.48% (908/922) -