51 Commits (355a38f113925799f38e8b3dbe1e66db1c7e4cfa)

Author SHA1 Message Date
Jonas Nick 355a38f113 Add pippenger_wnaf ecmult_multi 5 years ago
Pieter Wuille 8c1c831bdb Generalize Strauss to support multiple points 5 years ago
Dan Raviv abe2d3e84b Fix header guards using reserved identifiers 5 years ago
Andrew Poelstra 83836a9547 Add exhaustive tests for group arithmetic, signing, and ecmult on a small group 6 years ago
Andrew Poelstra 20b8877be1 Add exhaustive test for group functions on a low-order subgroup 6 years ago
Wladimir J. van der Laan 0bbd5d4025 Add string.h include to ecmult_impl 6 years ago
llamasoft 353c1bf0d7 Fix secp256k1_ge_set_table_gej_var parameter order 6 years ago
Pieter Wuille dd891e0ed5 Get rid of _t as it is POSIX reserved 7 years ago
Andrew Poelstra ed35d43a0c Make `secp256k1_scalar_add_bit` conditional; make `secp256k1_scalar_split_lambda_var` constant time 7 years ago
Pieter Wuille 995c548771 Introduce callback functions for dealing with errors. 7 years ago
Peter Dettman 55399c23f7 Further performance improvements to _ecmult_wnaf 7 years ago
Peter Dettman 145cc6ea8f Improve performance of _ecmult_wnaf 7 years ago
Vinnie Falco e2a07c78a1 Fix compilation with C++ 8 years ago
Peter Dettman 2d5a186cee Apply effective-affine trick to precomp 8 years ago
Peter Dettman 4f9791abba Effective affine addition in EC multiplication 8 years ago
Andrew Poelstra d899b5b67c Expose ability to deep-copy a context 8 years ago
Pieter Wuille a9b6595ef8 [API BREAK] Introduce explicit contexts 8 years ago
Gregory Maxwell c01df1adc9 Avoid some implicit type conversions to make C++ compilers happy. 8 years ago
Gregory Maxwell 2632019713 Brace all the if/for/while. 8 years ago
Gregory Maxwell f735446c4d Convert the rest of the codebase to C89. 8 years ago
Pieter Wuille 41f8455434 Use group element storage type in EC multiplications 8 years ago
Pieter Wuille 4732d26069 Convert the field/group/ecdsa constant initialization to static consts 8 years ago
Pieter Wuille 0295f0a33d weak normalization 8 years ago
Pieter Wuille a5759c572e Check return value of malloc 8 years ago
Pieter Wuille 39bd94d86d Variable time normalize 8 years ago
Pieter Wuille f461b76925 Allocate precomputation arrays on the heap 8 years ago
Pieter Wuille c35ff1ea44 Convert lambda splitter to pure scalar code. 8 years ago
Peter Dettman cc604e9842 Avoid division when decomposing scalars 8 years ago
Pieter Wuille f24041d6aa Switch all EC/ECDSA logic from num to scalar 8 years ago
Pieter Wuille 0b73059709 Switch wnaf splitting from num-based to scalar-based 8 years ago
Pieter Wuille 3ce74b1266 Tweak precomputed table size for G 8 years ago
Pieter Wuille 665775b2b9 Don't split the g factor when not using endomorphism 8 years ago
Gregory Maxwell 71712b27e5 Switch to C89 comments in prep for making the whole codebase C89 compatible. 8 years ago
Gregory Maxwell a4a43d7543 Reorder static to comply with C99 and switch to the inline macro. 8 years ago
Gregory Maxwell 8563713a4f Add non-null and unused-result warnings for the external API. 8 years ago
Pieter Wuille da55986fdf Label variable-time functions correctly and don't use those in sign 8 years ago
Pieter Wuille 501d58f098 Get rid of {num,scalar,ecdsa_sig}_{init,free} 8 years ago
Pieter Wuille 949c1ebb5e Split up ecmult and ecmult_gen entirely 8 years ago
Pieter Wuille c259a7cbc0 Set precomputation table late and unset early. 8 years ago
Pieter Wuille 04e34d18c3 Split up signing and verification initialization 8 years ago
Pieter Wuille 62c3f55a9d Nothing-up-my-sleeving blinding for a*G 8 years ago
Pieter Wuille 1c7fa133a6 Add VERIFY_CHECK/DEBUG_CHECK and use CHECK macros more 8 years ago
Gregory Maxwell 2f6c801911
Try to not leave secret data on the stack or heap. 8 years ago
Peter Dettman f16be77ffc Use batch inversion in G precomputation 8 years ago
Pieter Wuille 0592d117da Introduce CHECK() for tests that works with NDEBUG. 9 years ago
Peter Dettman d7fd4d0f6b Use endomorphism in precomputations 9 years ago
Pieter Wuille 11ab562203 Move implementations from impl/*.h to *_impl.h 9 years ago
Pieter Wuille 65a79b300c Slice bytes of G multiples to avoid cache timings 9 years ago
Pieter Wuille 399c03f227 Make endomorphism optimization optional 9 years ago
Pieter Wuille 0a433ea23c MIT License 10 years ago