llamasoft
7d893f4980
Fix secp256k1_fe_inv_all_var parameter order
...
Rearranged secp256k1_fe_inv_all_var parameters so length is after array.
Text editor removed some trailing whitespaces.
8 years ago
Pieter Wuille
c5b32e16c4
Merge #405 : Make secp256k1_fe_sqrt constant time
...
926836a
Make secp256k1_fe_sqrt constant time (Pieter Wuille)
8 years ago
Pieter Wuille
926836ad36
Make secp256k1_fe_sqrt constant time
8 years ago
Pieter Wuille
e2a8e92125
Merge #404 : Replace 3M + 4S doubling formula with 2M + 5S one
...
8ec49d8
Add note about 2M + 5S doubling formula (Andrew Poelstra)
8 years ago
Andrew Poelstra
8ec49d8a5a
Add note about 2M + 5S doubling formula
8 years ago
Pieter Wuille
5a91bd768f
Merge #400 : A couple minor cleanups
...
ac01378
build: add -DSECP256K1_BUILD to benchmark_internal build flags (Andrew Poelstra)
a6c6f99
Remove a bunch of unused stdlib #includes (Andrew Poelstra)
8 years ago
Andrew Poelstra
ac01378c87
build: add -DSECP256K1_BUILD to benchmark_internal build flags
...
gcc 6 will warn about our non-null checks when SECP256K1_BUILD
our NONNULL marker is nontrivial. This occurs unless SECP256K1_BUILD
is set, which we had forgotten to do for the internal benchmarks,
which compile directly against the library instead of linking.
8 years ago
Andrew Poelstra
a6c6f994b5
Remove a bunch of unused stdlib #includes
8 years ago
Pieter Wuille
65285a63ee
Merge #403 : configure: add flag to disable OpenSSL tests
...
a9b2a5d
configure: add flag to disable OpenSSL tests (Andrew Poelstra)
8 years ago
Andrew Poelstra
a9b2a5d850
configure: add flag to disable OpenSSL tests
...
OpenSSL messes up valgrind.
8 years ago
Pieter Wuille
b3401237be
Merge #402 : Add support for testing quadratic residues
...
e6e9805
Add function for testing quadratic residue field/group elements. (Pieter Wuille)
efd953a
Add Jacobi symbol test via GMP (Peter Dettman)
8 years ago
Pieter Wuille
e6e9805fc4
Add function for testing quadratic residue field/group elements.
8 years ago
Peter Dettman
efd953a7a7
Add Jacobi symbol test via GMP
...
Also add native Jacobi symbol test (Andrew)
Rebased-by: Andrew Poelstra
Rebased-by: Pieter Wuille
8 years ago
Pieter Wuille
fa36a0ddb8
Merge #401 : ecmult_const: unify endomorphism and non-endomorphism skew cases
...
c6191fd
ecmult_const: unify endomorphism and non-endomorphism skew cases (Andrew Poelstra)
9 years ago
Andrew Poelstra
c6191fded8
ecmult_const: unify endomorphism and non-endomorphism skew cases
...
We now do a skew correction even without the endomorphism optimization,
which costs one additional group addition but unifies a lot of code.
9 years ago
Pieter Wuille
0b3e618a1c
Merge #378 : .gitignore build-aux cleanup
...
70141a8
Update .gitignore (upgradeadvice)
9 years ago
Pieter Wuille
6042217d5d
Merge #384 : JNI: align shared files copyright/comments to bitcoinj's
...
6ceea2c
align shared files copyright/comments to bitcoinj's (GreenAddress)
9 years ago
Pieter Wuille
24ad20f75b
Merge #399 : build: verify that the native compiler works for static precomp
...
aa0b1fd
build: verify that the native compiler works for static precomp (Cory Fields)
9 years ago
Pieter Wuille
b3be8521e6
Merge #398 : Test whether ECDH and Schnorr are enabled for JNI
...
eee808d
Test whether ECDH and Schnorr are enabled for JNI (Pieter Wuille)
9 years ago
Cory Fields
aa0b1fd149
build: verify that the native compiler works for static precomp
9 years ago
Pieter Wuille
eee808d809
Test whether ECDH and Schnorr are enabled for JNI
9 years ago
Pieter Wuille
7b0fb18b75
Merge #366 : ARM assembly implementation of field_10x26 inner (rebase of #173 )
...
001f176
ARM assembly implementation of field_10x26 inner (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
001f1763c7
ARM assembly implementation of field_10x26 inner
...
Rebased-by: Pieter Wuille <pieter.wuille@gmail.com>
9 years ago
Pieter Wuille
0172be92e5
Merge #397 : Small fixes for sha256
...
3f8b78e
Fix undefs in hash_impl.h (Kirill Fomichev)
2ab4695
Fix state size in sha256 struct (Kirill Fomichev)
9 years ago
Kirill Fomichev
3f8b78e5e9
Fix undefs in hash_impl.h
9 years ago
Kirill Fomichev
2ab46954cb
Fix state size in sha256 struct
9 years ago
Pieter Wuille
6875b013e6
Merge #386 : Add some missing `VERIFY_CHECK(ctx != NULL)`
...
bcc4881
Add some missing `VERIFY_CHECK(ctx != NULL)` for functions that use `ARG_CHECK` (Andrew Poelstra)
9 years ago
Pieter Wuille
2c52b5d244
Merge #389 : Cast pointers through uintptr_t under JNI
...
47b9e78
Cast pointers through uintptr_t under JNI (Jon Griffiths)
9 years ago
Pieter Wuille
43097a44ef
Merge #390 : Update bitcoin-core GitHub links
...
faa2a11
Update bitcoin-core GitHub links (MarcoFalke)
9 years ago
Pieter Wuille
31c9c12130
Merge #391 : JNI: Only call ecdsa_verify if its inputs parsed correctly
...
a40c701
JNI: Only call ecdsa_verify if its inputs parsed correctly (Jon Griffiths)
9 years ago
Pieter Wuille
1cb2302cad
Merge #392 : Add testcase which hits additional branch in secp256k1_scalar_sqr
...
093a497
Add testcase which hits additional branch in secp256k1_scalar_sqr (Jonas Nick)
9 years ago
Pieter Wuille
d2ee340561
Merge #388 : bench_ecdh: fix call to secp256k1_context_create
...
f36f9c6
bench_ecdh: fix call to secp256k1_context_create (Andrew Poelstra)
9 years ago
Jonas Nick
093a497ac9
Add testcase which hits additional branch in secp256k1_scalar_sqr
9 years ago
Jon Griffiths
a40c701c83
JNI: Only call ecdsa_verify if its inputs parsed correctly
...
Return 0 otherwise instead of calling it with bad parameters.
9 years ago
MarcoFalke
faa2a11ce5
Update bitcoin-core GitHub links
9 years ago
Jon Griffiths
47b9e78e07
Cast pointers through uintptr_t under JNI
...
Fixes warnings of the form "warning: cast to pointer from integer of
different size" when building on 32 bit platforms. This is the same
approach used for pointer conversions in the openjdk sources.
9 years ago
Andrew Poelstra
f36f9c64bb
bench_ecdh: fix call to secp256k1_context_create
9 years ago
Andrew Poelstra
bcc4881d3a
Add some missing `VERIFY_CHECK(ctx != NULL)` for functions that use `ARG_CHECK`
...
The `ARG_CHECK` macro requires that a variable called `ctx` exist and be
non-NULL. However, in several functions that do not use the context variable,
we simply ignore it with `(void)ctx`. Replace these with explicit checks for
non-NULLness to avoid invalid memory accesses.
9 years ago
GreenAddress
6ceea2c527
align shared files copyright/comments to bitcoinj's
9 years ago
upgradeadvice
70141a85d0
Update .gitignore
...
Don't ignore everything under build-aux
9 years ago
Pieter Wuille
7b549b1abc
Merge #373 : build: fix x86_64 asm detection for some compilers
...
3f8fdfb
build: fix x86_64 asm detection for some compilers (Cory Fields)
9 years ago
Pieter Wuille
bc7c93c6cd
Merge #374 : Add note about y=0 being possible on one of the sextic twists
...
e72e93a
Add note about y=0 being possible on one of the sextic twists (Andrew Poelstra)
9 years ago
Pieter Wuille
e4570184ff
Merge #364 : JNI rebased
...
86e2d07
JNI library: cleanup, removed unimplemented code (GreenAddress)
3093576 JNI library (GreenAddress)
9 years ago
GreenAddress
86e2d07e4c
JNI library: cleanup, removed unimplemented code
9 years ago
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
bd2895fdd9
Merge pull request #371
...
e5a9047
[Trivial] Remove double semicolons (paveljanik)
9 years ago
Andrew Poelstra
e72e93ad9c
Add note about y=0 being possible on one of the sextic twists
9 years ago
Cory Fields
3f8fdfbec1
build: fix x86_64 asm detection for some compilers
...
I Noticed this on OSX with clang, though it likely happens elsewhere as well.
The result is disabled x86_64 asm.
Due to missing escaping, this $0 was interpreted as the function name
SECP_64BIT_ASM_CHECK, causing the compile-check to be broken on some compilers.
The actual check looked like this:
int main()
{
uint64_t a = 11, tmp;
__asm__ __volatile__("movq SECP_64BIT_ASM_CHECKx100000000,%1; mulq %%rsi" : "+a"(a) : "S"(tmp) : "cc", "%rdx");
return 0;
}
It seems even more odd that it compiled anywhere.
9 years ago
paveljanik
e5a904788e
[Trivial] Remove double semicolons
9 years ago
Pieter Wuille
c18b869e58
Merge pull request #360
...
83221ec
Add experimental features to configure (Pieter Wuille)
9 years ago