Commit Graph

966 Commits

Author SHA1 Message Date
Tamas Blummer da62cb6349 ignore intellij files 2018-05-11 16:06:59 +02:00
Matt Corallo 207ccdf803 impl fuzztarget secp256k1_ecdsa_signature_serialize_der 2018-04-25 13:11:15 -04:00
Andrew Poelstra 02d8a5180c
Merge pull request #23 from TheBlueMatt/master
Fix fuzztarget ECDH to be symmetric
2018-04-17 13:13:29 +00:00
Matt Corallo 730da80f0b Ensure fuzztarget pubkey deserialize-serialize roundtrips are same 2018-03-29 15:41:28 -04:00
Matt Corallo eee25f6265 Fix fuzztarget ECDH to be symmetric 2018-03-29 11:21:13 -04:00
Andrew Poelstra b45c3804e4
Merge pull request #22 from TheBlueMatt/master
Fix for older rustcs, removing serde/rustc-serialize and a missing include in fuzztarget
2018-03-21 22:09:17 +00:00
Matt Corallo 758380991a Bump major version 2018-03-21 18:05:04 -04:00
Matt Corallo ad72da771c Use travis' native rust support (and build fuzztarget on travis) 2018-03-21 18:05:04 -04:00
Matt Corallo e1878c4522 Remove all serde/rustc-serialize stuff 2018-03-21 18:01:33 -04:00
Matt Corallo 86af2dc0d2 Fix missing include on older rustcs 2018-03-21 18:01:33 -04:00
Andrew Poelstra 3b0fcbd05f
Merge pull request #21 from TheBlueMatt/master
Add fuzztarget feature that replaces crypto with memcpys
2018-03-20 17:00:40 +00:00
Matt Corallo e5e36c4854 Bump minor version for fuzztarget feature addition 2018-03-20 12:55:29 -04:00
Matt Corallo 5a7c88b9c7 Add fuzztarget feature that replaces crypto with memcpys 2018-03-20 11:58:59 -04:00
Matt Corallo 7b396112fd Correct ptr type in ffi 2018-03-19 15:49:16 -04:00
Matt Corallo 6a9f8ba375 Fix README links 2018-03-18 14:45:38 -04:00
Andrew Poelstra e08ddbc613 update github links in Cargo.toml, bump version number to republish 2018-03-05 19:42:39 +00:00
Andrew Poelstra c03d5ab819 Change documentation link, increment version so I can republish 2018-02-25 22:51:16 +00:00
Andrew Poelstra 6d4f64f901 fix potential unsafety bug for non-u8 types in macros
We don't have any non-u8 newtypes but better safe than sorry. See
https://github.com/apoelstra/rust-bitcoin/pull/45/
2018-02-14 16:25:45 +00:00
Andrew Poelstra f14e747431 expose key::{Secret, Public}Key in the crate root for ease of use 2018-01-17 15:38:11 +00:00
Andrew Poelstra 06137aefda
Merge pull request #20 from apoelstra/2combine
expose 2-key version of PublicKey::combine
2017-12-22 17:46:39 +00:00
Andrew Poelstra 2c5f45e165 expose 2-key version of PublicKey::combine 2017-12-21 01:04:07 +00:00
Andrew Poelstra 37f3107894
Merge pull request #19 from apoelstra/optional-deps
Make a bunch of dependencies optional, increase major version number
2017-12-19 23:22:04 +00:00
Andrew Poelstra fa7dc40254 rename gcc::Config to gcc::Build 2017-12-19 22:40:24 +00:00
Andrew Poelstra 5c54698bf9 make `serde` optional 2017-12-19 22:40:06 +00:00
Andrew Poelstra 12e9f4b90b make `rustc-serialize` crate optional 2017-12-19 22:36:30 +00:00
Andrew Poelstra 298929600b make `rand` crate optional 2017-12-19 22:36:27 +00:00
Andrew Poelstra dba0d67912 remove arrayvec dependency; rename PublicKey::serialize_vec 2017-12-19 20:36:46 +00:00
Andrew Poelstra d0dc0f89d8 Merge pull request #18 from real-or-random/patch-1
Implement serde traits for Signature
2017-07-26 15:38:33 +00:00
Tim Ruffing b4a41a8ed2 Bump version to 0.7.1 2017-07-22 00:06:40 +02:00
Tim Ruffing e71ed3b6d2 Implement serde traits for Signature 2017-07-21 23:58:19 +02:00
Andrew Poelstra 18ac2d6080 Merge pull request #17 from real-or-random/patch-1
Update serde to 1.0
2017-07-21 20:30:59 +00:00
Tim Ruffing a400e1678e Bump version to 0.7.0 for serde update 2017-07-21 22:22:55 +02:00
Tim Ruffing b1d8b09f25 Add tests for trailing bytes during deserilization 2017-07-21 22:21:37 +02:00
Tim Ruffing 76d160344b Update serde to 1.0 2017-07-21 22:15:00 +02:00
Andrew Poelstra e69fedb35a Merge pull request #16 from apoelstra/compact-sig
add compact signature encoding
2017-07-12 20:06:53 +00:00
Andrew Poelstra b6887b44a0
add compact signature encoding 2017-07-12 19:55:06 +00:00
Andrew Poelstra c1951d6025
Update to 0.6.2 for git bs 2017-05-08 13:53:58 +00:00
Andrew Poelstra 5a5048d544 Bump version to 0.6.1 for new PT changes 2017-05-08 13:53:34 +00:00
Andrew Poelstra f88eb1d6d7 Merge pull request #14 from petertodd/2017-05-08-use-copy_from_slice
Use safe copy_from_slice() rather than unsafe copy_nonoverlapping()
2017-05-08 12:53:19 +00:00
Peter Todd 20c5b903db
Replace unsafe copy_nonoverlapping() with safe copy_from_slice() 2017-05-08 07:31:08 -04:00
Andrew Poelstra bba4527af0 Merge pull request #13 from petertodd/2017-05-08-from-impl-for-message
Implement From<[u8;32]> for Message
2017-05-08 11:21:10 +00:00
Peter Todd eccd625828
Implement From<[u8;32]> for Message 2017-05-08 07:10:51 -04:00
Andrew Poelstra 70f54e1dea Merge pull request #12 from petertodd/2017-05-08-error-comment
Improve Error::InvalidMessage comment
2017-05-08 10:17:26 +00:00
Peter Todd 70fd5a9e27
Improve Error::InvalidMessage comment 2017-05-08 06:12:25 -04:00
Andrew Poelstra ab72e8da42 Merge pull request #11 from chritchens/master
Use DefaultHasher in place of the deprecated SipHasher
2017-04-27 21:13:59 +00:00
Christian Nyumbayire ab0493e46a Use DefaultHasher in place of the deprecated SipHasher 2017-04-27 21:46:28 +02:00
Andrew Poelstra f272b8345f Increase libc to 0.2
Annoyingly, this is a major version bump since we expose libc types in the FFI module
2016-10-10 13:12:12 +00:00
Andrew Poelstra 5b906ec069 expose *_tweak_mul functions 2016-08-20 17:00:39 +00:00
Andrew Poelstra 9e3b93d572 Add ZERO_KEY and ONE_KEY constants
Turns out you cannot initialize constant SecretKeys in any way; these
two constants should cover most sane use cases (other good choices
are the SECG generator and the Alpha CT generator, but these will
wait for a major CT-supporting upgrade, unless demand for them appears.)
2016-08-07 21:33:38 +00:00
Andrew Poelstra fe811b37b2 Add some `--` to travis-cargo to separate cargo opts from travis-cargo ones 2016-05-30 15:59:44 +00:00