Commit Graph

964 Commits

Author SHA1 Message Date
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
Pieter Wuille 607884fc11 Split headers/code 2013-03-16 15:51:55 +01:00
Pieter Wuille 5a437b06db Split field def/impl 2013-03-15 14:47:10 +01:00
Pieter Wuille d5f62719de remove Context interface... it doesn't help much 2013-03-14 01:20:10 +01:00
Pieter Wuille 7b292b8108 simple makefile 2013-03-13 23:42:39 +01:00
Pieter Wuille d1fdf30dcc num_openssl.h bugfixes 2013-03-13 00:28:37 +01:00
Pieter Wuille e3f741f1d4 validation bugfixes: validates main bitcoin chain 2013-03-12 00:39:29 +01:00
Pieter Wuille a6d68949c1 add header 2013-03-11 22:27:43 +01:00
Pieter Wuille 821113d425 maybe testable 2013-03-11 22:23:48 +01:00
Pieter Wuille e8c2a8ec9c bugfixes and num-based Field::Inverse 2013-03-11 03:09:07 +01:00
Pieter Wuille d8f05980e3 minimal 2013-03-11 01:40:29 +01:00
Pieter Wuille cd31bf9ad2 bugfix FieldElem::SetHex 2013-03-11 01:35:46 +01:00
Pieter Wuille 4e0ed53985 more tests 2013-03-11 01:19:24 +01:00
Pieter Wuille cbd3617ea1 some comments and more loops in test 2013-03-10 22:23:33 +01:00
Pieter Wuille 14b195ee65 fix tests 2013-03-10 21:41:54 +01:00
Pieter Wuille a41f32e69d num_gmp.h and begin tests 2013-03-10 21:25:32 +01:00
Pieter Wuille 852cbee819 small changes 2013-03-10 19:26:17 +01:00
Pieter Wuille c82e1eeead maybe ecdsa 2013-03-10 06:55:46 +01:00