Commit Graph

32 Commits (62b8f845f28539df7b305664ae56ba57a8cbc44c)

Author SHA1 Message Date
Alex Beregszaszi 7e7e462be7 bignum: introduce bn_one
8 years ago
Alex Beregszaszi 8581614d66 bignum: introduce write uint32/uint64
8 years ago
Alex Beregszaszi 7956c2f2f1 bignum: implement bitcount
8 years ago
Alex Beregszaszi 29e82018cd bignum: rename bn_load_uint* to bn_read_uint*
8 years ago
Alex Beregszaszi 97454d9cbc bignum: use the compiler's built in memory copy for bn_copy
8 years ago
Alex Beregszaszi d061139da9 bignum: introduce load uint32/uint64
8 years ago
Alex Beregszaszi 339d2f44a9 bignum: introduce is_even/is_odd
8 years ago
Alex Beregszaszi dd25a2ee5a bignum: introduce copy
8 years ago
Alex Beregszaszi 62a0db8c4e bignum: introduce read/write_le
8 years ago
Pavol Rusnak d61a151900
add bn_divmod1000 including unit test
8 years ago
Jochen Hoenicke f93b003cbc Extended comments, new function bn_add, a bug fix.
9 years ago
Jochen Hoenicke f2081d88d8 New jacobian_add that handles doubling.
9 years ago
Jochen Hoenicke 6ba4d288b0 Cleaned up bignum code
9 years ago
Roman Zeyde 7c58fc11a4 Add support for NIST256P1 elliptic curve
9 years ago
Jochen Hoenicke 56f5777b68 Refactored code for point doubling.
9 years ago
Jochen Hoenicke d4788bddfd Added modulus to bn_subtractmod
9 years ago
Pavol Rusnak e37ba822e6 bn_substract -> bn_subtractmod, bn_substract_noprime -> bn_subtract
9 years ago
Pavol Rusnak 03a8925e0f rename BN_PRINT define to USE_BN_PRINT
10 years ago
Pavol Rusnak b9d5896174 make pubkey validation optional, extract options to separate header
10 years ago
Pavol Rusnak 612f5ab050 fix copyright headers
10 years ago
Pavol Rusnak 2e4ec7fe0a introduce ecdsa_address_to_hash160
11 years ago
Pavol Rusnak 8423c7abfd add check that pub.y != res.y
11 years ago
Pavol Rusnak 52485b9008 define BN_PRINT if not defined
11 years ago
Pavol Rusnak 9205c0d952 use canonical signatures (if S > Order/2: S = Order - S)
11 years ago
Pavol Rusnak 678e5b1af2 use #if instead of #ifdef for conditional macros
11 years ago
Pavol Rusnak 7ed18947ba simplify divmod58
11 years ago
Pavol Rusnak 74a5b04b81 verify now supports compressed keys
11 years ago
Pavol Rusnak 638cf2310b cleanup
11 years ago
Pavol Rusnak 92f070498f add function for computing addresses
11 years ago
Pavol Rusnak 1fda6fe339 add bn_zero, bn_bits, bn_lshift, bn_rshift, bn_normalize to bignum
11 years ago
Pavol Rusnak afc9bcfe30 implement bip32 - https://en.bitcoin.it/wiki/BIP_0032
11 years ago
Pavol Rusnak 07d1c22730 refactor code -> bignum.c/h
11 years ago