Commit Graph

567 Commits (440150006064295038d4d7fcb7fe2796bf1672df)
 

Author SHA1 Message Date
Andrew Poelstra 4401500060 Add constant-time multiply `secp256k1_ecmult_const` for ECDH
9 years ago
Andrew Poelstra baa75da59d tests: add a couple tests
9 years ago
Pieter Wuille ae4f0c6eec
Merge pull request #278
9 years ago
Pieter Wuille 995c548771 Introduce callback functions for dealing with errors.
9 years ago
Pieter Wuille c33307495b
Merge pull request #282
9 years ago
Pieter Wuille 18c329c506 Remove the internal secp256k1_ecdsa_sig_t type
9 years ago
Pieter Wuille 74a2acdb8a Add a secp256k1_ecdsa_signature_t type
9 years ago
Pieter Wuille 23cfa914d2 Introduce secp256k1_pubkey_t type
9 years ago
Pieter Wuille 4c63780710
Merge pull request #269
9 years ago
Pieter Wuille 3e6f1e20dc Change rfc6979 implementation to be a generic PRNG
9 years ago
Pieter Wuille 1b68366201
Merge pull request #274
9 years ago
Pieter Wuille a83bb48068 Make ecmult static precomputation default
9 years ago
Pieter Wuille 166b32f70a
Merge pull request #276
9 years ago
Gregory Maxwell c37812f54c Add gen_context src/ecmult_static_context.h to CLEANFILES to fix distclean.
9 years ago
Pieter Wuille 125c15de31
Merge pull request #275
9 years ago
Gregory Maxwell 76f67697ec Fix build with static ecmult altroot and make dist.
9 years ago
Pieter Wuille 5133f78651
Merge pull request #254
9 years ago
Pieter Wuille b0a60e6d33
Merge pull request #258
9 years ago
Thomas Daede 733c1e695e Add travis build to test the static context.
9 years ago
Thomas Daede fbecc38a89 Add ability to use a statically generated ecmult context.
9 years ago
Pieter Wuille 4fb174df08
Merge pull request #263
9 years ago
Pieter Wuille 4ab8990c52
Merge pull request #270
9 years ago
Pieter Wuille bdf0e0c268
Merge pull request #271
9 years ago
Pieter Wuille 31d0c1fd12
Merge pull request #273
9 years ago
Andrew Poelstra eb2c8ffedf Add missing casts to SECP256K1_FE_CONST_INNER
9 years ago
Peter Dettman 55399c23f7 Further performance improvements to _ecmult_wnaf
9 years ago
Thomas Kerin 99fd963bd5
Add secp256k1_ec_pubkey_compress(), with test similar to the related decompress() function.
9 years ago
Peter Dettman 145cc6ea8f Improve performance of _ecmult_wnaf
9 years ago
Pieter Wuille 36b305a82b Verify the result of GMP modular inverse using non-GMP code
9 years ago
Pieter Wuille 0cbc8600f3
Merge pull request #266
9 years ago
Pieter Wuille 06ff7fe5b0
Merge pull request #267
9 years ago
Peter Dettman 5a43124c69 Save 1 _fe_negate since s1 == -s2
9 years ago
Peter Dettman a5d796e0b1 Update code comments
9 years ago
Peter Dettman 3f3964e49c Add specific VERIFY tests for _fe_cmov
10 years ago
Peter Dettman 7d054cd030 Refactor to save a _fe_negate
10 years ago
Peter Dettman b28d02a5d5 Refactor to remove a local var
10 years ago
Peter Dettman 55e7fc32cb Perf. improvement in _gej_add_ge
10 years ago
Peter Dettman a0601cd79c Fix VERIFY calculations in _fe_cmov methods
10 years ago
Pieter Wuille 17f7148606
Merge pull request #261
10 years ago
Pieter Wuille 765742021a
Add tests for adding P+Q with P.x!=Q.x and P.y=-Q.y
10 years ago
Andrew Poelstra 8c5d5f7b5b
tests: Add failing unit test for #257 (bad addition formula)
10 years ago
Andrew Poelstra 5de4c5dffd
gej_add_ge: fix degenerate case when computing P + (-lambda)P
10 years ago
Andrew Poelstra bcf2fcfd3a
gej_add_ge: rearrange algebra
10 years ago
Vinnie Falco e2a07c78a1 Fix compilation with C++
10 years ago
Pieter Wuille 873a453d26
Merge pull request #250
10 years ago
Pieter Wuille 91eb0da155
Merge pull request #247
10 years ago
Andrew Poelstra 210ffed5cd Use separate in and out pointers in `secp256k1_ec_pubkey_decompress`
10 years ago
Pieter Wuille a1d5ae1527 Tiny optimization
10 years ago
Pieter Wuille 729badff14
Merge pull request #210
10 years ago
Peter Dettman 2d5a186cee Apply effective-affine trick to precomp
10 years ago