GreenAddress
3093576aa4
JNI library
...
Squashed and rebased. Thanks to @theuni and @faizkhan00 for doing
the majority of work here! Also thanks to @btchip for help with debugging
and review.
9 years ago
Pieter Wuille
83221ecb00
Add experimental features to configure
9 years ago
Gregory Maxwell
118cd8210f
Use explicit symbol visibility.
...
The use of static makes this somewhat redundant currently, though if
we later have multiple compilation units it will be needed.
This also sets the dllexport needed for shared libraries on win32.
9 years ago
Pieter Wuille
85e3a2cc08
Merge pull request #112
...
2b4cf41
Use pkg-config always when possible, with failover to manual checks for libcrypto (Luke Dashjr)
9 years ago
Pieter Wuille
9f443be086
Move pubkey recovery code to separate module
9 years ago
Pieter Wuille
9d96e362a5
Merge pull request #280
...
ed5334a
Update configure.ac to make it build on OpenBSD (mlmikael)
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
mlmikael
ed5334a7fe
Update configure.ac to make it build on OpenBSD
...
This update is to make libsecp256k1 build on OpenBSD (more specifically OpenBSD 5.7 with Autotools 2.69).
Without the "AM_PROG_CC_C_O" line in configure.ac, ./autogen.sh crashes with "Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'\nautoreconf-2.69: automake failed with exit status: 1".
9 years ago
Pieter Wuille
a83bb48068
Make ecmult static precomputation default
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
4bc273bd9c
Merge pull request #222
...
7c3771d
Disable overlength-strings warnings. (evoskuil)
10 years ago
evoskuil
7c3771dd0f
Disable overlength-strings warnings.
10 years ago
Pieter Wuille
ae55e850c7
Use faster byteswapping and avoid alignment-increasing casts.
10 years ago
Luke Dashjr
2b4cf416e7
Use pkg-config always when possible, with failover to manual checks for libcrypto
10 years ago
Gregory Maxwell
f735446c4d
Convert the rest of the codebase to C89.
...
Update build system to enforce -std=c89 -pedantic.
10 years ago
Pieter Wuille
7277fd76e2
Remove GMP field implementation
10 years ago
Pieter Wuille
1ba4a60a51
Configure options reorganization
10 years ago
Pieter Wuille
3c0f246e7e
Merge pull request #157
...
5190079
build: use subdir-objects for automake (Cory Fields)
10 years ago
Pieter Wuille
808dd9b3f5
Merge pull request #156
...
8336040
build: disable benchmark by default (Cory Fields)
10 years ago
Cory Fields
28ade27da1
build: nuke bashisms
10 years ago
Cory Fields
5190079e31
build: use subdir-objects for automake
10 years ago
Cory Fields
8336040f79
build: disable benchmark by default
10 years ago
Pieter Wuille
5f5a31fe0a
Merge pull request #149
...
056ad31
Really compile with -O3 by default (Pieter Wuille)
10 years ago
Pieter Wuille
056ad31064
Really compile with -O3 by default
10 years ago
Pieter Wuille
74ad63a9e5
Merge pull request #146
...
c88e2b8
Compile with -O3 by default (Pieter Wuille)
10 years ago
Cory Fields
1f46b006b7
build: fix __builtin_expect detection for clang
...
Using AC_CHECK_DECL, the generated test tries to cast the function to void.
Clang doesn't allow that for builtins.
10 years ago
Pieter Wuille
c88e2b8cca
Compile with -O3 by default
10 years ago
Pieter Wuille
67935050e1
Convert YASM code into inline assembly
10 years ago
Pieter Wuille
c35ff1ea44
Convert lambda splitter to pure scalar code.
...
This enables the use of the endomorphism optimization without bignum.
10 years ago
Pieter Wuille
597128d389
Make num optional
10 years ago
Pieter Wuille
d1502eb459
Add secp256k1_scalar_inverse_var which delegates to GMP
10 years ago
Cory Fields
e2274c58e6
build: osx: attempt to work with homebrew keg-only packages
10 years ago
Gregory Maxwell
a099073a7e
Enable warnings.
...
Wno-unused-function is used for the moment because of the checking
functions which are currently only used by VERIFY but are not (yet?)
ifdefed out in normal builds.
10 years ago
kiwigb
6fac238f03
Use same build template as bitcoin. Add bitcoin_secp.m4.
10 years ago
kiwigb
db72c181bb
Add autoreconf warnings. Replace obsolete AC_TRY_COMPILE.
...
Remove redundant checks (already done by LT_INIT).
10 years ago
Pieter Wuille
1d52a8b155
Implementations for scalar without data-dependent branches.
10 years ago
Cory Fields
53628757f3
warnings: enable quiet builds
10 years ago
Pieter Wuille
520ba3c921
Remove OpenSSL bignum implementation
10 years ago
Pieter Wuille
3ed6dfae69
Only use the libcrypto part of OpenSSL
10 years ago
Pieter Wuille
1c7fa133a6
Add VERIFY_CHECK/DEBUG_CHECK and use CHECK macros more
10 years ago
Cory Fields
3ab1178d54
build: grab full paths to host tools
...
This ensures that make will work even if PATH has changed, which is often the
case when cross-compiling.
Fixes cross-compiled builds when integrated into Bitcoin's repo.
10 years ago
Pieter Wuille
728554dfae
Merge pull request #18
...
4212f7d
packaging: add pkg-config file to gitignore (Cory Fields)
67a4765
packaging: fixup pkg-config (Cory Fields)
81b2fae
packaging: remove the --with-pkgconfigdir option (Cory Fields)
c7ee71f
add pkg-config support (Amir Taaki)
11 years ago
Pieter Wuille
5355746867
Merge pull request #17
...
a86f241
Add MacPorts default include/lib paths for OSX (Peter Dettman)
11 years ago
Peter Dettman
17eec032c8
Support 64bit_asm field on OSX
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
Peter Dettman
a86f241d08
Add MacPorts default include/lib paths for OSX
11 years ago
Luke Dashjr
282ebc6dbd
Fix build on x32
11 years ago
Cory Fields
6e7a6d479a
autotools: No need to link against libssl
11 years ago