Commit Graph

687 Commits

Author SHA1 Message Date
Elichai Turkel 9bbd4a3df1
Disable emscripten tests until they work again
https://github.com/rust-lang/rust/issues/66916
https://github.com/rustwasm/team/issues/291
2020-03-11 12:22:32 +02:00
Kohei Taniguchi 4b410fc202 Add constant of the prime of the curve field. 2020-03-06 09:15:32 +09:00
Elichai Turkel 2eff118d03
Simplify callback logic to returning raw coordinates 2020-03-01 13:46:25 +02:00
Elichai Turkel 2f897d8a93
Removed no longer used dont_replace_c_symbols feature 2020-02-09 16:37:59 +02:00
Elichai Turkel 889e9a8740
Fix wrong feature name external-symbols 2020-02-09 16:37:39 +02:00
Elichai Turkel f277530669
Fix missing return c_int in NonceFn 2020-01-26 14:20:26 +02:00
Andrew Poelstra 8c517e0afa
Merge pull request #192 from elichai/2020-01-sys
Bump -sys version to 0.1.2
2020-01-09 16:36:35 +00:00
Elichai Turkel 6bcb510d9a
Bump secp256k1-sys to 0.1.2 2020-01-09 18:10:12 +02:00
Andrew Poelstra 5c82bb4335
Merge pull request #191 from elichai/2020-01-fuzztarget
Fix fuzztarget symbols
2020-01-09 15:29:19 +00:00
Elichai Turkel 8f52bacb4a
Bump version to 0.17.2 2020-01-09 17:08:39 +02:00
Elichai Turkel 89271c9c3c
Fix fuzztarget symbols 2020-01-09 16:56:10 +02:00
Andrew Poelstra 80c856c091
Merge pull request #189 from stevenroose/fix-links
Fix the manifest links property for secp256k1-sys
2019-12-11 18:16:36 +00:00
Steven Roose ebc660bf94
Bump to v0.17.1 2019-12-11 18:57:21 +01:00
Steven Roose 987d556a67
Bump secp256k1-sys to v0.1.1 2019-12-11 15:55:00 +00:00
Steven Roose 65fe733ad0
Update Cargo.toml link in vendor script 2019-12-11 15:54:30 +00:00
Andrew Poelstra ff6e944875
Merge pull request #187 from rust-bitcoin/2019-12-keyword-reduce
remove some keywoards from secp-sys Cargo.toml
2019-12-10 20:45:07 +00:00
Andrew Poelstra 72b9ec17fa remove some keywoards from secp-sys Cargo.toml 2019-12-10 19:48:29 +00:00
Andrew Poelstra f92261b088
Merge pull request #185 from stevenroose/v0.17.0-changelog
Update changelog for v0.17.0
2019-12-10 19:43:29 +00:00
Steven Roose 9170dec8a8
Update changelog for v0.17.0 2019-12-10 19:23:57 +00:00
Andrew Poelstra 4b740911c6
Merge pull request #180 from elichai/2019-11-SharedSecret
Alternative: Passing custom hash functions to ECDH
2019-12-09 21:11:30 +00:00
Elichai Turkel 92c42ca9e6
Add ECDH to the no-std tests 2019-12-09 22:53:28 +02:00
Elichai Turkel 5619f2a5df
Add an unsafe variant of new_with_has called new_with_hash_no_panic 2019-12-09 22:53:24 +02:00
Andrew Poelstra e7f0974f08
Merge pull request #186 from elichai/2019-12-manualdrop
Wrap Secp256k1 from raw context in a ManuallyDrop
2019-12-06 21:26:54 +00:00
Elichai Turkel 124c1f3c7c
feature gate new_with_hash with std only, added catch_unwind 2019-12-05 18:05:40 +02:00
Elichai Turkel ca8ea92418
Fixed secp256k1_ecdh fuzztarget 2019-12-05 18:05:36 +02:00
Elichai Turkel d2c4e5a846
Wrap Secp256k1 from raw context in a ManuallyDrop 2019-12-05 17:51:59 +02:00
Elichai Turkel f80428258c
Add tests for the new SharedSecret::new_with_hash() function 2019-12-05 17:46:24 +02:00
Elichai Turkel af8fa21a20
Add 'new_with_hash' function to SharedSecret 2019-12-05 17:46:23 +02:00
Elichai Turkel 9759cb07f5
Replace SharedSecret with a more generic alternative 2019-12-05 17:45:24 +02:00
Andrew Poelstra e3aaf00710
Merge pull request #169 from stevenroose/sys
Add secp256k1-sys with prefixed sources
2019-12-05 15:03:31 +00:00
Steven Roose 18c511fd38
Bump version to v0.17.0 2019-11-27 21:04:34 +00:00
Steven Roose bf3fba71cb
Add external-symbols feature to support external libsecp
This feature disables using the bundles sources and will link into
existing libsecp256k1 symbols.
2019-11-27 21:04:32 +00:00
Steven Roose 55fab77029
Add vendor script to prefix secp256k1 sources 2019-11-27 21:03:48 +00:00
Steven Roose 80e1935ca0
Add secp256k1-sys README and LICENSE files 2019-11-27 21:02:44 +00:00
Steven Roose 724c49fff9
Add secp256k1-sys 2019-11-27 21:02:42 +00:00
Steven Roose 9bd088233b
Add forgotten mention of upstream update 2019-11-27 21:02:05 +00:00
Andrew Poelstra 02f66177f0
Merge pull request #179 from elichai/2019-11-raw-context
Creating context from raw pointer
2019-11-27 20:34:43 +00:00
Elichai Turkel 9523e093c1
Add tests for raw context 2019-11-27 22:05:27 +02:00
Elichai Turkel 5f8096e8a8
Add functions to create from raw context 2019-11-27 22:05:23 +02:00
Andrew Poelstra cf22f60919
Merge pull request #162 from elichai/2019-09-ffi
Fixes and tests for the ffi
2019-11-27 20:01:17 +00:00
Andrew Poelstra 1e711f194c
Merge pull request #184 from elichai/2019-11-context
Fix a safety problem and make the Context trait unimplementable
2019-11-27 19:58:44 +00:00
Elichai Turkel 9522f7e4a4
Make Context::deallocate unsafe fn 2019-11-27 17:42:01 +02:00
Elichai Turkel fe688ada65
Make the Context trait unimplementable 2019-11-27 17:36:06 +02:00
Andrew Poelstra 47b2555e80
Merge pull request #182 from rodoufu/code_imp
Updating libraries and small code improvements
2019-11-22 16:02:33 +00:00
Jonas Nick 30ea7f8d4f
Merge #183: Remove trailing whitespace
1b0c57377a Remove trailing whitespace (Tony Jin)

Pull request description:

  Removes some trailing whitespace in the `macros.rs` file.

Top commit has no ACKs.

Tree-SHA512: cb0486f0c1660e56ce996e448315dc95799d9596657ea63fa3d1dc3fed83b4ed20ba42ea1e311a8a7da86982ee9bc5a61a6b874f0cfdd98bdda67ca762227c78
2019-11-21 18:14:58 +00:00
Tony Jin 1b0c57377a
Remove trailing whitespace 2019-11-20 20:36:18 +01:00
Rodolfo Araujo 97f74c2c06 Libraries versions 2019-11-20 11:44:53 -03:00
Rodolfo Araujo 825493bea9 Small code improvements. 2019-11-17 22:10:40 -03:00
Rodolfo Araujo a4ccab7431 Libraries. 2019-11-17 22:04:11 -03:00
Andrew Poelstra 5de62f80f3
Merge pull request #174 from elichai/2019-10-examples
Adding usage examples
2019-11-05 18:36:49 +00:00