66 Commits (3545627acb6059832834569829e97fb469933b29)

Author SHA1 Message Date
Pieter Wuille 39bd94d86d Variable time normalize 8 years ago
Pieter Wuille 2b9388b647 Remove unused secp256k1_fe_inv_all 8 years ago
Gregory Maxwell ee3eb4be9e Fix a memory leak and add a number of small tests. 8 years ago
Pieter Wuille 29ae1310ce Make scalar_add_bit test's overflow detection exact 8 years ago
Pieter Wuille ff8746d457 Add secp256k1_scalar_mul_shift_var 8 years ago
Pieter Wuille 24b3c65e0d Add a test case for ECDSA recomputing infinity 8 years ago
Pieter Wuille 32600e5086 Add a test for r >= order signature handling 8 years ago
Pieter Wuille 597128d389 Make num optional 8 years ago
Pieter Wuille 659b554d7b Make constant initializers independent from num 8 years ago
Pieter Wuille c76be9efa0 Remove unused num functions 8 years ago
Pieter Wuille f24041d6aa Switch all EC/ECDSA logic from num to scalar 8 years ago
Pieter Wuille b5c9ee756f Make test_point_times_order test meaningful again 8 years ago
Pieter Wuille 0b73059709 Switch wnaf splitting from num-based to scalar-based 8 years ago
Pieter Wuille 1e6c77c321 Generalize secp256k1_scalar_get_bits 8 years ago
Pieter Wuille 5213207856 Add secp256k1_scalar_add_bit 8 years ago
Pieter Wuille 6e0528785d Do signature recovery/verification with 4 possible recid case 8 years ago
Pieter Wuille d907ebc0e3 Add bounds checking to field element setters 8 years ago
Pieter Wuille 3bf029d676 Add test that recovering infinity fails 8 years ago
Gregory Maxwell 71712b27e5 Switch to C89 comments in prep for making the whole codebase C89 compatible. 8 years ago
Gregory Maxwell f0709ac57e Avoid forward static decl of undefined functions, also fix a paren warning in the tests. 8 years ago
Gregory Maxwell 3276e7d4e2 Signed/unsigned comparisons in tests. 8 years ago
Gregory Maxwell 2cad067a36 Correct function prototypes and avoid unused parameter warnings. 8 years ago
Gregory Maxwell a4a43d7543 Reorder static to comply with C99 and switch to the inline macro. 8 years ago
Pieter Wuille 9338dbf791 Branch-free point addition 8 years ago
Gregory Maxwell 79ad6d44ea Remove some dead variables in the tests. 8 years ago
Gregory Maxwell 9974d8693e Misc. Warning and cosmetic error cleanups. 8 years ago
Pieter Wuille 1d52a8b155 Implementations for scalar without data-dependent branches. 8 years ago
Pieter Wuille 501d58f098 Get rid of {num,scalar,ecdsa_sig}_{init,free} 8 years ago
Pieter Wuille 79359302fb Add unit tests for scalars. 8 years ago
Pieter Wuille eca6cdb123 Switch scalar to use get/set 32-byte arrays 8 years ago
Pieter Wuille a9f5c8b875 Introduce secp256k1_scalar_t for future constant-time mod order operations 8 years ago
Pieter Wuille ffffc87855 Use internal secp256k1_eckey_ prefix for functions in eckey 8 years ago
Pieter Wuille ae6bc76e32 [API CHANGE] Use secp256k1_ec_ prefix for non-ECDSA key operations 8 years ago
Pieter Wuille 79f599d37f
Tests take too long by default 8 years ago
Pieter Wuille bff11e9112
Verify num=openssl initialization and check repeatability 8 years ago
Pieter Wuille 3fd6253e13 Better randomization for tests 8 years ago
Pieter Wuille 04e34d18c3 Split up signing and verification initialization 8 years ago
Pieter Wuille 1c7fa133a6 Add VERIFY_CHECK/DEBUG_CHECK and use CHECK macros more 8 years ago
Pieter Wuille 1a749b4a6e Add secp256k1_num_eq and use it in tests 8 years ago
Pieter Wuille 25f4aec02f Add high-level secp256k1.c tests 8 years ago
Pieter Wuille 21f81a8469 Correct secp256k1_fe_verify and use it everywhere 8 years ago
Peter Dettman 59447da38d Test demonstrating discrepancy in sqr output 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. 8 years ago
Peter Dettman 6d6102fee4 A few improvements to the sqrt tests 8 years ago
Peter Dettman 09ca4f32e2 secp256k1_fe_sqrt checks for success 8 years ago
Pieter Wuille 11ab562203 Move implementations from impl/*.h to *_impl.h 9 years ago
Cory Fields 5a9989c52a add missing include 9 years ago
Cory Fields 78cd96b151 autotools: autotools'ify libsecp256k1 9 years ago
Pieter Wuille 12e29b320f Use privkey serialization to construct OpenSSL keys 10 years ago