1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 08:38:07 +00:00
Commit Graph

10777 Commits

Author SHA1 Message Date
Pavol Rusnak
686b8cc4b8 update protobuf, introduce homescreen 2015-02-04 20:53:22 +01:00
Pavol Rusnak
201b66a559 introduce home screen 2015-02-04 20:17:10 +01:00
Pavol Rusnak
d35b741f08 enable OP_RETURN 2015-02-04 20:04:59 +01:00
Pavol Rusnak
d83926fb13 add failing test to test_op_return 2015-02-04 20:00:04 +01:00
Pavol Rusnak
85d8fa90c8 update protobuf, enable OP_RETURN 2015-02-04 15:47:44 +01:00
Pavol Rusnak
f5d880c96c enable OP_RETURN output 2015-02-04 15:42:46 +01:00
Pavol Rusnak
fbcd1af05d add info about obsolete udev 2015-02-02 11:05:16 +01:00
Pavol Rusnak
657a008e0c python-trezor is LGPLv3 2015-01-30 23:55:29 +01:00
Jochen Hoenicke
ed9d8c1ebb Fix RFC6979 generation of k.
The standard says:
step h:
  Set T to the empty sequence.
  while tlen < qlen
    V = HMAC_K(V)
    T = T || V
  k = bits2int(T)

in this case (HMAC-SHA256, qlen=256bit) this simplifies to
  V = HMAC_K(V)
  T = V
  k = bits2int(T)
and T can be omitted.

The old code (wrong) did:
  T = HMAC_K(V)
  k = bits2int(T)
Note that V will only be used again if the first k is out of range.
Thus, the old code produced the right result with a very high probability.
2015-01-30 22:34:37 +01:00
slush0
2533a52df5 version 0.6.0 2015-01-30 18:50:50 +01:00
Pavol Rusnak
54aa5a4482 Merge pull request #20 from mackler/stddef-rand
Add `stdlib.h` to header.  Needed for `size_t`.
2015-01-28 09:47:21 +01:00
slush0
bb4d21ba65 Added feature check 2015-01-28 05:31:30 +01:00
Adam Mackler
82ea549661 Add stdlib.h to header. Needed for size_t. 2015-01-27 21:44:48 -05:00
Adam Mackler
cb6f976b0d Remove unused static variable sha384_initial_hash_value. 2015-01-27 19:22:42 -05:00
Pavol Rusnak
83e8655ece Merge pull request #23 from runn1ng/patch-1
Update README.rst
2015-01-27 17:46:19 +01:00
Karel Bílek
7f4f15fb32 Update README.rst 2015-01-27 17:41:06 +01:00
Pavol Rusnak
40efefc571 rework pin handling 2015-01-27 13:00:25 +01:00
Pavol Rusnak
012d38a9a0 increasePinFails before asking PIN 2015-01-26 21:41:43 +01:00
Pavol Rusnak
7dacfd69ee check for flash operation failure 2015-01-26 21:10:51 +01:00
Pavol Rusnak
5f8a4f6da1 use hdnode_private_ckd_cached where appropriate 2015-01-26 20:24:07 +01:00
Pavol Rusnak
1daf603135 increase range for bip32 caching test 2015-01-26 19:24:31 +01:00
Pavol Rusnak
aa1833ba3f add stdlib to header 2015-01-26 19:12:22 +01:00
Pavol Rusnak
f4e6010e18 implement BIP32 cache 2015-01-26 19:10:19 +01:00
Pavol Rusnak
31385f71f4 update nanopb to 0.2.9.2 2015-01-26 14:02:14 +01:00
Pavol Rusnak
32158bbb5c refactor fsm_getRootNode into fsm_getDerivedNode 2015-01-26 13:53:06 +01:00
slush0
018a347aca Added test of DerivationCache 2015-01-26 13:08:29 +01:00
Pavol Rusnak
8f48ffe63c extract fsm_getCoin 2015-01-26 12:51:56 +01:00
Pavol Rusnak
40b023b1f4 Merge pull request #17 from dllaurence/embedded_header
Remove now-redundant embedded header
2015-01-26 00:29:30 +01:00
Dustin Laurence
1c672dca2b Remove now-redundant embedded header 2015-01-25 08:49:52 -08:00
Pavol Rusnak
5ce27a1e1a Merge pull request #16 from dllaurence/prototypes
Prototypes
2015-01-24 20:33:23 +01:00
slush0
bd7c575be3 Fixed testnet URL 2015-01-23 21:24:15 +01:00
Dustin Laurence
a16992a893 Add stdbool.h 2015-01-23 12:12:40 -08:00
Dustin Laurence
8ce1f34233 Add prototypes for private functions 2015-01-23 12:12:40 -08:00
Pavol Rusnak
d57d030362 Merge pull request #15 from dllaurence/finalize_rand
Finalize all open file descriptors
2015-01-23 19:11:19 +01:00
Dustin Laurence
ce67a85d39 Add finalize_rand() to prove we have no leaks 2015-01-23 06:05:38 -08:00
Dustin Laurence
661751ab4b Add finalize_rand() 2015-01-23 06:05:25 -08:00
Pavol Rusnak
0981ed98b6 Merge pull request #7 from runn1ng/master
correcting transponed QR code
2015-01-18 13:43:10 +01:00
cf18
880f058482 correcting transponed QR code 2015-01-18 04:23:56 +01:00
Pavol Rusnak
addadf3676 make udev rules consistent across repos 2015-01-13 17:18:18 +01:00
Pavol Rusnak
fb747384a0 prepare cython-TrezorCrypto for pip release 2015-01-12 19:11:43 +01:00
Pavol Rusnak
5cd4531312 make constructor of cython HDNode struct more explicit 2015-01-11 20:05:40 +01:00
Pavol Rusnak
0331a1c454 first try of cythonizing the library 2015-01-11 16:43:07 +01:00
Pavol Rusnak
8c23d62c5e don't verify pubkey in xpubaddrgen 2015-01-11 02:56:33 +01:00
Pavol Rusnak
2880a2e3db add break condition to xpubaddrgen 2015-01-11 02:46:45 +01:00
Pavol Rusnak
62ce3c6988 rework docker build script 2014-12-27 16:34:02 +01:00
Pavol Rusnak
b5eecb30be downgrade nanopb to LTS version 0.2.9.1 2014-12-27 16:05:34 +01:00
Pavol Rusnak
b06780e0a7 prepare 1.3.0 release 2014-12-25 18:32:00 +01:00
Pavol Rusnak
9fea8f8ab3 more fixes to readme 2014-12-24 01:30:33 +01:00
Pavol Rusnak
27a496a370 README -> README.md 2014-12-24 01:27:20 +01:00
Pavol Rusnak
280310c8a0 add xpubaddrgen utility 2014-12-24 01:26:39 +01:00