]> Git Repo - secp256k1.git/commit
Merge #587: Make randomization of a non-signing context a noop
authorGregory Maxwell <[email protected]>
Thu, 21 Feb 2019 04:31:26 +0000 (04:31 +0000)
committerGregory Maxwell <[email protected]>
Thu, 21 Feb 2019 04:33:59 +0000 (04:33 +0000)
commite96901a4b951dfb6336114d223151dd0f5ffb89b
treec6a4eeb8478807bb6a296cfb05d3e26d5f791cf4
parent58df8d03adb47c75d3f64d6e8a3e9c3e63655928
parent6198375218b8132f016b701ef049fb295ca28c95
Merge #587: Make randomization of a non-signing context a noop

6198375 Make randomization of a non-signing context a noop (Tim Ruffing)

Pull request description:

  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.

Tree-SHA512: 34ddfeb004d9da8f4a77c739fa2110544c28939378e779226da52f410a0e36b3aacb3ebd2e3f3918832a9027684c161789cfdc27a133f2f0e0f1c47e8363029c
This page took 0.022815 seconds and 4 git commands to generate.