Commit Graph

95 Commits

Author SHA1 Message Date
Pieter Wuille 764332d05d Make pubkeys, set_xo, ... ge instead of gej 2013-05-05 01:18:23 +02:00
Pieter Wuille 42cccdaf55 More public implementations 2013-05-05 01:02:05 +02:00
Pieter Wuille 7823916781 Add signing to public interface 2013-05-05 00:21:03 +02:00
Pieter Wuille 42f5e7c58d Remove traces of old mpz-based num 2013-04-30 16:04:33 +02:00
Pieter Wuille f491cd35df Make constants constant 2013-04-30 15:57:40 +02:00
Pieter Wuille 43cbc85e14 Better compilation flags for coverage 2013-04-23 01:04:45 +02:00
Pieter Wuille 48dc7347fc Add coverage check 2013-04-22 02:10:41 +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 79b0ce6c84 Change num_mod semantics 2013-04-21 00:58:15 +02:00
Pieter Wuille d06e61cbb5 Builtin random 2013-04-20 23:57:20 +02:00
Pieter Wuille b2966ce852 public interface docs 2013-04-14 22:44:45 +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 a16c3a905b Add obj/ directory 2013-04-11 12:46:39 +02:00
Pieter Wuille f0c89aadc6 Revamp makefile 2013-04-07 01:39:57 +02:00
Pieter Wuille 6baf08dfe4 Support for 32-bit limbs in field_gmp 2013-04-06 22:31:02 +02:00
Pieter Wuille 7a4b7691b6 Reorganize source tree: no .c for non-objects 2013-04-05 02:09:37 +02:00
Pieter Wuille ea165f47da Add field_gmp; only 64-bit platforms for now 2013-04-05 01:38:29 +02:00
Pieter Wuille 7fef66199e Some group.h comments 2013-04-03 00:58:51 +02:00
Pieter Wuille 3231676bf9 10x26 field implementation 2013-04-02 00:10:14 +02:00
Pieter Wuille da09a2d426 Makefile tweaks 2013-04-01 12:49:54 +02:00
Pieter Wuille ff29b85510 move constants in field/group 2013-04-01 12:26:21 +02:00
Pieter Wuille 39481533e1 Small fix 2013-04-01 11:34:48 +02:00
Pieter Wuille eb0be8eec6 Final step in converting to C 2013-04-01 07:52:58 +02:00
Pieter Wuille d41e93a5e2 Fifth step in converting to C: ecdsa 2013-04-01 07:21:05 +02:00
Pieter Wuille b1483f874c Fourth step in converting to C: ecmult 2013-04-01 06:29:30 +02:00
Pieter Wuille f11ff5be70 Third step in converting to C: group 2013-03-31 17:02:52 +02:00
Pieter Wuille d73bad33e8 Merge pull request #7 from TheBlueMatt/master
Add JNI wrapper
2013-03-30 22:02:38 -07:00
Matt Corallo b5efbe5891 Add JNI wrapper for org.bitcoin.NativeSecp256k1 (bitcoinj)
This isnt as optimal as it could be, but its also a very simple API
which is nice.
2013-03-31 01:01:08 -04:00
Matt Corallo 1662f086c7 Compile with -fPIC so that we can build shared libraries. 2013-03-31 00:55:06 -04:00
Pieter Wuille 661d7b06c1 Init/free field constant 2013-03-31 06:53:40 +02:00
Pieter Wuille 254327e49a Begin group C interface + start/stop 2013-03-31 06:36:03 +02:00
Pieter Wuille b3e15b5b19 Remove num_builtin.h; it wasn't complete 2013-03-31 05:22:21 +02:00
Pieter Wuille 20c4d7ce9b Bugfix: secp256k1_fe_inv_var correct output 2013-03-31 05:17:53 +02:00
Pieter Wuille 2d93809255 Source tree reorganization 2013-03-31 05:03:27 +02:00
Pieter Wuille 938d3c27aa Split 5x52 inner implementations 2013-03-31 04:37:15 +02:00
Pieter Wuille 59e038dc11 Use variable-time fe_inv in group 2013-03-31 04:17:44 +02:00
Pieter Wuille fba1d58d57 Switch num/field to extern C; small fixes 2013-03-31 03:46:01 +02:00
Pieter Wuille f6ec29d956 Merge pull request #9 from sipa/cify
Second step in converting to C: field
2013-03-30 18:11:01 -07:00
Pieter Wuille 910d0de4e4 Second step in converting to C: field 2013-03-31 03:06:16 +02:00
Pieter Wuille e6d142a8dc Move 5x52 specific code to field_5x52 2013-03-30 21:49:52 +01:00
Pieter Wuille 16fbc0f281 Merge pull request #6 from PSYCPU/asm
Solved register save/restore bug
2013-03-30 13:27:18 -07:00
Pieter Wuille 39db881543 Merge pull request #8 from sipa/cify
First step in converting to C: num
2013-03-30 13:24:45 -07:00
Pieter Wuille 4adf6b2a32 First step in converting to C: num 2013-03-30 21:23:06 +01:00
Diederik Huys 47fdb56d30 Solved register save/restore bug 2013-03-27 23:04:38 +01:00
Pieter Wuille 21b74c7e5f Merge pull request #5 from PSYCPU/asm
Port to more generally used YASM assembler
2013-03-27 07:20:41 -07:00
Diederik Huys fa17bab40d Port to more generally used YASM assembler 2013-03-27 14:28:01 +01:00
Pieter Wuille 9e039dda47 Merge pull request #4 from PSYCPU/asm
Asm
2013-03-26 16:44:45 -07:00
Diederik Huys d9137bb2d8 Comments 2013-03-27 00:37:08 +01:00