Skip to content
  1. Nov 19, 2015
  2. Nov 15, 2015
  3. Nov 08, 2015
    • Andrew Poelstra's avatar
      Bump minor version number · 54632bf7
      Andrew Poelstra authored
      We had added a necessary include directory to build.rs but not updated the
      library on crates.io, so dependencies of rust-secp were failing to build.
      (However, on my local system I had secp installed in /usr/local/include,
      so I did not notice the problem until Travis pointed it out on a different
      project!)
      54632bf7
  4. Oct 28, 2015
  5. Oct 26, 2015
  6. Oct 25, 2015
    • Andrew Poelstra's avatar
      Update for breaking changes in underlying rustc. · f1e1da12
      Andrew Poelstra authored
      This should be a major version number since I changed public constants
      in the ffi module. I'm not doing so as the invariant "will the constants
      be meaningful to the underlying library" has not changed.
      
      In general this library's version numbers do not map well to the
      underlying library, which is as-yet not versioned at all, so users
      need to always be running "the lastest" rust-secp256k1 anyway, and
      semantic versioning can't really be used meaninfully. So this is a
      bit of a judgement call.
      f1e1da12
  7. Oct 17, 2015
  8. Oct 14, 2015
  9. Oct 13, 2015
  10. Oct 11, 2015
  11. Oct 09, 2015
  12. Sep 21, 2015
  13. Sep 20, 2015
  14. Sep 18, 2015
    • Andrew Poelstra's avatar
      Fix for upstream API changes; add ECDH support · 016d781f
      Andrew Poelstra authored
      I didn't mean for both of these to go into the same commit, but given how
      small the ECDH code was, and the fact that no commit prior to this one will
      compile (as both libsecp256k1 and rustc have changed so much), I'm letting
      it slide.
      016d781f
  15. Jul 28, 2015
  16. May 04, 2015
  17. May 03, 2015
  18. Apr 30, 2015
  19. Apr 28, 2015
  20. Apr 16, 2015
  21. Apr 14, 2015
  22. Apr 12, 2015
    • Andrew Poelstra's avatar
      [API BREAK] Remove Rng from Secp256k1 and associated code · fb75373b
      Andrew Poelstra authored
      The Rng was only used for key generation, and for BIP32 users not even then;
      thus hauling around a Rng is a waste of space in addition to causing a
      massive amount of syntactic noise. For example rust-bitcoin almost always
      uses `()` as the Rng; having `Secp256k1` default to a `Secp256k1<Fortuna>`
      then means even more syntactic noise, rather than less.
      
      Now key generation functions take a Rng as a parameter, and the rest can
      forget about having a Rng. This also means that the Secp256k1 context
      never needs a mutable reference and can be easily put into an Arc if so
      desired.
      fb75373b
    • Andrew Poelstra's avatar
      [minor API BREAK] Add unit tests to cover all error cases · 83823379
      Andrew Poelstra authored
      This comes with a couple bugfixes and the following API changes:
      
        - Secp256k1::sign and ::sign_compact no longer return Result;
          it is impossible to trigger their failure modes with safe
          code since the `Message` and `SecretKey` types validate when
          they are created.
      
        - constants::MAX_COMPACT_SIGNATURE_SIZE loses the MAX_; signatures
          are always constant size
      
        - the Debug output for everything is now hex-encoded rather than
          being a list of base-10 ints. It's just easier to read this way.
      
      kcov v26 now reports 100% test coverage; however, this does not
      guarantee that test coverage is actually complete. Patches are
      always welcome for improved unit tests.
      83823379