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

252 Commits

Author SHA1 Message Date
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead 2018-05-24 15:18:05 +02:00
Aleksey Popov
452ad41575 common: update trezor-common submodule 2018-05-23 11:47:07 +02:00
Pavol Rusnak
d3844977a8
vendor: update trezor-crypto 2018-04-23 11:14:57 +01:00
Jan Pochyla
c23c519e37 vendor/trezor-common: update 2018-03-20 16:48:45 +01:00
Pavol Rusnak
b83ffee3af
src/apps/common: implement unfinished_backup flag in the storage 2018-03-12 16:22:56 +01:00
Pavol Rusnak
e6bfd192e5
src/apps/common: implement passphrase_source and use it 2018-03-12 15:27:30 +01:00
Pavol Rusnak
2e3dc8b29d
src/apps/common: rework PassphraseState behaviour 2018-03-01 00:07:45 +01:00
Pavol Rusnak
d6563a213c
vendor: update trezor-common 2018-02-27 15:54:21 +01:00
Jan Pochyla
8e5125a3fe vendor/trezor-common: update 2018-02-27 12:03:25 +01:00
Pavol Rusnak
ee242ea416
src.trezor.messages: fix and regenerate 2018-02-26 17:20:48 +01:00
Pavol Rusnak
75e87ede86
vendor: update trezor-common, regenerate messages 2018-02-14 18:15:18 +01:00
Pavol Rusnak
6fad2f4283
src/apps/homescreen: implement {Initialize,Features}.state field, implement ClearSession handling 2018-02-09 18:08:59 +01:00
Pavol Rusnak
1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message 2018-02-06 17:06:43 +01:00
Jan Pochyla
aeab633090 vendor/micropython: update 2018-01-22 13:07:21 +01:00
Pavol Rusnak
e92440dfc8
introduce and use memzero instead of explicit_bzero 2018-01-18 15:30:49 +01:00
Pavol Rusnak
ea116d742a
use explicit_bzero where possible; update trezor-crypto 2018-01-16 20:44:21 +01:00
Pavol Rusnak
1530afe4ad
vendor: update trezor-crypto, adapt codebase to changes 2018-01-13 15:36:03 +01:00
Pavol Rusnak
5a304d8e25
vendor: update trezor-crypto 2018-01-02 14:35:41 +01:00
Pavol Rusnak
f1a75b36f7
vendor: update micropython to 1.9.3 release 2018-01-01 21:49:08 +01:00
Tomas Susanka
8304e86bd7 submodules: trezor common updated 2017-12-22 17:10:28 +01:00
Pavol Rusnak
06149e8487
vendor: remove norcow submodule 2017-12-18 19:42:45 +01:00
Pavol Rusnak
70ac202d7a
modtrezorcrypto: add trezor.crypto.hashlib.blake256 2017-12-13 20:47:12 +01:00
Pavol Rusnak
5688aa245f
vendor: update trezor-crypto 2017-12-12 20:46:20 +01:00
Pavol Rusnak
04d980f8f0
add Features.model field (set to "T") 2017-12-04 22:40:42 +01:00
Tomas Susanka
a79a71b74a submodules: trezor-common updated to 9c1e61e 2017-11-23 16:30:11 +01:00
Pavol Rusnak
6413c2c23e
embed: rework memory layout, enable stack protector 2017-10-11 21:19:52 +02:00
Pavol Rusnak
63737f59b0
bootloader: vendor nanopb as submodule 2017-10-01 18:13:25 +02:00
Pavol Rusnak
d50eeb581a
trezorhal: introduce flash_write_{byte,word} 2017-09-28 11:28:40 +02:00
Jan Pochyla
29b90465ce micropython: update submodule 2017-09-06 19:15:59 +02:00
Pavol Rusnak
285fb1263b
bootloader: more work on firmware update 2017-06-20 12:44:48 +02:00
Pavol Rusnak
564af0a5ff
vendor: update micropython 2017-06-18 01:51:29 +02:00
Pavol Rusnak
4414054d92
bootloader: migrate to nanopb 2017-06-14 20:44:52 +02:00
Pavol Rusnak
a8bb8089a6
update vendor/micropython 2017-05-23 14:14:23 +02:00
Jan Pochyla
88ebfe65e8 update vendor/micropython submodule 2017-05-23 14:04:46 +02:00
Pavol Rusnak
c3e5e2b208
update micropython submodule; add REPL to firmware 2017-05-15 17:58:03 +02:00
Pavol Rusnak
9e42a45b10
crypto: update trezor-crypto, fix crypto.bip32 test 2017-05-08 17:48:22 +02:00
Pavol Rusnak
fdef0575b1
loader: show firmware version in loader, remove image_options.h 2017-04-05 17:41:10 +02:00
Pavol Rusnak
fad4b80af8
trezorhal: don't parse (image|vendor) headers twice, don't use legacy stm32 names 2017-04-05 15:10:33 +02:00
Pavol Rusnak
3532b266ce
modtrezorconfig: readd norcow as a submodule 2017-04-05 02:23:48 +02:00
Pavol Rusnak
eef147d810
modtrezorcrypto: add crypto.rfc6979 class 2017-04-03 21:29:52 +02:00
Pavol Rusnak
87b7d0649b
boot: use cosi to compute aggregated key and use it 2017-04-02 02:55:51 +02:00
Pavol Rusnak
f13c122561
rebase micropython, min_time -> peektime 2017-03-31 11:30:31 +02:00
Pavol Rusnak
607161a863
vendor: remove norcow submodule 2017-03-30 21:02:05 +02:00
Pavol Rusnak
42b18f55ec
update norcow 2017-03-30 15:01:09 +02:00
Pavol Rusnak
41af56222a
modtrezorcrypto: update trezor-crypto 2017-03-29 00:22:52 +02:00
Pavol Rusnak
4d4a351ba6
modtrezorcrypto: update to new trezor-crypto 2017-03-28 20:28:51 +02:00
Pavol Rusnak
6861e68f21
update to current micropython master 2017-03-26 23:11:57 +02:00
Pavol Rusnak
420516c5de
modtrezorcrypto: use BLOCK_LENGTH and DIGEST_LENGTH across all hash functions 2017-03-20 21:07:20 +01:00
Jan Pochyla
a66e5e4ad8 update micropython submodule 2017-03-13 11:42:40 +01:00
Pavol Rusnak
2cde9511da
micropython: update submodule; fix build 2017-03-07 00:56:35 +01:00
Pavol Rusnak
9c3c19959b
modtrezorcrypto: add Blake2b 2017-02-28 18:47:27 +01:00
Pavol Rusnak
10b687c318
reorganization (wip) 2017-02-24 13:19:00 +01:00
Pavol Rusnak
1d5a6dd1b4
modtrezorui: add display_btext 2017-02-14 18:05:39 +01:00
Pavol Rusnak
1f56e8651b
update vendor/micropython submodule 2017-02-08 14:57:53 +01:00
Pavol Rusnak
029a7c35d8
reorganize code 2017-02-06 15:40:25 +01:00
Pavol Rusnak
7b23144ddd
update vendor/micropython submodule 2017-01-19 15:39:10 +01:00
Pavol Rusnak
3ef56d84e2
update vendor/micropython submodule 2017-01-18 16:48:47 +01:00
Jan Pochyla
26f204d04d update micropython submodule 2017-01-17 14:23:05 +01:00
Pavol Rusnak
678279f5fa
update submodules 2017-01-13 09:34:16 +01:00
Jan Pochyla
930668223b update micropython submodule 2017-01-03 10:34:27 +01:00
Jan Pochyla
7fa2cad0d4 update micropython submodule 2017-01-02 15:39:49 +01:00
Pavol Rusnak
451ad60427
update vendor/micropython submodule 2016-12-28 18:58:06 +01:00
Pavol Rusnak
44742da0d1
update vendor/micropython submodule 2016-12-24 16:22:24 +01:00
Jan Pochyla
ad7356b67c update micropython submodule 2016-12-14 11:57:35 +01:00
Jan Pochyla
cdc2c9ee08 update micropython submodule 2016-12-13 16:18:38 +01:00
Jan Pochyla
1de4cf4a18 update trezor-crypto submodule 2016-12-12 15:26:49 +01:00
Pavol Rusnak
6575b8059e
trezor.config: use mock implementation on stmhal again 2016-11-21 20:50:41 +01:00
Pavol Rusnak
c6ea71901d
trezor.config: use norcow 2016-11-21 19:56:23 +01:00
Pavol Rusnak
f367d91cb7
vendor: update micropython 2016-11-16 15:47:07 +01:00
Jan Pochyla
b20e62ffa8 update submodule trezor-crypto 2016-11-08 18:50:13 +01:00
Pavol Rusnak
ca45689808
trezor.crypto: update trezor-crypto submodule 2016-11-06 15:20:46 +01:00
Pavol Rusnak
8b0d7be52a
trezor.crypto: add keccak option to Sha3_*.digest() 2016-11-06 01:49:55 +01:00
Pavol Rusnak
192fc5f1ef
trezor.crypto: add sha1, regenerate mocks 2016-11-05 15:26:28 +01:00
Pavol Rusnak
392538d7d2
vendor: update micropython 2016-11-01 22:47:26 +01:00
Pavol Rusnak
e9c328919c
trezor.crypto: add blake2s hash, update submodules 2016-11-01 17:31:24 +01:00
Pavol Rusnak
9d5fe82b45
vendor: update trezor-crypto 2016-10-24 21:00:21 +02:00
Pavol Rusnak
7f5fa78f35
modtrezorcrypto: add ECDH for nist256p1, secp256k1, curve25519 (multiply method) 2016-10-22 00:51:52 +02:00
Pavol Rusnak
fffe930d8c
modtrezorui: rename fonts 2016-10-18 15:05:55 +02:00
Jan Pochyla
27126396bd update trezor-crypto submodule 2016-10-14 15:12:17 +02:00
Pavol Rusnak
aa942dc3a9
update vendor/micropython 2016-10-12 16:29:26 +02:00
Jan Pochyla
275d3505f0 update micropython submodule 2016-10-11 17:18:09 +02:00
Jan Pochyla
e62ded3a2f update micropython submodule 2016-10-06 15:05:14 +02:00
Jan Pochyla
71793cc6d1 update trezor-crypto submodule 2016-10-06 15:05:14 +02:00
Pavol Rusnak
846846561c
add possibility to save screen to png using ui.display.save() (unix port only) 2016-10-06 00:02:46 +02:00
Pavol Rusnak
131b47d029
update bootloader makefile and micropython submodule 2016-10-04 11:54:51 +02:00
Pavol Rusnak
746442c1ee
update micropython submodule 2016-10-04 10:25:59 +02:00
Pavol Rusnak
a36616d8e8
allow building unix port with no UI (TREZORUI_NOUI=1) 2016-10-03 19:57:23 +02:00
Pavol Rusnak
31a937de1b
bootloader ui (work in progress) 2016-10-03 16:17:49 +02:00
Pavol Rusnak
3a67b4d6d2
enable hw reset of display 2016-09-28 13:43:16 +02:00
Pavol Rusnak
afb1b5cb9c
update micropython submodule 2016-09-27 17:26:18 +02:00
Pavol Rusnak
9230ffb4f0
update micropython submodule 2016-09-27 17:26:14 +02:00
Pavol Rusnak
255887f865
update micropython submodule 2016-09-27 17:26:13 +02:00
Pavol Rusnak
0d3facf99e
minor changes to display module 2016-09-27 17:26:09 +02:00
Pavol Rusnak
d32dc93c10
implement hid methods in trezor.msg 2016-09-27 17:26:08 +02:00
Pavol Rusnak
9b0f16f06c
update micropython submodule 2016-09-27 17:26:08 +02:00
Pavol Rusnak
57cb607b0b
update micropython submodule 2016-09-27 17:26:08 +02:00
Pavol Rusnak
fc05f25255
trezor.crypto.aes work in progres 2016-09-27 17:26:07 +02:00
Pavol Rusnak
e56390c77a
add clean_cross to makefile; update micropython submodule 2016-09-27 17:26:05 +02:00
Pavol Rusnak
f2c331d783
update submodule, start bootloader work 2016-09-27 17:26:02 +02:00
Pavol Rusnak
fbfd9d4b61
split debug (=dangerous) things from trezor.utils to trezor.debug 2016-09-27 17:26:01 +02:00
Pavol Rusnak
e6b8dc3cc5
add perf option to emu.sh (-p) 2016-09-27 17:25:58 +02:00
Pavol Rusnak
4fc85825f6
update submodule 2016-09-27 17:25:52 +02:00
Pavol Rusnak
1e76061d70
update submodule 2016-09-27 17:25:51 +02:00
Pavol Rusnak
2499f40ad9
update submodule 2016-09-27 17:25:51 +02:00
Pavol Rusnak
c0dfe2d702
fix include in ssss 2016-09-27 17:25:50 +02:00
Pavol Rusnak
92f95d9521
update submodule 2016-09-27 17:25:50 +02:00
Pavol Rusnak
04888a7128
update micropython submodule 2016-09-27 17:25:49 +02:00
Pavol Rusnak
b08010622d
update vendor/micropython 2016-09-27 17:25:48 +02:00
Pavol Rusnak
2cf75d85e7
more ssss work 2016-09-27 17:25:46 +02:00
Pavol Rusnak
2576d9c3a4
trezor.storage -> trezor.config 2016-09-27 17:24:23 +02:00
Pavol Rusnak
0fb6fc05a5
further changes to trezor.storage 2016-09-27 17:24:22 +02:00
Pavol Rusnak
ddf6771981
add trezor.storage 2016-09-27 17:24:22 +02:00
Pavol Rusnak
0653ea7edc
update micropython 2016-09-27 17:24:18 +02:00
Pavol Rusnak
18abed64f0
fix black as alpha in ui simulator 2016-09-27 17:24:18 +02:00
Pavol Rusnak
910926e25c
add trezor.crypto.bip39 2016-09-27 17:24:17 +02:00
Pavol Rusnak
7c2ad210e6
update trezor-crypto 2016-09-27 17:24:16 +02:00
Pavol Rusnak
85d068f03f
reorganize modtrezorui sources 2016-09-27 17:24:14 +02:00
Pavol Rusnak
871ea5cc70
update vendor/micropython 2016-09-27 17:24:11 +02:00
Pavol Rusnak
6f9edb349c
add fingerprint layout 2016-09-27 17:24:07 +02:00
slush0
4a918a4ba0
Stickuv playground 2016-09-27 17:24:06 +02:00
Pavol Rusnak
b7b57ae53e
new pbkdf2 api with update 2016-09-27 17:24:05 +02:00
Pavol Rusnak
8bc3b9e160
update submodules 2016-09-27 17:24:01 +02:00
Pavol Rusnak
8c3ebf3956
update submodule 2016-09-27 17:24:01 +02:00
Pavol Rusnak
1664a4fc29
replace wait with msg.select 2016-09-27 17:24:00 +02:00
Pavol Rusnak
904127f263
remove ui.touch, add utils.select 2016-09-27 17:23:57 +02:00
Pavol Rusnak
d7a937f553
singlethread handling of sdl events 2016-09-27 17:23:57 +02:00
Pavol Rusnak
4f90848c0a
remove native moduleprotobuf 2016-09-27 17:23:57 +02:00
Pavol Rusnak
d5e2e2ee45
update micropython submodule 2016-09-27 17:23:23 +02:00
Pavol Rusnak
0a8870f110
add modtrezorutils 2016-09-27 17:23:23 +02:00
Pavol Rusnak
bc7cb88cdf
use little endian for toif, fix random 2016-09-27 17:23:22 +02:00
Pavol Rusnak
b7013437ee
add nist256p1 and secp256k1 to trezor.crypto.curve 2016-09-27 17:23:22 +02:00
Pavol Rusnak
f3f44b408d
add trezor.crypto.ed25519 2016-09-27 17:23:22 +02:00
Pavol Rusnak
26ab1b2020
update trezor-crypto 2016-09-27 17:23:21 +02:00
Pavol Rusnak
33f3566f61
adapt to new trezor-crypto 2016-09-27 17:23:21 +02:00
Pavol Rusnak
dd93b1a0cf
remove mbedtls 2016-09-27 17:23:21 +02:00
Pavol Rusnak
f8713bad4d
add sha3 2016-09-27 17:22:53 +02:00
Pavol Rusnak
92fcafa9e9
update vendor/micropython submodule 2016-09-27 17:22:53 +02:00
Pavol Rusnak
3d3d8e89a5
don't use native base58 2016-09-27 17:22:53 +02:00
Pavol Rusnak
b29ece66ef
use pbkdf2_hmac from mbedtls 2016-09-27 17:22:53 +02:00
Pavol Rusnak
8b4280b296
remove trezor-crypto, use mbedtls, use lowercase for trezor modules 2016-09-27 17:22:52 +02:00
Pavol Rusnak
4777df03b6
import mbedtls, use it in for hashes 2016-09-27 17:22:52 +02:00
Pavol Rusnak
cbea384a79
use macros for block/digest sizes 2016-09-27 17:22:52 +02:00
Pavol Rusnak
21db5a6ff7
use streamed version of ripemd160 2016-09-27 17:22:51 +02:00
Pavol Rusnak
0ab2170cc6
add ripemd160 2016-09-27 17:22:51 +02:00
Pavol Rusnak
2694e3ad63
add trezor.crypto.base58 functionality (decode_check needs fix) 2016-09-27 17:22:49 +02:00
Pavol Rusnak
2cc116f812
add trezor-crypto as submodule 2016-09-27 17:22:49 +02:00
Pavol Rusnak
0f2670f12e
add trezor.crypto
split modTrezorUi into more files
2016-09-27 17:22:48 +02:00
Pavol Rusnak
a5e861e0aa
introduce trezor.msg and trezor.protobuf 2016-09-27 17:22:48 +02:00
Pavol Rusnak
1f4230dc20
implement trezor.ui.qrcode 2016-09-27 17:22:47 +02:00
Pavol Rusnak
4ddde025db
use -i (inspect) feature of micropython 2016-09-27 17:22:46 +02:00