secp256k1/include
Tim Ruffing 6198375218 Make randomization of a non-signing context a noop
Before this commit secp256k1_context_randomize called illegal_callback
when called on a context not initialized for signing. This is not
documented. Moreover, it is not desirable because non-signing contexts
may use randomization in the future.

This commit makes secp256k1_context_randomize a noop in this case. This
is safe because the context cannot be used for signing anyway.

This fixes #573 and it fixes rust-bitcoin/rust-secp256k1#82.
2019-01-27 13:33:52 +01:00
..
secp256k1.h Make randomization of a non-signing context a noop 2019-01-27 13:33:52 +01:00
secp256k1_ecdh.h [ECDH API change] Allow pass arbitrary data to hash function 2018-05-17 00:38:58 +03:00
secp256k1_recovery.h Fix header guards using reserved identifiers 2017-08-26 18:44:21 +03:00