Commit Graph

309 Commits (1b6836620115e8cf4450d55d10e5a5e6108299d4)

Author SHA1 Message Date
Pieter Wuille 5133f78651
Merge pull request #254
9 years ago
Pieter Wuille b0a60e6d33
Merge pull request #258
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
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 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
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
Peter Dettman 2d5a186cee Apply effective-affine trick to precomp
10 years ago
Peter Dettman 4f9791abba Effective affine addition in EC multiplication
10 years ago
Pieter Wuille 22f60a6280
Merge pull request #245
10 years ago
Gregory Maxwell d2275795ff Add scalar blinding and a secp256k1_context_randomize() call.
10 years ago
Gregory Maxwell 9c4fb23dd9 Add a secp256k1_fe_cmov unit test.
10 years ago
Gregory Maxwell bb0ea50de8 Replace set/add with cmov in secp256k1_gej_add_ge.
10 years ago
Andrew Poelstra 5c2a4fad1c Fix memory leak in context unit test
10 years ago
Andrew Poelstra 93226a54b4 secp256k1.c: Add missing DEBUG_CHECKs for sufficiently capable contexts
10 years ago
Pieter Wuille 6066bb684c Fix typo: avg -> max
10 years ago
Andrew Poelstra d899b5b67c Expose ability to deep-copy a context
10 years ago
Pieter Wuille a9b6595ef8 [API BREAK] Introduce explicit contexts
10 years ago
Pieter Wuille a0d3b89dd6
Merge pull request #233
10 years ago
Gregory Maxwell 4450e24a82 Add a comment about the avoidance of secret data in array indexes.
10 years ago
Cory Fields 6534ee1259 initialize variable
10 years ago
Gregory Maxwell c01df1adc9 Avoid some implicit type conversions to make C++ compilers happy.
10 years ago
Gregory Maxwell 33270bff87 Add a couple comments pointing to particular sections of RFC6979.
10 years ago
Gregory Maxwell 2632019713 Brace all the if/for/while.
10 years ago
Gregory Maxwell efc571ceea Add simple testcases for signing with rfc6979 extra entropy.
10 years ago
Pieter Wuille 1573a102c0 Add ability to pass extra entropy to rfc6979
10 years ago
Pieter Wuille 3087bc4d75
Merge pull request #228
10 years ago
Gregory Maxwell 0065a8fb9c Eliminate multiple-returns from secp256k1.c.
10 years ago
Gregory Maxwell 354ffa33e6 Make secp256k1_ec_pubkey_create reject oversized secrets.
10 years ago