Commit Graph

51 Commits (03a8925e0f0789c2d26414dcddec7ba50cb20e38)

Author SHA1 Message Date
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
Ondrej Mikle 02048f88b5 Tests for public key validity check.
10 years ago
Pavol Rusnak eec5f7df15 fix bug in unoptimized branch of code
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 99900eb323 update AES code to support different modes of operation, add unittests
10 years ago
Pavol Rusnak 5e9cd15527 use new base58 code for address functions, add function for obtaining wif
10 years ago
Pavol Rusnak 612f5ab050 fix copyright headers
10 years ago
Pavol Rusnak c1140e071e added deserialization
10 years ago
Pavol Rusnak 44116b8a74 make serialize api more friendly
10 years ago
Pavol Rusnak c08bbfa58e fix last commit
10 years ago
Pavol Rusnak c1dc507189 add hdnode serialization function
10 years ago
Pavol Rusnak 94d4a3733e fix typos
10 years ago
Pavol Rusnak e827517591 add mnemonic_check function
11 years ago
Pavol Rusnak 393c298c35 add progress_callback to mnemonic/pbkdf2 functions
11 years ago
Pavol Rusnak d5e1ff8be8 remove version_byte and address from bip32
11 years ago
Pavol Rusnak 8c47b572df new test to compare private and public branch of bip32
11 years ago
Pavol Rusnak 18dea22213 get rid of bip32 versions, it's a mess :(
11 years ago
Pavol Rusnak d0e152a088 replace SHA256/SHA512 prefix with sha256/sha512 (OpenSSL clash)
11 years ago
Pavol Rusnak 1034b28f90 use both private and public bip32 versions
11 years ago
Pavol Rusnak 50fb43127f use -Wextra
11 years ago
Pavol Rusnak d433bcfa10 fix ecdsa_sig_to_der
11 years ago
Pavol Rusnak 81f462a5c5 add ecdsa_sig_to_der
11 years ago
Pavol Rusnak a40a077613 rework ecdsa_address_to_hash160 into ecdsa_address_decode
11 years ago
Pavol Rusnak 2e4ec7fe0a introduce ecdsa_address_to_hash160
11 years ago
Pavol Rusnak 7dc057c903 add testcases for address generation
11 years ago
Pavol Rusnak c0ee25c851 don't use implicit versions in bip32
11 years ago
Pavol Rusnak 8764a03453 compute fingerprints
11 years ago
Pavol Rusnak ed7e2e5058 implement public child key derivation
11 years ago
Pavol Rusnak 3589cf5cbf use 4096 pbkdf2 rounds for bip39
11 years ago
Pavol Rusnak 352bc42be2 use PBKDF2 for BIP39, add unit tests
11 years ago
Pavol Rusnak 6b66f29c3b use fixed block size (128-bit) for AES again
11 years ago
Pavol Rusnak 6939275362 use TREZOR as passphrase to check protection
11 years ago
Pavol Rusnak 1c9046b66d reworked bip39 including tests
11 years ago
Pavol Rusnak 150c770e4e xprvnode -> hdnode, add hdnode_from_pub function
11 years ago
Pavol Rusnak b14ce58df7 rename xprv struct to XprvNode
11 years ago
Pavol Rusnak 42da580ce8 bip39 implementation with unit tests
11 years ago
Pavol Rusnak 9308fddb7f replace blowfish with rijndael
11 years ago
Pavol Rusnak 69a88a28a8 simplify rfc6979 tests
11 years ago
Pavol Rusnak 0fc4ad0976 move declaration
11 years ago
Pavol Rusnak 99565b3130 fix blowfish. add unit tests for blowfish
11 years ago
Pavol Rusnak 47cb0fefce renamed to trezor-crypto, modified readme
11 years ago
Pavol Rusnak 9205c0d952 use canonical signatures (if S > Order/2: S = Order - S)
11 years ago
Pavol Rusnak 7e41c2a568 add blowfish algo with tests
11 years ago
Pavol Rusnak e19f7cd2e5 add more rfc6979 test vectors by fpgaminer
11 years ago
Pavol Rusnak 71ff1c5124 replace infinite loops with loops with counters
11 years ago
Pavol Rusnak f4f246f3d7 optimize computations
11 years ago
Pavol Rusnak 74a5b04b81 verify now supports compressed keys
11 years ago
Pavol Rusnak 896905c5c8 remove der encoding, introduce 33/65 bytes pubkeys, 64 bytes signature
11 years ago
Pavol Rusnak 58a65d9cd7 move speed tests to unit testing suite
11 years ago