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

11020 Commits

Author SHA1 Message Date
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
slush0
98bb17299b Module renamed to trezorlib 2013-09-13 05:37:23 +02:00
slush0
333182f062 Module renamed from bitkeylib to trezorlib 2013-09-13 05:33:20 +02:00
slush0
66cede8e18 Fixed path to module 2013-09-13 05:32:58 +02:00
slush0
9fd3121724 Fixed project name 2013-09-13 05:32:27 +02:00
slush0
18d5f9f3d6 ApplySettings triggers init_device to reload Features structure 2013-09-13 05:31:24 +02:00
slush0
004ce33e40 Updated project link, changed repo name 2013-09-13 05:29:58 +02:00
slush0
c692f60782 Refactored module structure 2013-09-13 05:28:56 +02:00
slush0
4530dc3684 All current tests passed 2013-09-13 05:28:29 +02:00
slush0
d273cdf86b Added unit tests for BTC, tBTC & LTC address generation 2013-09-13 05:27:21 +02:00
slush0
c514fe3edd Binary pb2 file 2013-09-13 00:17:32 +02:00
slush0
8d100bee0c Implemented ApplySettings, removed SetMaxFeeKb 2013-09-13 00:17:06 +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
slush
31aa66e1a2 Binary protofile 2013-09-09 17:29:27 +02:00
slush
0176c60d2a Version 0.1 of proto file 2013-09-09 17:29:05 +02:00
slush
e41387c6e4 Removed OTP and PIN handling in cmd.py 2013-09-09 15:38:15 +02:00
slush
682578f1ad Added padding to HID messages 2013-09-09 15:37:39 +02:00
slush
813fb233a1 Added session depth 2013-09-09 15:36:17 +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
slush
8e5abb560e Fixed imports 2013-09-01 03:42:26 +02:00
slush
bdfe3fd4ae Removed 'random' field from signing transaction, because of deterministic ECDSA signing 2013-09-01 03:42:01 +02:00
slush
3e39a4c267 test_addresses.py passed (although it uses Electrum algo, not BIP32) 2013-09-01 03:38:03 +02:00
slush
702460d153 Protect call test passed! 2013-09-01 03:35:31 +02:00
slush
6fe26c26e4 Fix PIN handling 2013-09-01 03:34:36 +02:00
slush
cb594df790 Updated test structure to comply with latest changes.
test_basic.py passes succesfully, others will come soon...
2013-09-01 02:47:49 +02:00
slush
5b214bbed2 Removed OTP constructs.
Implements PinMatrix.
Codebase now reflects latest protobuf changes
2013-09-01 02:46:53 +02:00
slush
5db17b3a6d Proper loading of trezor_pb2.py 2013-09-01 02:46:18 +02:00
slush
ce7e6fbb50 Synchronized protobuf,
compiled protobuf moved from bitkey_pb2.py to trezor_pb2.py
2013-09-01 02:45:42 +02:00
slush
b01c49715e Mapping reflects latest changes in protobuf file 2013-09-01 00:00:49 +02:00
slush
cc37fbaa5f Protocol has been heavily modified, check trezor-emu for further details 2013-08-31 23:46:28 +02:00
slush
1fa4f1eb81 Test if USB device is presented 2013-08-31 23:45:53 +02:00
slush
8f42da3fcc Use first USB device by default 2013-08-30 23:32:02 +02: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
Pavol Rusnak
7c13e810fc add -Os flag to makefile 2013-08-21 18:20:52 +02:00
Pavol Rusnak
1830c2066d add more comments to readme 2013-08-21 18:07:02 +02:00