1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-13 08:02:01 +00:00
Commit Graph

14133 Commits

Author SHA1 Message Date
Pavol Rusnak
a8aacac6be
ecdsa: rand -> rnd 2017-04-02 02:52:50 +02:00
Pavol Rusnak
900f4b0756
build: don't use const for ed25519/cosi if gcc<5 2017-04-02 02:51:09 +02:00
Pavol Rusnak
b666039f66
ed25519_cosi: small changes to code style 2017-04-02 01:28:18 +02:00
Jochen Hoenicke
d3d88591d0 Added co-signing for ed25519. 2017-04-02 01:18:03 +02:00
Pavol Rusnak
12af9b262b
build: switch to gcc-5 (in travis) 2017-04-02 01:13:50 +02:00
Pavol Rusnak
a46c372969
build: use trusty in travis 2017-04-02 00:01:07 +02:00
Pavol Rusnak
71ea884ad8
build: modify travis to not use sudo 2017-04-01 23:59:47 +02:00
Pavol Rusnak
81d226a29b
build: modify travis to not use sudo 2017-04-01 23:57:43 +02:00
Pavol Rusnak
9257d44b7a
firmware: homescreen shows trezor.io/start when storage not initialized 2017-04-01 23:33:28 +02:00
Pavol Rusnak
1eff07f84d
build: don't convert from png in build_vendorheader, remove vendorheader.bin from vcs 2017-04-01 23:16:25 +02:00
Pavol Rusnak
5c227a4a47
loader: compute pubkey rather than use precomputed one, prepare for vendor keys 2017-04-01 22:30:10 +02:00
Pavol Rusnak
7cb7a90d27
build: include vendorheader.bin in source tree 2017-04-01 20:21:02 +02:00
Pavol Rusnak
1f07f310b3
loader: show vendor image and vendor string from vendor header 2017-04-01 20:19:35 +02:00
Pavol Rusnak
b72bc08172
loader: vendor image is now shown in display 2017-04-01 20:19:35 +02:00
Jochen Hoenicke
a5a34696ef Travis: corrected package for python3 2017-04-01 19:59:51 +02:00
Pavol Rusnak
bbf55bcf2a
loader: handle vendor header 2017-04-01 19:24:41 +02:00
Pavol Rusnak
6187a8a0c1
build: refactor build_vendorheader 2017-04-01 18:28:10 +02:00
Jochen Hoenicke
e0fd890661 Implemented vendor header.
Header is generated with

    ./tools/build_vendorheader 'key1,key2,key3' 2 1.1 SatoshiLabs assets/satoshilabs.png micropython/firmware/vendorheader.bin

where

- keyN is a 64 character hex string encoding the public key
- 2 encodes 2/3 key scheme
- 1.1 is the version number (major, minor)
- SatoshiLabs is the vendor name
- satoshilabs.png is the vendor image

Updated the firmware compilation that it adds vendor header and updated loader
that it handles vendor header to be present.
2017-04-01 17:01:59 +02:00
Pavol Rusnak
300daa4513
bootloader: lock flash/turn off sdcard when header invalid 2017-04-01 13:53:53 +02:00
Pavol Rusnak
74db11cbfc
bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
Pavol Rusnak
a440f3d322
trezorhal: update linker scripts 2017-04-01 12:48:15 +02:00
Pavol Rusnak
435e96e1b3
build: refactor binctl and firmware/loader image stuff 2017-04-01 02:53:52 +02:00
Jochen Hoenicke
e37619899e Put loader/firmware header into image (#5) 2017-04-01 00:22:24 +02:00
Pavol Rusnak
b5ff140256
trezorhal: fix alignment in headers to 512 bytes 2017-03-31 23:54:59 +02:00
Pavol Rusnak
f13c122561
rebase micropython, min_time -> peektime 2017-03-31 11:30:31 +02:00
Pavol Rusnak
6d236cf5a1
fix typo in readme 2017-03-31 01:36:29 +02:00
Pavol Rusnak
dd69929ce1
tools: rename firmwarectl to binctl, minor reformat 2017-03-30 22:58:00 +02:00
Pavol Rusnak
722e71eb31
modtrezorconfig: use uint16_t for data length 2017-03-30 21:42:50 +02:00
Pavol Rusnak
607161a863
vendor: remove norcow submodule 2017-03-30 21:02:05 +02:00
Pavol Rusnak
8a6b78187e
modtrezorconfig: don't use mock anymore 2017-03-30 20:57:46 +02:00
Pavol Rusnak
32cf4f36d2
modtrezorconfig: norcow works for stm 2017-03-30 20:55:18 +02:00
Pavol Rusnak
36f099fe62
update emscripten stuff 2017-03-30 17:53:09 +02:00
Jochen Hoenicke
aa16b53bba Refactored duplicated code (#84)
Changed signature of public_ckd_address_optimized to not include the
compressed public_key (uncompressed is in pub).
2017-03-30 17:38:49 +02:00
Peter Jensen
3daa18a5f1 trezor.ui: fading on swipe up 2017-03-30 17:35:26 +02:00
Pavol Rusnak
5e69cbe69f
trezorhal: chain loading works 2017-03-30 16:50:39 +02:00
Pavol Rusnak
d3ec688d6f
trezorhal: don't set SCB->VTOR in SystemInit 2017-03-30 16:47:02 +02:00
Pavol Rusnak
7da63a36e2
tools: don't convert sigidx back and forth in firmwarectl 2017-03-30 15:11:34 +02:00
Pavol Rusnak
323d6b023a
fix build 2017-03-30 15:07:29 +02:00
Pavol Rusnak
42b18f55ec
update norcow 2017-03-30 15:01:09 +02:00
Jochen Hoenicke
49645ba277 Compute hash before checking signatures. (#158)
This fixes the problem where an invalid hash is shown, if
the firmware contains no signing key indices.
2017-03-30 02:24:53 +02:00
Pavol Rusnak
efb722cc97
trezorhal: split memory files, adapt bootloader and loader 2017-03-29 22:00:17 +02:00
Jochen Hoenicke
99fc6d31d1
[refactor] Use compute_address in msgGetAddress. 2017-03-29 20:59:23 +02:00
Jochen Hoenicke
7b1381766f
Change address support for segwit.
Rewrote change address support for segwit.
Also checks the bip32 path of change address.
2017-03-29 20:59:01 +02:00
Pavol Rusnak
8d3020bc62
trezorhal: implement jump_to function 2017-03-29 20:50:45 +02:00
Pavol Rusnak
c8bff40ffb
trezorhal: use more readable syntax in memory script 2017-03-29 15:54:21 +02:00
Peter Jensen
38c37da0c3 trezor.ui: reset device redesign 2017-03-29 14:46:47 +02:00
Pavol Rusnak
2725792528
bootloader: erase all sectors except first two 2017-03-29 02:43:41 +02:00
Pavol Rusnak
41af56222a
modtrezorcrypto: update trezor-crypto 2017-03-29 00:22:52 +02:00
Pavol Rusnak
c200ce121a
introduce ED25519_NO_PRECOMP flag to optimize ed25519 verify size 2017-03-29 00:18:56 +02:00
Pavol Rusnak
d7d3d0490e
update trezor-crypto 2017-03-28 23:19:59 +02:00