Commit Graph

81 Commits

Author SHA1 Message Date
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
Diederik Huys 1d8e4308dc Small fix for ExSetSquare 2013-03-27 00:37:08 +01:00
Pieter Wuille af073e29e4 make assembly version optional 2013-03-26 01:43:22 +01:00
Diederik Huys 37c4ab156d x86_64 specific assembly version of field code 2013-03-26 01:01:04 +01:00
Pieter Wuille 0cd6372fe8 added TODO 2013-03-24 10:43:32 +01:00
CodeShark bbc0684cbb Merge pull request #3 from CodeShark/no_short_circuit_eval
Removed short-circuit evaluation potential.
2013-03-20 21:05:52 -07:00
Eric Lombrozo d41220b301 Removed short-circuit evaluation potential. 2013-03-20 19:04:40 -07:00
Pieter Wuille bf12fcc060 Merge pull request #2 from CodeShark/master
A ULL suffix was missing on an integer constant.
2013-03-20 17:59:36 -07:00
Eric Lombrozo 39e40a4089 Added ULL suffix to integer constant. 2013-03-20 17:56:38 -07:00
Pieter Wuille 3c5e388798 Merge remote-tracking branch 'codeshark/master'
Add a constant-time Normalize().
2013-03-21 01:32:11 +01:00
Pieter Wuille 8a926ee91f Make Field::Normalize explicit 2013-03-21 01:10:30 +01:00
Eric Lombrozo 8803181c61 Added constant time methods to FieldElem class. 2013-03-19 10:34:25 -07:00
Eric Lombrozo b358450114 First cast the conditional to an int64 so it works on 32-bit platforms. 2013-03-18 07:31:33 -07:00
Eric Lombrozo aee59e3e5b Added constant time Normalize operation to FieldElem class. 2013-03-17 23:59:28 -07:00
Pieter Wuille 0a07e62f6f add signing 2013-03-18 02:41:01 +01:00