Commit Graph

20 Commits

Author SHA1 Message Date
Jean-Pierre Rupp
5c6bc5601e
Parallel serialization test 2020-07-23 17:15:57 +01:00
Jean-Pierre Rupp
1cbb07f959
Rework memory management 2020-07-21 23:25:20 +01:00
Jean-Pierre Rupp
eb59e5f569
Correct typo 2020-06-25 16:57:10 +01:00
Jean-Pierre Rupp
0f862c2198
Remove non-standard support
I removed support for all non-standard features:

- ECDH
- Schnorr Signatures
- Signature Recovery

These features are rarely compiled in shared libraries avaliable
from distribution repositories. Also, they are not needed for any
Haskoin project, so there is little incentive for me to continue
maintaining them, especially when I have no good way to test this
code.

Please make your own fork of this library if you wish to add these
back.
2020-06-13 21:31:21 +01:00
Jean-Pierre Rupp
f0dbaa6739 Fix tests and improve errors 2020-06-07 18:02:19 +01:00
Jean-Pierre Rupp
4fcaca3a20 Correct some code and fix Debian 9 2020-04-14 17:41:00 +01:00
Janus Troelsen
3307b6d5dd
Avoid abort in combinePubKeys (#31)
Fixes #27.
2020-04-11 13:04:21 +01:00
Jean-Pierre Rupp
539999933e Do not dependen on hardcoded DER signatures in tests
The version of libsecp256k1 provided by Fedora adds an optional algorithm
string when computing a deterministic nonce for a signature, making it
different from the signature produced by the upstream version of libsecp256k1
from the Bitcoin Core repository.
2020-04-10 20:40:21 +01:00
Jean-Pierre Rupp
d5d01fc826 Use flag for key recovery
Key recovery functions need to be hidden behind a flag so that this package
compiles against the vanilla version of secp256k1 provided by Fedora.

Also fix a test that was not passing because of apparent changes in DER
signature format.
2020-04-10 15:29:59 +01:00
Janus Troelsen
76f86ad0d6
BIP-340 (Schnorr) support (#26)
Compatible with jonasnick/secp256k1@372c4555ca
2020-04-09 12:17:50 +01:00
Janus Troelsen
ae2c67e35e
Add tweak negation (#28) 2020-04-09 12:16:10 +01:00
Tomas Carnecky
db2b2a1be7 Expose 'ecdh' function (#21)
This feature is behind a flag (-f ecdh) because it has to be explicitly
enabled when compiling libsecp256k1.
2019-09-19 17:39:08 +01:00
Jean-Pierre Rupp
5d218aad79 Remove lax signatures and dynamically link
* No more parsing of lax signatures
* Dynamically link binaries instead of embedding
2018-08-31 21:06:24 +01:00
Jean-Pierre Rupp
f96c2d4a96 Update tests and show/read 2018-08-31 17:31:33 +01:00
Jean-Pierre Rupp
54bae6fbdf Improve serialization performance 2017-07-08 22:57:31 +01:00
skeuchel
53ba441303 Replace invalid 'badRecoverTest' test case (#5) 2017-05-02 20:25:26 +01:00
Eitan Chatav
6814b5d05a Storable+recover (#4)
* handle recovery errors gracefully

* fix serialization bugs in signatures

and remove cereal dependence

* better test
2017-03-27 14:18:37 +01:00
Eitan Chatav
3778a692b7 Ecrecover (#2)
* ecrecover ffi

* ecrecover bindings

* enable module recovery during configuration

* tests & bug fixes

* export CompactRecSig type

* fix accessor name for RecSig65

* fix for building bug

was rebuilding every time

* remove some non source files

* remove generated files from extra sources
2017-01-23 18:14:46 +00:00
Jean-Pierre Rupp
69128f2112 Space after $ 2016-02-10 20:17:38 +00:00
Jean-Pierre Rupp
cb717e3948 Initial commit 2016-01-27 01:21:44 +00:00