Add ability to use a statically generated ecmult context.

This vastly shrinks the size of the context required for signing on devices with
memory-mapped Flash.

Tables are generated by the new gen_context tool into a header.
This commit is contained in:
Thomas Daede
2015-05-19 17:32:35 -07:00
parent 0cbc8600f3
commit fbecc38a89
9 changed files with 269 additions and 3 deletions

2
.gitignore vendored
View File

@@ -4,6 +4,7 @@ bench_verify
bench_recover
bench_internal
tests
gen_context
*.exe
*.so
*.a
@@ -28,6 +29,7 @@ build-aux/
*~
src/libsecp256k1-config.h
src/libsecp256k1-config.h.in
src/ecmult_static_context.h
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4