commit | 9fb63e34d4e4ce5550209b6563a8cc9057d96ba4 | [log] [tgz] |
---|---|---|
author | Ken MacKay <ken@kmackay.local> | Thu Apr 24 23:24:49 2014 -0700 |
committer | Ken MacKay <ken@kmackay.local> | Thu Apr 24 23:24:49 2014 -0700 |
tree | ecc2849f1a66597bcde5d6fca651ed3b547482c7 | |
parent | d6ad5b32c6912f97ba3ad41949a9b50ae9e95872 [diff] |
Fix compile error if asm_mult is defined but asm_square isn't.
A small ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors.
I recommend just copying (or symlink) uECC.h and uECC.c into your project. Then just #include "uECC.h"
to use the micro-ecc functions.
See uECC.h for documentation for each function.
uECC_ASM
is defined to uECC_asm_small
or uECC_asm_fast
), you must use the -fomit-frame-pointer
GCC option (this is enabled by default when compiling with -O1
or higher).uECC_ASM
defined to uECC_asm_fast
, you must have optimizations enabled (compile with -O1
or higher).