57 Commits

Author SHA1 Message Date
Ken MacKay 03531d50a2 Add a comment indicating the copyright and license to each source file. 2014-04-22 22:05:19 -07:00
Ken MacKay bcc251667f Simplify division function a bit. 2014-03-10 07:31:24 -07:00
Ken MacKay 6da9ed4e77 Add missing type. (#7) 2014-03-10 07:29:43 -07:00
Ken MacKay a503f5516b Fix an issue where information about k was leaked during ECDSA. (#6) 2014-03-02 23:07:40 -08:00
Ken MacKay 567e347051 Fix shadowed variable. 2014-02-12 21:35:43 -08:00
Ken MacKay 41071f442e This way of doing the curve #defines seems nicer. 2014-01-27 07:41:10 -08:00
Ken MacKay d8d73c3485 Fix link to easy-ecc. 2014-01-26 22:27:36 -08:00
Ken MacKay 3969cd4826 Added note about secp256k1 support. 2014-01-26 22:18:56 -08:00
Ken MacKay 7bb1ccc4c9 Implemented support for secp256k1 (issue #4). 2014-01-26 22:00:01 -08:00
Ken MacKay ed3f5967cc Fixed integer overflow when you use a very small scalar in point multiplication. 2013-11-30 16:32:41 -08:00
Ken MacKay 64d364c8f5 Fixed emk build issue. 2013-11-30 16:31:53 -08:00
Ken MacKay 6c13203965 Prevent any potential issues due to sign extension (which could occur on platforms where int is 16 bits). 2013-10-01 10:45:08 -07:00
Ken MacKay f9ae23e4b4 Added link to ecc64. 2013-08-05 14:26:49 -07:00
Ken MacKay 858b1765ea Fixed Makefile to not give an error when cleaning if files were missing. 2013-08-05 11:39:30 -07:00
Ken MacKay 693cb4fc21 Fixed a bug in the secp384r1 code. The carry bits were getting put into the wrong place, which would result in incorrect values in about 1/2^32 of cases. 2013-07-25 21:53:53 -07:00
Ken MacKay 37fe7a2e08 Added point compression and decompression functions (for issue #2). 2013-07-08 23:31:59 -07:00
Ken MacKay ac0d7a3fab Changed the conversion function names. Added usage note to the read me. 2013-06-30 11:11:39 -07:00
Ken MacKay abe93b0b75 Added functions for conversion to and from standard octet representation for integers. 2013-06-30 11:01:13 -07:00
Ken MacKay 033a4513d1 Stray tabs to spaces. 2013-06-10 22:27:40 -07:00
Ken MacKay ca9b365f24 Changed point multiplication algorithm to be resistant to side-channel attacks. 2013-06-10 22:26:36 -07:00
Ken MacKay 0b74c9c565 Added license to README. 2013-06-07 10:52:59 -07:00
Ken MacKay d6941705b2 Adding license information. 2013-06-07 10:50:17 -07:00
Ken MacKay c43bd453d1 Added note about function documentation. 2013-06-06 21:46:38 -07:00
Ken MacKay 5fc2f3b567 Better formatting and spelling. 2013-06-06 21:40:45 -07:00
Ken MacKay 44d8dcc202 Added stack usage information. 2013-06-06 21:36:03 -07:00
Ken MacKay 3fa3e81da7 Fixed verify_ecdsa printing. 2013-06-06 21:35:54 -07:00
Ken MacKay 3ac93d3832 Removed unnecessary double. 2013-06-06 21:35:37 -07:00
Ken MacKay e84613f77d Added Makefile for makekeys. 2013-06-05 23:11:20 -07:00
Ken MacKay db4692c837 Removed raw results. 2013-06-05 23:11:08 -07:00
Ken MacKay c7e5e24e44 Updated docs a bit. 2013-06-05 23:11:00 -07:00
Ken MacKay f13c2ce25b Fixed table words. 2013-06-05 22:55:42 -07:00
Ken MacKay 6945498f26 Added predefined ECDSA stuff for other curves to the speed test. 2013-06-05 22:54:05 -07:00
Ken MacKay cf54aab3f5 Remove unnecessary declaration. 2013-06-05 22:53:45 -07:00
Ken MacKay ea7a8b68f7 Fixed curve_n for secp256r1. 2013-06-05 22:53:10 -07:00
Ken MacKay 2d164e5bcd Updated speed and size results. 2013-06-05 22:52:53 -07:00
Ken MacKay 57e237e207 Updated readme. 2013-06-04 23:26:35 -07:00
Ken MacKay f3e83d1fe7 Moved stuff around. 2013-06-04 23:17:08 -07:00
Ken MacKay f0ebb6c15f Fixed ARM asm 2013-06-03 18:45:45 -07:00
Ken MacKay 98d5b23c49 Cleaned up test programs. Added ECDSA timing results. 2013-06-01 22:39:18 -07:00
Ken MacKay 2d8a6e3856 Fixed constraints on inline asm. 2013-05-30 21:04:21 -07:00
Ken MacKay 8c5fc3146d Renamed files, added more function documentation comments, did new performance testing. 2013-05-28 23:51:12 -07:00
Ken MacKay 38c1caca3b Added optional Thumb and ARM/Thumb2 assembly code for addition, subtraction, multiplication, and squaring. 2013-05-27 22:35:32 -07:00
Ken MacKay eae4fc881a Fixed argument order error. 2013-05-27 22:33:58 -07:00
Ken MacKay 0d812d1de4 Made armtest code runnable on OS X. 2013-05-27 22:33:47 -07:00
Ken MacKay 3e1910ebfb Some formatting changes. 2013-05-24 00:02:05 -07:00
Ken MacKay c774993fac Reduced size and improved speed a bit. Also converted stray tabs to spaces. 2013-05-23 22:34:46 -07:00
Ken MacKay 339bc8060d Added secp384r1 support to the embedded test program. 2013-05-23 22:34:06 -07:00
Ken MacKay 115807c8ad Fixed 384-bit curve 2013-05-23 17:52:40 -07:00
Ken MacKay 90d985d57d Changing which curves are supported… secp160r1 is annoying. 2013-05-23 09:25:35 -07:00
Ken MacKay 4bf9500d11 Made ECDSA implementation better 2013-05-22 19:02:15 -07:00