Andrew Poelstra
c50411f798
release secp256k1-sys 0.4.2; make new `ZERO` type publically accessible
2022-01-05 15:56:49 +00:00
Andrew Poelstra
c3df9b89a2
Release 0.21.0
2022-01-04 14:30:00 +00:00
Andrew Poelstra
cd62343407
Merge rust-bitcoin/rust-secp256k1#326 : Bump bitcoin_hashes to version 0.10
...
bc42529a16
Rename `secp256k1::bitcoin_hashes` module to `secp256k1::hashes` (Thomas Eizinger)
ae1f8f4609
Bump bitcoin_hashes to version 0.10 (Thomas Eizinger)
Pull request description:
Requires for interoperability of the `ThirtyTwoByteHash` trait with
rust-bitcoin.
ACKs for top commit:
apoelstra:
ACK bc42529a16
Tree-SHA512: 85fcb284ff82b543a0c3ea2b568351b3af938a26ac42c6a975480ae97def84e4f0795105bd4572f930a7bf82654eba416cf0c5e25f62809e2ea331443ffb5807
2021-09-09 13:19:49 +00:00
Thomas Eizinger
ae1f8f4609
Bump bitcoin_hashes to version 0.10
...
Requires for interoperability of the `ThirtyTwoByteHash` trait with
rust-bitcoin.
2021-09-08 15:40:47 +10:00
Dr Maxim Orlovsky
7e2f7fef72
Adding KeyPair::serialize_sec. Closes #298
2021-06-19 14:02:48 +02:00
Andrew Poelstra
05f4278499
Merge pull request #306 from LNP-BP/extrakeys/update-1
...
Extracting SecretKey and uncompressed PublicKey from BIP-350 KeyPair
2021-06-18 22:13:47 +00:00
Dr Maxim Orlovsky
455ee57ba4
Bump sys version to 0.4.1
2021-06-18 23:47:24 +02:00
Andrew Poelstra
dce8a5d645
bump version to 0.20.3
2021-06-10 14:46:30 +00:00
Devrandom
b5ff47a1a8
New alloc feature
...
Allows use of `Secp256k1::new` and related API if an allocator is available
2021-06-08 20:41:49 +02:00
Matt Corallo
ce930ab6b7
Add a global-context-less-secure feature which skips randomization
...
This is useful for us downstream as we wish to target WASM with a
global context, and using rand in such a build doesn't seem like a
safe idea.
2021-06-08 01:48:50 +00:00
Andrew Poelstra
5307f9ba6c
release secp256k1 0.20.2
2021-04-27 22:16:58 +00:00
Andrew Poelstra
ca3caf9c94
bump version to 0.20.1
2021-01-11 19:15:10 +00:00
Andrew Poelstra
c4d2fefa70
rust-secp 0.20.0
2020-12-29 19:31:24 +00:00
Andrew Poelstra
e687622a81
bump secp-sys version; drop endomorphism flag
2020-12-29 17:15:56 +00:00
Elichai Turkel
21f231bf4d
Make test.sh test and build secp256k1-sys
2020-12-23 12:01:34 +02:00
Andrew Poelstra
85075a654c
replace `fuzztarget` Cargo feature with a rustc --cfg flag
...
It's super dangerous to use Cargo features for this, since they can be set
accidentally (or maliciously by any crate in a user's entire dep tree). Instead
we can just require users set `RUSTFLAGS` appropriately, which we can easily
do in our fuzzing scripts.
2020-12-22 15:42:02 +00:00
Andrew Poelstra
d77483f00e
replace cargo `external-symbols` feature with a rustc --cfg flag
...
This feature was not useful for Cargo users, since Cargo does not give you
the kind of fine-grained control over C library linkage that you need. So
it was just unnecessarily confusing and would cause the build to break if
you enabled it accidentally, say, with --all-features.
2020-12-22 15:35:16 +00:00
Andrew Poelstra
be9a78f39e
Merge pull request #237 from p2pderivatives/add-bip340-schnorr
...
Add bip340 schnorr
2020-11-27 18:04:44 +00:00
Tibo-lg
45a4459baf
Update secp256k1-sys to add schnorr/extra-keys
2020-11-09 16:00:28 +09:00
Artem Vorotnikov
bc81930a89
global-context depends on rand-std
2020-11-07 01:17:22 +03:00
Elichai Turkel
6511fad231
Sort Cargo.toml files
2020-08-27 22:58:00 +03:00
Andrew Poelstra
19f5138925
Update MSRV to 1.29; increase version to 0.19 and -sys version to 0.3
2020-08-27 14:18:06 +00:00
Andrew Poelstra
060648775e
bump version to 0.18.0
2020-08-26 21:16:22 +00:00
Andrew Poelstra
f19c6bbece
bump secp-sys version to 0.2.0
2020-08-26 18:07:44 +00:00
Sebastian Geisler
2046a40905
Randomize context on initialization
...
Signed-off-by: Sebastian Geisler <sebastian@blockstream.io>
2020-08-03 12:07:26 +02:00
Sebastian Geisler
a959de4174
Add an optional global, static context
2020-07-08 16:05:42 +02:00
Sebastian Geisler
0d857533fa
Add optional bitcoin_hashes feature to implement ThirtyTwoByteHash
2020-05-14 18:24:39 +02:00
Matt Corallo
d9d398ccc9
Re-support WASM via simple stub headers
...
libsecp256k1 really only barely uses libc at all, and in practice,
things like memcpy/memcmp get optimized into something other than a
libc call. Thus, if we provide simple stub headers, things seem to
work with wasm-pack just fine.
2020-04-29 15:32:54 -04:00
Elichai Turkel
b2edf157cd
Fix broken benchmarks
2020-04-05 11:08:29 +03:00
Elichai Turkel
8f52bacb4a
Bump version to 0.17.2
2020-01-09 17:08:39 +02:00
Steven Roose
ebc660bf94
Bump to v0.17.1
2019-12-11 18:57:21 +01: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
724c49fff9
Add secp256k1-sys
2019-11-27 21:02:42 +00:00
Rodolfo Araujo
97f74c2c06
Libraries versions
2019-11-20 11:44:53 -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
Elichai Turkel
56753b1444
Bump version to 0.16
2019-10-29 11:13:06 +02:00
Elichai Turkel
2b50e02d7a
Add a rand-std feature
2019-10-29 11:13:05 +02:00
Elichai Turkel
fe8ac1e583
Add warnings to Cargo.toml features
2019-10-28 23:23:46 +02:00
Elichai Turkel
349b2eac06
Add a 'dont_replace_c_symbols' feature for not replacing C's symbols with rust. isn't compatible with no-std
2019-10-28 23:05:38 +02:00
Elichai Turkel
7e5916b61f
Aded an example for recoverable signatures and recovering the pubkey
2019-10-28 22:23:56 +02:00
Elichai Turkel
e28f756788
Added an example for signing and verification
2019-10-28 22:09:59 +02:00
Elichai Turkel
5ee0afbde4
Added an example for generating keys using OsRng
2019-10-28 22:09:18 +02:00
Andrew Poelstra
0c901db9d4
bump version to 0.15.5
2019-09-09 10:04:10 +00:00
Andrew Poelstra
bbab1c271a
Revert "Add a rand-std feature"
2019-09-09 07:30:30 +00:00
Steven Roose
845bff25da
Bump version to 0.15.4
2019-09-06 17:15:49 +01:00
Steven Roose
07ef3a1f45
Pin version of build dependency cc to <1.0.42
...
Version 1.0.42 broke compatibility with rustc 1.22.0.
2019-09-06 17:11:18 +01:00
Elichai Turkel
b59f4ff589
Add a rand-std feature
2019-08-21 20:16:11 -04:00
Elichai Turkel
f75772b385
Bump version to 0.15.3
2019-08-16 14:15:31 -04:00