commit | a4009bf6d51f24baf6d6b6eb355c1456743c28ba | [log] [tgz] |
---|---|---|
author | Ken MacKay <ken@kmackay.local> | Sat Apr 26 14:29:30 2014 -0700 |
committer | Ken MacKay <ken@kmackay.local> | Sat Apr 26 14:29:30 2014 -0700 |
tree | 9915dd30b4a886b94f74964bd9918a13ffc4c605 | |
parent | 7d7a4c86d69858da4e602c9c0266fc43260ac66b [diff] |
Fix avr asm constraints.
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).