Commit Graph

151 Commits (795579cbacb5e4bd072d7cef2a2638f1d44c2d0d)
 

Author SHA1 Message Date
Pavol Rusnak 795579cbac invert pby when normalizing S during signing
10 years ago
Pavol Rusnak 89a7d7797b replace base58 implementation
10 years ago
Pavol Rusnak c6ca89a850 simplify check in hdnode_from_xpub
10 years ago
Pavol Rusnak 10a92c3c62 use const in hdnode_from_* methods
10 years ago
Pavol Rusnak b4cdba8489 export pby from ecdsa_sign functions
10 years ago
Pavol Rusnak 9469a64a0a use bn_is_zero and bn_is_equal where possible
10 years ago
Pavol Rusnak df3606dd5e introduce ecdsa_get_address_raw
10 years ago
Pavol Rusnak c5d9b2ea2f remove forgotten declaration
10 years ago
Pavol Rusnak f6560c7d13 split pbkdf2 into pbkdf2_hmac_sha256 and pbkdf2_hmac_sha512
10 years ago
Pavol Rusnak ad8e618ed2 use $(CC) instead of gcc in Makefile
10 years ago
Pavol Rusnak 8820ae9873 add more checks for improbable cases; rework gui testing app
10 years ago
Pavol Rusnak b9ed9a9cd4 don't include aescpp.h
10 years ago
Pavol Rusnak 5315f490a0 don't use AES_NI nor VIA_ACE
10 years ago
Pavol Rusnak ffd2d69dd6 Merge pull request #12 from dllaurence/optional-tests
10 years ago
Dustin Laurence 6cd85668a3 Make test build optional in CMake
10 years ago
Pavol Rusnak 7570ea8c0c update CMakeLists.txt
10 years ago
Pavol Rusnak 24beac2cc0 Merge pull request #11 from dllaurence/cmake-tests
10 years ago
Pavol Rusnak 8f38acd48f Merge pull request #10 from dllaurence/fread-return
10 years ago
Dustin Laurence e0b083a0b0 Make CMakeLists.txt build tests
10 years ago
Dustin Laurence 3329b6b6aa Test fread return value
10 years ago
Pavol Rusnak bb73936959 use more warnings from trezor-mcu
10 years ago
Pavol Rusnak 03a8925e0f rename BN_PRINT define to USE_BN_PRINT
10 years ago
Pavol Rusnak 0fe1857513 normalize y^2 in pubkey validation
10 years ago
Pavol Rusnak b9d5896174 make pubkey validation optional, extract options to separate header
10 years ago
Pavol Rusnak 0c2f9fd6f9 Merge pull request #9 from hiviah/ecdsa_pubkey_validation
10 years ago
Ondrej Mikle b34516bc49 Removed unnessary point copy.
10 years ago
Ondrej Mikle 02048f88b5 Tests for public key validity check.
10 years ago
Ondrej Mikle 03fee34550 Validating of public key curve point.
10 years ago
Pavol Rusnak aa27534856 Merge pull request #8 from dllaurence/linux-build
10 years ago
Pavol Rusnak d3505ecb46 Merge pull request #7 from hiviah/ecdsa_arithmetic_fix
10 years ago
Ondrej Mikle 7fd81a1e0c Removed superfluous bn_mod, it's done now in point_add and point_double.
10 years ago
Ondrej Mikle 323da2d434 Keep results after point_add() and point_double() inside the finite field. Simplified point_is_negative_of().
10 years ago
Dustin Laurence 6f7bb6fb6b Add Makefile comments
10 years ago
Dustin Laurence 70da2c6be3 Add required libraries to build on Linux
10 years ago
Ondrej Mikle d827b2c862 Account for case when point.y == 0 when doubling.
10 years ago
Ondrej Mikle 6d61cefdb3 Removed test for point equality in ecdsa_verify_digest, point_add() already handles that.
10 years ago
Ondrej Mikle da6a09880d Handling of special cases in EC arithmetic.
10 years ago
Pavol Rusnak 82ed3f31db fix comparison of points
10 years ago
Pavol Rusnak abf7178319 add "small" switch to makefile
10 years ago
Pavol Rusnak eec5f7df15 fix bug in unoptimized branch of code
10 years ago
Pavol Rusnak 019d779a94 Revert "Revert "add more precomputation to ecdsa signing""
10 years ago
Pavol Rusnak 3747ba4323 Revert "add more precomputation to ecdsa signing"
10 years ago
Pavol Rusnak 3308cc62a6 Merge pull request #6 from hiviah/point_at_infinity
10 years ago
Ondrej Mikle 0ad302ea4e Hashing of secp256k1 pubkey recognizes point at infinity.
10 years ago
Pavol Rusnak e588906f81 fix static usage
10 years ago
Pavol Rusnak b16e36f10e rename aes_ctr_counter_inc to aes_ctr_cbuf_inc and move it to aes_modes.c
10 years ago
Pavol Rusnak 22b0dd2e62 fix warning in base58
10 years ago
Pavol Rusnak b91bb29ae9 remove brg_endian.h brg_types.h
10 years ago
Pavol Rusnak 99900eb323 update AES code to support different modes of operation, add unittests
10 years ago
Pavol Rusnak 322c06bf7b add simple gui qt utility
10 years ago