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

8542 Commits

Author SHA1 Message Date
Pavol Rusnak
8a0868c1f7
more changes to api 2016-09-27 17:19:49 +02:00
Pavol Rusnak
0c954769d5
update api 2016-09-27 17:19:49 +02:00
Pavol Rusnak
a8d5432fd5
init 2016-09-27 17:19:47 +02:00
Pavol Rusnak
25672288cf
use hid_version=2 for HidTransportV2 2016-09-26 20:52:33 +02:00
Pavol Rusnak
ec4e85b008
fix v2 protocol 2016-09-26 17:32:54 +02:00
Karel Bílek
b6535b8354 Moving zcash testcoin out (it's cleaner) 2016-09-26 15:56:08 +02:00
Pavol Rusnak
9fe9ebc990
fix usb descriptor in bootloader 2016-09-26 14:57:10 +02:00
Karel Bílek
887a45f40b Adding zcash
+changing format slightly
2016-09-26 14:51:47 +02:00
Pavol Rusnak
2f7ed2aa0f
implement firmware_present flag in bootloader 2016-09-26 13:09:18 +02:00
Pavol Rusnak
ed9f7d838f
update protobuf 2016-09-26 12:46:38 +02:00
Pavol Rusnak
7c3a4f9dc5
add Features.firmware_present field 2016-09-26 12:45:15 +02:00
Pavol Rusnak
05c243d29b
add possibility to skip check in firmware_update 2016-09-26 12:28:06 +02:00
Karel Bílek
c2a0b255ff Adding fee/B
Aside from Bitcoin, those are made up. We can fix them later.
2016-09-25 18:44:22 +02:00
Pavol Rusnak
cda9ae4b29
change version description in bootloader 2016-09-25 16:36:44 +02:00
Pavol Rusnak
dc8348b4a0
add flash target to bootloader makefile 2016-09-25 16:04:07 +02:00
Pavol Rusnak
259eeae26e
don't halt on broken firmware but stay in bootloader mode 2016-09-25 15:52:39 +02:00
Karel Bílek
ca0f187805 Adding BIP44 indexes
zcash is just temporary
2016-09-23 16:34:25 +02:00
Karel Bílek
3c5bc3c77c Correcting typo 2016-09-23 15:14:10 +02:00
Karel Bílek
0461c7d4f0 Adding xpub and xprv magic 2016-09-23 15:13:41 +02:00
Karel Bílek
4ba387d4f8 Adding genesis block hash 2016-09-23 14:33:52 +02:00
Pavol Rusnak
fb8e76d8f6
add coins.json (extracted from trezor-mcu coins.s) 2016-09-23 13:24:41 +02:00
Pavol Rusnak
153405b843
update udev rules 2016-09-22 17:54:13 +02:00
Jan Pochyla
80ffa27052 enable crc32, update protocol, add session closing 2016-09-21 16:51:29 +02:00
slush0
531350d6ba Merge pull request #71 from sp4ke/sp4ke-patch-1
Avoid repeating keyword argument
2016-09-19 01:41:11 +02:00
Chakib Benziane
fc2cc7a284 Avoid repeating keyword argument
Repeating the keyword argument breaks package build with the following error: "SyntaxError: keyword argument" repeated
2016-09-18 23:58:10 +02:00
Pavol Rusnak
ea98665d83
update readme 2016-09-14 21:36:16 +02:00
Jan Pochyla
4d3e4574ef add session request to TransportV2, add @session helper 2016-09-13 12:25:06 +02:00
Saleem Rashid
db1b638cdf gui: update for newer HDNode API (#68) 2016-09-11 00:35:02 +02:00
bitcartel
e0e190b3dc
Update coins.c for Zcash mainnet (#111) 2016-08-31 14:02:53 +02:00
Pavol Rusnak
5fc6dc3155 Merge pull request #69 from jhoenicke/master
Unit Test: PIN protection timeout
2016-08-30 13:03:57 +02:00
Pavol Rusnak
8d7c1ec543 Merge pull request #110 from jhoenicke/master
More alignment fixes
2016-08-30 12:55:37 +02:00
Jochen Hoenicke
ad5b693ffa Unit Test: PIN protection timeout
Don't expect any minimum timeout on the first PIN entry.
2016-08-30 12:55:18 +02:00
Jochen Hoenicke
6d65551b82
More alignment fixes 2016-08-30 12:39:37 +02:00
Pavol Rusnak
dec9484a17
update version 2016-08-30 10:33:13 +02:00
Pavol Rusnak
fd79570aaf
fix unaligned access in serialno; update trezor-crypto 2016-08-29 22:37:27 +02:00
Pavol Rusnak
d7c0fbc379
add const where possible (for message parsing) 2016-08-29 22:36:18 +02:00
Pavol Rusnak
62b8f845f2 Merge pull request #67 from jhoenicke/master
sha2: fix unaligned access.
2016-08-29 22:03:32 +02:00
Jochen Hoenicke
19a1f501c4
Simplified sha256_Final/sha512_Last
- Fix the bug where we zero too many bytes in sha512_Last
  (SHORT_BLOCK_LENGTH != BLOCK_LENGTH -2).
- Get rid of an if branch.
- Don't reverse the last two words in 512_Last that are written later.
- make 256_Final and 512_Last look the same.
2016-08-29 21:55:57 +02:00
Jochen Hoenicke
b3e6eecfce
sha2: Fix unaligned access 2016-08-29 21:55:11 +02:00
Pavol Rusnak
aaf2631dd6
sign firmware inside docker container 2016-08-29 19:20:50 +02:00
Pavol Rusnak
0a55a9e415
update to nanopb 0.2.9.3 2016-08-29 12:59:29 +02:00
Pavol Rusnak
fff16e813a
add link to protobuf definition in coins.c 2016-08-29 10:44:40 +02:00
Pavol Rusnak
6f342816e1 Merge pull request #108 from jhoenicke/fastspi
Faster SPI communication
2016-08-29 10:39:09 +02:00
Pavol Rusnak
10a2a0014b Merge pull request #66 from axic/bignum
Bignum: add bn_one
2016-08-28 14:28:27 +02:00
Alex Beregszaszi
7e7e462be7 bignum: introduce bn_one 2016-08-27 13:15:20 +01:00
Alex Beregszaszi
e1dfa81ec5 tests: add bn_is_less 2016-08-27 13:07:10 +01:00
Jochen Hoenicke
5dae02bbbf
Faster SPI communication
According to specs, the display can handle up to 10 MHz SPI traffic
(minimum cycle time is 100 ns). This patch sets the SPI port to
7.5 MHz (60 MHz clock with divisor 8).  In my tests the display works
even fine with SPI frequency at 60 MHz.  I also minimized the delays
(the spec doesn't require a long setup time) and use the registers to
check when transfer is done instead of using a fixed delay.

This patch also changes the swipe function to swipe pixel by pixel.
Otherwise, the swipe would happen too fast to be seen.

This changes the display update time from 11 ms to 1.5 ms.
2016-08-26 18:43:16 +02:00
Pavol Rusnak
2bd84028c5 Merge pull request #65 from axic/bignum
Bignum: add tests and support little endian mode
2016-08-26 15:44:04 +02:00
Alex Beregszaszi
8581614d66 bignum: introduce write uint32/uint64 2016-08-26 12:41:54 +01:00
Alex Beregszaszi
7956c2f2f1 bignum: implement bitcount 2016-08-26 12:31:51 +01:00