Jochen Hoenicke
7e98c02afd
Added comments to the tricky algorithms.
...
Added invariants for bn_multiply and bn_inverse.
Explain that bn_multiply and bn_fast_mod doesn't work for
an arbitrary modulus. The modulus must be close to 2^256.
2015-03-09 12:06:46 +01:00
Pavol Rusnak
03a8925e0f
rename BN_PRINT define to USE_BN_PRINT
2014-07-07 21:24:10 +02:00
Pavol Rusnak
019d779a94
Revert "Revert "add more precomputation to ecdsa signing""
...
This reverts commit 3747ba4323
.
2014-07-03 10:09:45 +02:00
Pavol Rusnak
3747ba4323
Revert "add more precomputation to ecdsa signing"
...
This reverts commit 06dd166a82
.
2014-07-03 01:18:00 +02:00
Pavol Rusnak
612f5ab050
fix copyright headers
2014-05-22 20:54:58 +02:00
Pavol Rusnak
06dd166a82
add more precomputation to ecdsa signing
2014-05-15 17:11:26 +02:00
Jan Pochyla
67eb76fd1b
llu -> ull for MSVC compatibility
2014-02-15 15:57:41 +01:00
Pavol Rusnak
2e4ec7fe0a
introduce ecdsa_address_to_hash160
2014-01-30 20:34:05 +01:00
Pavol Rusnak
8423c7abfd
add check that pub.y != res.y
2014-01-04 17:39:37 +01:00
Pavol Rusnak
9205c0d952
use canonical signatures (if S > Order/2: S = Order - S)
2013-10-08 14:06:48 +02:00
Pavol Rusnak
678e5b1af2
use #if instead of #ifdef for conditional macros
2013-10-03 17:32:27 +02:00
Pavol Rusnak
f4f246f3d7
optimize computations
2013-09-27 15:42:52 +02:00
Pavol Rusnak
7ed18947ba
simplify divmod58
2013-09-25 12:39:23 +02:00
Pavol Rusnak
74a5b04b81
verify now supports compressed keys
2013-09-24 18:48:46 +02:00
Pavol Rusnak
638cf2310b
cleanup
2013-09-20 21:49:17 +02:00
Pavol Rusnak
92f070498f
add function for computing addresses
2013-09-20 17:13:24 +02:00
Pavol Rusnak
1fda6fe339
add bn_zero, bn_bits, bn_lshift, bn_rshift, bn_normalize to bignum
2013-09-19 02:54:10 +02:00
Pavol Rusnak
afc9bcfe30
implement bip32 - https://en.bitcoin.it/wiki/BIP_0032
2013-09-12 21:20:03 +02:00
Pavol Rusnak
07d1c22730
refactor code -> bignum.c/h
2013-09-12 03:18:35 +02:00