1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
Commit Graph

510 Commits

Author SHA1 Message Date
Pavol Rusnak
352bc42be2 use PBKDF2 for BIP39, add unit tests 2013-12-09 16:25:03 +01:00
Pavol Rusnak
353606e2df add hdnode_coin_version to be able to set coin version from outside 2013-11-28 02:47:00 +01:00
Pavol Rusnak
02adc15ec9 use fixed param size for mnemonic function 2013-11-28 00:53:09 +01:00
Pavol Rusnak
6b66f29c3b use fixed block size (128-bit) for AES again 2013-11-28 00:52:39 +01:00
Pavol Rusnak
e04ec2a831 add check to mnemonic_from_data as well 2013-11-26 01:29:06 +01:00
Pavol Rusnak
6939275362 use TREZOR as passphrase to check protection 2013-11-25 23:06:02 +01:00
Pavol Rusnak
1c9046b66d reworked bip39 including tests 2013-11-25 22:46:54 +01:00
Pavol Rusnak
150c770e4e xprvnode -> hdnode, add hdnode_from_pub function 2013-11-25 15:37:49 +01:00
Pavol Rusnak
9da3b35962 extract xprv_fill_public method 2013-11-08 16:02:48 +01:00
Pavol Rusnak
b14ce58df7 rename xprv struct to XprvNode 2013-11-08 12:44:11 +01:00
Pavol Rusnak
42da580ce8 bip39 implementation with unit tests 2013-11-08 02:02:16 +01:00
Pavol Rusnak
a439d8674d small cosmetic changes 2013-10-24 19:44:54 +02:00
Pavol Rusnak
9308fddb7f replace blowfish with rijndael 2013-10-10 14:58:59 +02:00
Pavol Rusnak
69a88a28a8 simplify rfc6979 tests 2013-10-08 22:59:36 +02:00
Pavol Rusnak
0fc4ad0976 move declaration 2013-10-08 21:07:53 +02:00
Pavol Rusnak
52485b9008 define BN_PRINT if not defined 2013-10-08 18:54:21 +02:00
Pavol Rusnak
946c23e2cf small readme update 2013-10-08 17:27:07 +02:00
Pavol Rusnak
99565b3130 fix blowfish. add unit tests for blowfish 2013-10-08 16:59:14 +02:00
Pavol Rusnak
47cb0fefce renamed to trezor-crypto, modified readme 2013-10-08 14:18:35 +02:00
Pavol Rusnak
9205c0d952 use canonical signatures (if S > Order/2: S = Order - S) 2013-10-08 14:06:48 +02:00
Pavol Rusnak
7e41c2a568 add blowfish algo with tests 2013-10-07 21:48:32 +02:00
Pavol Rusnak
f87e706407 add define for RFC6979 2013-10-03 18:19:30 +02:00
Pavol Rusnak
678e5b1af2 use #if instead of #ifdef for conditional macros 2013-10-03 17:32:27 +02:00
Pavol Rusnak
3d163fc29b move speed-stm32 to trezor repo 2013-10-01 18:16:15 +02:00
Pavol Rusnak
1691d5cc8c small cleanup 2013-10-01 18:08:33 +02:00
Pavol Rusnak
e19f7cd2e5 add more rfc6979 test vectors by fpgaminer 2013-10-01 16:45:26 +02:00
Pavol Rusnak
71ff1c5124 replace infinite loops with loops with counters 2013-09-27 15:55:55 +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
dfdcdfa044 alter readme 2013-09-23 21:15:25 +02:00
Pavol Rusnak
896905c5c8 remove der encoding, introduce 33/65 bytes pubkeys, 64 bytes signature 2013-09-23 21:13:44 +02:00
Pavol Rusnak
58a65d9cd7 move speed tests to unit testing suite 2013-09-22 15:05:59 +02:00
Pavol Rusnak
2df62d4877 use unit tests via Check instead of small test programs 2013-09-21 17:41:02 +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
65250325c4 add ripemd160 2013-09-16 01:32:56 +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
Pavol Rusnak
603acbd1be implement RFC 6979 2013-09-11 19:02:22 +02:00
Pavol Rusnak
047b30cf2f add hmac-sha256/512 2013-09-10 21:47:06 +02:00
Pavol Rusnak
40fa3f52e4 use sha2 implementation by Aaron D. Gifford 2013-09-10 21:10:07 +02:00
Pavol Rusnak
d958d8a90e cleanup 2013-09-10 01:41:10 +02:00
Pavol Rusnak
df79a330e6 pave the way for RFC6979 2013-09-10 01:03:24 +02:00
Pavol Rusnak
3f737896a4 ecdsa_get_public_key and ecdsa_verify methods 2013-09-09 17:52:25 +02:00
Pavol Rusnak
1f75cd031b Merge pull request #1 from mogorman/master
added support for getting public key from a private key.
2013-09-05 03:38:27 -07:00
mog
c87691205b added support for getting public key from a private key. 2013-09-05 03:57:26 -05:00
Pavol Rusnak
4593b3f636 use /dev/urandom in example 2013-08-21 20:26:00 +02:00
Pavol Rusnak
0f7c3be5dd expand readme 2013-08-21 20:05:25 +02:00