Jan Pochyla
5889d0c932
loop: use ticks_add, ticks_diff
2016-11-15 11:59:27 +01:00
Pavol Rusnak
32e699efdb
trezor.crypto.der: convert -> encode
...
small cleanup to new unit test
2016-11-08 20:25:55 +01:00
Pavol Rusnak
9fb6e328a0
trezor.crypto: add der module
2016-11-08 16:59:08 +01:00
Pavol Rusnak
33b5436dcc
tests: move to /tests to avoid freezing
2016-11-06 17:04:25 +01:00
Pavol Rusnak
c95ed063db
trezor.crypto.hashlib: remove HashIO (lives as HashWriter somewhere else)
2016-11-06 16:19:25 +01:00
Pavol Rusnak
8092be211c
trezor.messages: regenerate messages
2016-11-06 15:51:52 +01:00
Pavol Rusnak
6891c3c463
trezor.config: add wipe method
...
tests: add tests for config, debug, utils
2016-11-06 12:39:04 +01:00
Pavol Rusnak
192fc5f1ef
trezor.crypto: add sha1, regenerate mocks
2016-11-05 15:26:28 +01:00
Jan Pochyla
783fddf749
messages: do not use const()
2016-11-02 01:03:16 +01:00
Pavol Rusnak
34ba0ccd72
trezor.crypto: add key option for blake2s, add unit tests for blake2s
2016-11-01 18:22:29 +01:00
Pavol Rusnak
56eb351816
trezor.crypto: add hashlib.HashIO
2016-11-01 15:23:37 +01:00
Jan Pochyla
83043f7aef
wire: update to latest changes in protobuf
2016-10-26 17:36:11 +02:00
Jan Pochyla
a16e02a3d8
messages: regenerate
2016-10-26 17:36:11 +02:00
Pavol Rusnak
df5e770dec
trezor.crypto: refactor base58; allow custom digest function
2016-10-25 14:22:35 +02:00
Pavol Rusnak
6e658ff2f1
trezor.messages: regenerate classes
2016-10-24 15:45:05 +02:00
Jan Pochyla
507d9bdf68
wire: add tests for v1 codec
2016-10-24 15:40:34 +02:00
Pavol Rusnak
7f5fa78f35
modtrezorcrypto: add ECDH for nist256p1, secp256k1, curve25519 (multiply method)
2016-10-22 00:51:52 +02:00
Jan Pochyla
d0b29d4caa
wire: add tests, fix missing 0-padding
2016-10-21 15:02:20 +02:00
Jan Pochyla
688d293b01
wire: use memoryview() asap in the parsing process
2016-10-20 15:14:40 +02:00
Jan Pochyla
ad2955aaab
ui: code style, make header icon optional
2016-10-20 15:14:40 +02:00
Jan Pochyla
74b2170e3f
ui.swipe: make constants private
...
Private const() can be inlined properly.
2016-10-20 15:14:40 +02:00
Jan Pochyla
4e290cc6df
ui.loader: add is_active method
2016-10-20 15:14:39 +02:00
Jan Pochyla
d94dd32816
ui.text: code style, add color support
2016-10-20 15:13:47 +02:00
Pavol Rusnak
3067bfa003
modtrezorui: add yoffset parameter to display.loader
2016-10-18 16:27:13 +02:00
Jan Pochyla
a44e16a9ca
rework high-level storage
...
We don't use Storage protobuf message anymore, and instead all keys are as granular as possible.
trezor.storage provides high-level function interface.
2016-10-14 15:35:44 +02:00
Jan Pochyla
0a5e43723f
utils: export TrezorUtils.memcpy
2016-10-11 17:18:31 +02:00
Pavol Rusnak
a9131f26e7
debug: fix variable name
2016-10-11 14:01:32 +02:00
Pavol Rusnak
882efbf21b
modtrezormsg: use interfaces index internally, usage_page externally
2016-10-11 13:15:13 +02:00
Pavol Rusnak
a423d4602f
modtrezormsg: store assigned used pages internally, add get_interfaces method
2016-10-11 12:33:02 +02:00
Pavol Rusnak
3f44dfedb5
modtrezormsg: use usage_page to identify interfaces
2016-10-11 12:14:17 +02:00
Pavol Rusnak
d9546d45b9
ui: proper size for loader
2016-10-11 11:29:31 +02:00
Pavol Rusnak
ad6c274e07
modtrezorui: loader icon is now 64x64; reorganize icons
2016-10-10 14:51:52 +02:00
slush0
ac726746b9
Changed dimming constants (tested on hw)
2016-10-08 12:06:56 +02:00
slush0
cf38b58a73
Reworked homescreen (no blinking, only diming)
...
Added ui.alert()
2016-10-08 11:47:28 +02:00
chren
78efd4f2e0
minor color changes in pin dialog
2016-10-06 17:59:46 +02:00
chren
cb2399197f
fixed wipe device header
2016-10-06 16:35:36 +02:00
chren
5a20a48745
added ui header and icons
2016-10-06 16:17:11 +02:00
Jan Pochyla
abd20741f6
add seed module, GetPublicKey now works
2016-10-06 15:05:14 +02:00
Jan Pochyla
492e71f147
workflow: less verbose naming
2016-10-06 15:05:14 +02:00
Jan Pochyla
6d5514ac4a
make logging less verbose
2016-10-06 15:05:14 +02:00
Jan Pochyla
c019741c33
wire: fix write_message, pbuf dumps is sync now
2016-10-06 15:05:14 +02:00
Jan Pochyla
4b0da8677a
wire: fix read_message for v1 protocol
2016-10-06 15:05:14 +02:00
Jan Pochyla
c3ee7dd709
loop: refresh display after every step
2016-10-06 15:05:14 +02:00
Pavol Rusnak
7dc53219d2
extract common bootloader stuff into bl_common.py
2016-10-05 21:09:45 +02:00
Pavol Rusnak
e405a6305d
use bar_radius where needed
2016-10-05 20:36:28 +02:00
Pavol Rusnak
a536e2d6a5
loader is now smaller
2016-10-05 15:15:21 +02:00
Pavol Rusnak
2e2534585b
call ui.display.refresh in loop.py
2016-10-04 16:33:38 +02:00
slush0
97522be434
Added new messages
2016-10-03 15:41:38 +02:00
Jan Pochyla
f2b509b591
use micropython.const() in trezor.messages
2016-09-29 12:37:40 +02:00
Jan Pochyla
407169af01
import qualified const()
2016-09-29 12:29:43 +02:00