Pieter Wuille
3fd6253e13
Better randomization for tests
2014-10-17 16:04:00 -07:00
Pieter Wuille
04e34d18c3
Split up signing and verification initialization
2014-09-13 17:14:17 +02:00
Pieter Wuille
1c7fa133a6
Add VERIFY_CHECK/DEBUG_CHECK and use CHECK macros more
2014-08-26 01:23:51 +02:00
Pieter Wuille
1a749b4a6e
Add secp256k1_num_eq and use it in tests
2014-08-09 19:22:42 +02:00
Pieter Wuille
25f4aec02f
Add high-level secp256k1.c tests
2014-08-03 19:54:41 +02:00
Pieter Wuille
21f81a8469
Correct secp256k1_fe_verify and use it everywhere
2014-07-17 21:07:40 +02:00
Peter Dettman
59447da38d
Test demonstrating discrepancy in sqr output
2014-07-17 21:07:38 +02:00
Peter Dettman
f16be77ffc
Use batch inversion in G precomputation
2014-07-17 15:33:00 +07:00
Pieter Wuille
0592d117da
Introduce CHECK() for tests that works with NDEBUG.
2014-06-16 01:30:17 +02:00
Peter Dettman
6d6102fee4
A few improvements to the sqrt tests
2014-06-03 17:50:27 +07:00
Peter Dettman
09ca4f32e2
secp256k1_fe_sqrt checks for success
...
- secp256k1_fe_sqrt now checks that the value it calculated is actually a square root.
- Add return values to secp256k1_fe_sqrt and secp256k1_ge_set_xo.
- Callers of secp256k1_ge_set_xo can use return value instead of explicit validity checks
- Add random value tests for secp256k1_fe_sqrt
2014-05-21 10:22:14 +07:00
Pieter Wuille
11ab562203
Move implementations from impl/*.h to *_impl.h
2014-03-12 18:40:02 +01:00
Cory Fields
5a9989c52a
add missing include
2014-01-17 23:24:12 -05:00
Cory Fields
78cd96b151
autotools: autotools'ify libsecp256k1
2014-01-17 23:24:12 -05:00
Pieter Wuille
12e29b320f
Use privkey serialization to construct OpenSSL keys
2013-05-10 00:53:47 +02:00
Pieter Wuille
0a433ea23c
MIT License
2013-05-09 15:24:32 +02:00
Pieter Wuille
dd08f03799
OpenSSL/EC tests
2013-05-05 16:55:05 +02:00
Pieter Wuille
50eb498ece
Compact signatures/pubkey recovery
2013-05-05 02:46:07 +02:00
Pieter Wuille
764332d05d
Make pubkeys, set_xo, ... ge instead of gej
2013-05-05 01:18:23 +02:00
Pieter Wuille
3f44e1ad36
More num unit tests
2013-04-22 01:53:50 +02:00
Pieter Wuille
404c30a800
Test improvements
2013-04-21 19:07:21 +02:00
Pieter Wuille
d06e61cbb5
Builtin random
2013-04-20 23:57:20 +02:00
Pieter Wuille
2f9e831d34
Some comments
2013-04-14 22:17:21 +02:00
Pieter Wuille
898cecb3b3
Use GMP's low-level routines for num (mpn_)
2013-04-14 18:13:41 +02:00
Pieter Wuille
7a4b7691b6
Reorganize source tree: no .c for non-objects
2013-04-05 02:09:37 +02:00
Pieter Wuille
eb0be8eec6
Final step in converting to C
2013-04-01 07:52:58 +02:00