25 Commits

Author SHA1 Message Date
Ken MacKay 6e9241793f Fix for #113 2020-10-07 12:27:10 -07:00
Ken MacKay 601bd11062 Fix for #111 2017-06-19 18:52:33 -07:00
Ken MacKay 467c49e7cf Add fast square asm for AVR (#50) 2016-01-12 21:22:01 -08:00
Ken MacKay 39bedb17a2 Fast AVR asm mmod is for secp256k1 (#50) 2016-01-07 23:21:33 -08:00
Ken MacKay f870194aae Add fast multiply asm for AVR (#50) 2016-01-07 23:13:58 -08:00
Ken MacKay 12d16b6b67 Clean up some header files. 2015-10-12 21:51:39 -07:00
Ken MacKay 1affc1b75c Add AVR asm implementations for runtime curve selection.
Fast mult/square are not yet supported.
2015-10-12 21:29:57 -07:00
Ken MacKay 69744ae539 Added uECC_generate_random_int(), and made uECC_vli_cmp() constant-time. 2015-10-12 21:29:56 -07:00
Ken MacKay 74f6d2d9d7 Directly expose vli functions if uECC_ENABLE_VLI_API != 0
Added a header file for those functions as well.
2015-10-12 21:29:56 -07:00
Ken MacKay c57f52422b Add AVR fast multiply/square for secp224r1. 2015-06-28 22:06:58 -07:00
Evgeni Margolis ac89ddca67 Added support for new secp224r1 curve. Added test to verify uECC_compress() and uECC_decompress() functions. 2015-06-28 15:02:45 -07:00
Ken MacKay 400b453176 Update coding style. 2015-06-12 22:53:38 -07:00
Ken MacKay dd195a17ac Add const qualifier where appropriate. 2015-04-25 15:42:19 -07:00
Ken MacKay 5b6724c5f1 Remove unnecessary zero test for a slight speed improvement. 2014-05-17 22:29:32 -07:00
Ken MacKay d172e28c85 Fix build error. 2014-05-17 17:30:49 -07:00
Ken MacKay d2737ea21c Add fast asm version of vli_mmod_fast for secp256k1 2014-05-16 21:07:44 -07:00
Ken MacKay 39583e1fc0 Add unrolled avr asm square() function for 192 and 256-bit curves. 2014-05-14 07:46:44 -07:00
Ken MacKay 95becf0327 Add fast multiplication for 192-bit and 256-bit curves. 2014-05-07 22:36:06 -07:00
Ken MacKay 3f6299a66d Added 'small' AVR asm version of vli_square(). 2014-04-26 23:01:38 -07:00
Ken MacKay 649f1e2d1b Fix some inline asm things. 2014-04-26 23:01:12 -07:00
Ken MacKay a4009bf6d5 Fix avr asm constraints. 2014-04-26 14:29:30 -07:00
Ken MacKay aa6fcf2be4 Added asm version of vli_mult for AVR. 2014-04-24 23:25:22 -07:00
Ken MacKay 6044e911ae Use 'uECC_' prefix for everything to avoid conflicts with other libraries. (Fix for #1). 2014-04-14 22:09:57 -07:00
Ken MacKay 938ea44f22 Added code for 32-bit and 64-bit platforms. Added ECDSA implementation (not supported for secp160r1 yet). 2014-03-25 21:45:18 -07:00
Ken MacKay 6038323cdb Code cleanup and rearranging things for future work. Added support for 192 and 256-bit curves. 2014-03-19 21:26:23 -07:00