Commit Graph

75 Commits (6a856479a846d83a22d71571329c2c9a5e68c9fe)
 

Author SHA1 Message Date
Pavol Rusnak 6a856479a8 introduce point_multiply
11 years ago
Pavol Rusnak fc144587e6 introduce ecdsa_verify_digest
11 years ago
Pavol Rusnak 8aaebe761b introduce uncompress_coords
11 years ago
Pavol Rusnak 81f462a5c5 add ecdsa_sig_to_der
11 years ago
Pavol Rusnak 73489fbd33 split signing into ecdsa_sign_digest and ecdsa_sign/ecdsa_sign_double
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 e681e2b7ae bip39: pbkdf2 rounds 4096 -> 2048
11 years ago
Pavol Rusnak 8423c7abfd add check that pub.y != res.y
11 years ago
Pavol Rusnak 3589cf5cbf use 4096 pbkdf2 rounds for bip39
11 years ago
Pavol Rusnak 97067c918e extract some pbkdf2 constants into macros
11 years ago
Pavol Rusnak 352bc42be2 use PBKDF2 for BIP39, add unit tests
11 years ago
Pavol Rusnak 353606e2df add hdnode_coin_version to be able to set coin version from outside
11 years ago
Pavol Rusnak 02adc15ec9 use fixed param size for mnemonic function
11 years ago
Pavol Rusnak 6b66f29c3b use fixed block size (128-bit) for AES again
11 years ago
Pavol Rusnak e04ec2a831 add check to mnemonic_from_data as well
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 9da3b35962 extract xprv_fill_public method
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 a439d8674d small cosmetic changes
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 52485b9008 define BN_PRINT if not defined
11 years ago
Pavol Rusnak 946c23e2cf small readme update
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 f87e706407 add define for RFC6979
11 years ago
Pavol Rusnak 678e5b1af2 use #if instead of #ifdef for conditional macros
11 years ago
Pavol Rusnak 3d163fc29b move speed-stm32 to trezor repo
11 years ago
Pavol Rusnak 1691d5cc8c small cleanup
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 7ed18947ba simplify divmod58
11 years ago
Pavol Rusnak 74a5b04b81 verify now supports compressed keys
11 years ago
Pavol Rusnak dfdcdfa044 alter readme
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
Pavol Rusnak 2df62d4877 use unit tests via Check instead of small test programs
11 years ago
Pavol Rusnak 638cf2310b cleanup
11 years ago