192 Commits (95e99f196fd08a8b2c236ab99d7e7fec8f6dc78f)

Author SHA1 Message Date
Pieter Wuille 9ab93355f2 Add a reference consistency test to ge_tests. 8 years ago
Pieter Wuille 60571c6e45 Rework group tests 8 years ago
Pieter Wuille d7174edf5f Weak normalization for secp256k1_fe_equal 8 years ago
Pieter Wuille bbd5ba7cfa Use rfc6979 as default nonce generation function 8 years ago
Pieter Wuille b37fbc280e Implement SHA256 / HMAC-SHA256 / RFC6979. 8 years ago
Pieter Wuille c6e7f4e8d8 [API BREAK] Use a nonce-generation function instead of a nonce 8 years ago
Pieter Wuille 603c33bc80 Make signing fail if a too small buffer is passed. 8 years ago
Pieter Wuille cf7b2b4647 Fix ECDSA message hashes to 32 bytes 8 years ago
Gregory Maxwell 7c6fed2857 Add a few more additional tests. 8 years ago
Pavel Janík e06a9244bf Include time.h header for time(). 8 years ago
Gregory Maxwell 8d11164bc0 Add some additional tests. 8 years ago
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