Commit Graph

910 Commits

Author SHA1 Message Date
Elichai Turkel 68c5c5edbf
implemented strlen to deref the callback message 2019-07-03 17:50:16 -04:00
Elichai Turkel 8022757681
Added a c_char implementation 2019-07-03 17:48:35 -04:00
Elichai Turkel f7a4a7ef57
Added manual external callbacks that panics 2019-07-03 17:48:35 -04:00
Elichai Turkel 0b770cf407
Added ECMULT window size 2019-07-03 17:48:35 -04:00
Elichai Turkel ce9efb0441
Update libsecp256k1 upstream to 143dc6e9ee31852a60321b23eea407d2006171da 2019-07-03 17:46:54 -04:00
Tim Ruffing 0fbc0f99ab
Merge pull request #120 from jonasnick/endomorphism-feature
Move libsecp USE_ENDOMORPHISM option behind non-default feature flag
2019-06-13 17:34:14 +02:00
Jonas Nick 179f35e0ba Move libsecp USE_ENDOMORPHISM option behind non-default feature flag 2019-06-13 06:38:18 +00:00
Andrew Poelstra 3d60a187c9
Merge pull request #113 from jonasnick/fix-recovery-fuzz
Fix imports when using recovery with fuzztarget feature
2019-05-29 14:30:49 +00:00
Jonas Nick 0e6ff34009 Fix imports when using recovery with fuzztarget feature 2019-05-29 00:02:11 +00:00
Andrew Poelstra 2d41612e4a
Merge pull request #110 from jonasnick/0.13
Bump version to 0.13
2019-05-21 20:22:11 +00:00
Andrew Poelstra 5d9faf2023
Merge pull request #111 from elichai/display
Removed ffi call from Display implementation
2019-05-21 20:22:00 +00:00
Elichai Turkel be457afdae
Removed ffi call from Display implementation 2019-05-21 22:05:18 +03:00
Jonas Nick ce7b03952b Bump version to 0.13.0 2019-05-21 18:35:28 +00:00
Andrew Poelstra 0bf88fe444
Merge pull request #109 from jonasnick/human-sigs
Add human readable serialization to Signatures
2019-05-21 17:50:41 +00:00
Andrew Poelstra 5a128dfb34
Merge pull request #108 from jonasnick/recovery-feature
Feature gate recovery module
2019-05-21 17:49:11 +00:00
Jonas Nick ebf50df1d1 Add human readable serialization to Signatures 2019-05-21 10:34:18 +00:00
Jonas Nick 28934ab5a7 Only display existing signature bytes 2019-05-21 10:22:05 +00:00
Jonas Nick 16da1a854c Move recovery ffi into recovery module and feature gate C-secp recovery module 2019-05-21 07:52:08 +00:00
Jonas Nick c7eecd159e Feature gate recovery module 2019-05-21 07:02:11 +00:00
Jonas Nick 264b368ee0 Move recovery to its own module 2019-05-20 19:11:59 +00:00
Andrew Poelstra b843f72955
Merge pull request #107 from jonasnick/human-readable-sk
Add human readable serialization and deserialization to Secret Key
2019-05-17 13:37:55 +00:00
Jonas Nick 3825ed35a7 Add human readable serialization and deserialization to Secret Key 2019-05-14 11:15:18 +00:00
Tim Ruffing ab4320f8cc
Merge pull request #100 from elichai/master
Add no-std support
2019-05-10 23:32:52 +02:00
Elichai Turkel dfcf74f9d0
Added a new struct for the DER serialized signature 2019-05-11 00:11:42 +03:00
Andrew Poelstra 90faf434c9
Merge pull request #104 from alekseysidorov/fix_rand
Fix `Rand` trait bounds.
2019-05-01 01:47:43 +00:00
Andrew Poelstra 82565cb5a8
Merge pull request #105 from jonasnick/pk_as_mut_ptr
Add as_mut_ptr to PublicKey
2019-05-01 01:46:20 +00:00
Elichai Turkel 312b9a55fc
Added Error::description copied c_void impl from core::ffi::c_void 2019-04-30 22:07:27 +03:00
Tim Ruffing bf9b972174
Merge pull request #103 from alekseysidorov/master
Relax cc dependency requirements.
2019-04-27 20:59:10 +02:00
Aleksei Sidorov 733755d19e Relax cc dependency requirements.
- set allowed versions range for the `cc` dependency
2019-04-24 17:20:11 +03:00
Jonas Nick 91c43e7320 Add as_mut_ptr to PublicKey 2019-04-16 18:48:24 +00:00
Aleksei Sidorov 2536c5a3c4 Fix rand trait bounds. 2019-04-16 16:35:33 +03:00
Elichai Turkel e98975a1c0
Added backwards support without the crate keyword 2019-04-14 12:09:43 +03:00
Elichai Turkel 6871567a1c
Updated travis.yml to test no-std too 2019-04-14 12:09:42 +03:00
Elichai Turkel ab8066eb1a
Replaced the std::os::raw c types with types.rs 2019-04-14 12:09:42 +03:00
Elichai Turkel 11ce86681f
Replaced std with core, and made std::error::Error optional through feature 2019-04-14 12:09:36 +03:00
Andrew Poelstra 8b4963588a
Merge pull request #101 from jonasnick/export_raw_ctx
Add raw context getter to Secp256k1 struct
2019-03-04 17:47:08 +00:00
Jonas Nick 6eaacb19c5 Add raw context getter to Secp256k1 struct 2019-03-01 19:39:55 +00:00
Andrew Poelstra 7234606267
Merge pull request #92 from huitseeker/rand-update
Bumps rand to 0.6.X & associated updates
2019-02-26 14:10:38 +00:00
François Garillot a8a3afe8db
Fix clippy errors
Changes include cargo-fix generated, Default impls
2019-02-25 20:12:25 -08:00
François Garillot e69eabb36f
Bumping minimum Rust version 1.14.0 -> 1.22.0, as per https://git.io/fhDLO 2019-02-25 20:09:44 -08:00
François Garillot bafef68c56
Bumps rand to 0.6.3 & associated updates 2019-02-25 20:09:43 -08:00
Andrew Poelstra 75bc49bf51
Merge pull request #96 from TheBlueMatt/master
Test builds using cargo-web on Travis to ensure they dont break
2019-02-25 20:12:49 +00:00
Matt Corallo e9588d9c85 Test builds using cargo-web on Travis to ensure they dont break 2019-01-30 21:03:12 -05:00
Andrew Poelstra 77619e8b8d
Merge pull request #95 from rust-bitcoin/2019-01-0.12.2
bump version to 0.12.2
2019-01-18 16:11:49 +00:00
Andrew Poelstra 432face734 bump version to 0.12.2 2019-01-18 15:35:44 +00:00
Matt Corallo a54f9b7f20
Merge pull request #94 from TheBlueMatt/master
Stop checking context flags for secp256k1_ecdh as its not required
2019-01-17 10:41:02 -05:00
Matt Corallo f90e9f3454 Stop checking context flags for secp256k1_ecdh as its not required 2019-01-16 16:02:24 -05:00
Andrew Poelstra 0466b5ed75
Merge pull request #93 from rust-bitcoin/2019-0.12.1
bump version to 0.12.1
2019-01-15 17:27:49 +00:00
Andrew Poelstra dd8866c144 bump version to 0.12.1 2019-01-15 16:32:55 +00:00
Matt Corallo dee10b9389
Merge pull request #89 from TheBlueMatt/master
Sync fuzztarget combine with tweak_add since real functions do that
2019-01-09 10:30:38 -05:00