Commit graph

16 commits

Author SHA1 Message Date
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
Renamed from src/tests.cpp (Browse further)