Pieter Wuille
fea19e7bb7
Add contrib/lax_der_parsing.h
...
This shows a snippet of code to do lax DER parsing, without obeying to any
particular standard.
9 years ago
Gregory Maxwell
213aa67397
Do not force benchmarks to be statically linked.
...
Libtool will do the right thing and use whatever is available
based on --enable-shared/--enable-static.
This also means that some of the things we build actually
test the dynamic library.
9 years ago
Cory Fields
6da1446dcf
build: fix parallel build
9 years ago
Pieter Wuille
9f443be086
Move pubkey recovery code to separate module
9 years ago
Pieter Wuille
ff3a5dfc97
Merge pull request #284
...
e4ce393
build: fix hard-coded usage of "gen_context" (Cory Fields)
b8e39ac
build: don't use BUILT_SOURCES for the static context header (Cory Fields)
9 years ago
Pieter Wuille
a5a66c70b6
Add support for custom EC-Schnorr-SHA256 signatures
9 years ago
Andrew Poelstra
0739bbb6f0
Add ECDH module which works by hashing the output of ecmult_const
9 years ago
Andrew Poelstra
4401500060
Add constant-time multiply `secp256k1_ecmult_const` for ECDH
...
Designed with clear separation of the wNAF conversion, precomputation
and exponentiation (since the precomp at least we will probably want
to separate in the API for users who reuse points a lot.
Future work:
- actually separate precomp in the API
- do multiexp rather than single exponentiation
9 years ago
Cory Fields
e4ce393683
build: fix hard-coded usage of "gen_context"
...
The binary needs an extension on some platforms.
9 years ago
Cory Fields
b8e39ac5e4
build: don't use BUILT_SOURCES for the static context header
...
BUILT_SOURCES simply forces the header to be built first.
Use real dependencies instead. This fixes builds with dependency tracking
disabled where a real target is specified.
As a bonus, this also fixes the issue of gen_context and the header not being
rebuilt when gen_context.c is touched.
9 years ago
Gregory Maxwell
c37812f54c
Add gen_context src/ecmult_static_context.h to CLEANFILES to fix distclean.
9 years ago
Gregory Maxwell
76f67697ec
Fix build with static ecmult altroot and make dist.
...
Gen_context was unable to find the required headers without some
autotools fixups. Make dist was also broken without the extra
sources for the host side table builder utility.
9 years ago
Thomas Daede
fbecc38a89
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.
9 years ago
Pieter Wuille
039723d5da
Benchmarks for all internal operations
10 years ago
Pieter Wuille
bbd5ba7cfa
Use rfc6979 as default nonce generation function
10 years ago
Pieter Wuille
7277fd76e2
Remove GMP field implementation
10 years ago
Pieter Wuille
6558a26770
Make the benchmarks print out stats
10 years ago
Pieter Wuille
000bdf6dc3
Rename bench_verify to bench_recovery
10 years ago
Pieter Wuille
67935050e1
Convert YASM code into inline assembly
10 years ago
Cory Fields
e2274c58e6
build: osx: attempt to work with homebrew keg-only packages
10 years ago
Gregory Maxwell
861f9a59cc
field_gmp's negate doesn't need to use the magnitude argument.
10 years ago
kiwigb
6fac238f03
Use same build template as bitcoin. Add bitcoin_secp.m4.
10 years ago
kiwigb
f9aac5b034
Remove INCLUDES. Obsolete, appears unused anyway.
10 years ago
Pieter Wuille
1d52a8b155
Implementations for scalar without data-dependent branches.
10 years ago
Peter Dettman
e2d66a2c62
Fix build for 64bit field under OSX
...
- caused by 8881212ebc
- OSX's ar tool doesn't work for empty archives ("ar: no archive members specified")
- introduce COMMON_LIB variable; leave empty when not using asm
10 years ago
Pieter Wuille
fa5c13ff4c
Add bench_sign tool
10 years ago
Pieter Wuille
504c63d72a
Rename bench to bench_verify
10 years ago
Pieter Wuille
81dc171604
Merge pull request #79
...
ae2679b
Add bench_inv tool (Pieter Wuille)
10 years ago
Pieter Wuille
520ba3c921
Remove OpenSSL bignum implementation
10 years ago
Pieter Wuille
ae2679b6e4
Add bench_inv tool
10 years ago
Pieter Wuille
a9f5c8b875
Introduce secp256k1_scalar_t for future constant-time mod order operations
10 years ago
Pieter Wuille
e2f71f1efe
Move non-ECDSA operations from ecdsa to eckey
10 years ago
Pieter Wuille
949c1ebb5e
Split up ecmult and ecmult_gen entirely
10 years ago
Pieter Wuille
bae6a42be4
Make bench use external interface
10 years ago
Pieter Wuille
1c7fa133a6
Add VERIFY_CHECK/DEBUG_CHECK and use CHECK macros more
10 years ago
Pieter Wuille
8881212ebc
Make tests and bench just use asm directly instead of library
...
Thanks to Cory Fields for the suggestion.
10 years ago
Cory Fields
d40908763a
build: add autogen. How was this missing?
11 years ago
Cory Fields
81b2faebd4
packaging: remove the --with-pkgconfigdir option
...
It was not necessary and would only confuse packagers.
11 years ago
Amir Taaki
c7ee71f792
add pkg-config support
11 years ago
Pieter Wuille
920c243932
Merge pull request #7 from luke-jr/x32
...
Fix build on x32
11 years ago
Luke Dashjr
282ebc6dbd
Fix build on x32
11 years ago
Pieter Wuille
11ab562203
Move implementations from impl/*.h to *_impl.h
11 years ago
Cory Fields
78cd96b151
autotools: autotools'ify libsecp256k1
11 years ago