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

181 Commits

Author SHA1 Message Date
Pavol Rusnak
ed975398d9
move ui.clear into ui.display.clear 2016-09-28 17:00:27 +02:00
Jochen Hoenicke
8d3aed7ec0
Tweaked Gamma values 2016-09-28 14:35:11 +02:00
Pavol Rusnak
3a67b4d6d2
enable hw reset of display 2016-09-28 13:43:16 +02:00
Jan Pochyla
b49ae3deee
do not update display after each letter 2016-09-27 17:26:16 +02:00
slush0
fdc14513a6
Added 'pass' where docstring is missing. 2016-09-27 17:26:15 +02:00
slush0
9eaf34a2c7
Fixed python header 2016-09-27 17:26:15 +02:00
Pavol Rusnak
db6673b50e
move initialization of I2C1 to msg_init() 2016-09-27 17:26:13 +02:00
Jan Pochyla
5c02718c58
fix int param for crypto.random.uniform() 2016-09-27 17:26:10 +02:00
Pavol Rusnak
e480871db3
generate proper events from touchscreen 2016-09-27 17:26:10 +02:00
Pavol Rusnak
0d3facf99e
minor changes to display module 2016-09-27 17:26:09 +02:00
Pavol Rusnak
ddaa1b1502
adapt display driver for ST7789V 2016-09-27 17:26:09 +02:00
Pavol Rusnak
f727cab942
rework aes module, add summary to test script 2016-09-27 17:26:09 +02:00
Pavol Rusnak
dd78f83576
update docu strings in aes 2016-09-27 17:26:09 +02:00
Pavol Rusnak
8f80749870
update docu strings in native code 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
e577e764fc
modules do not have .name field anymore 2016-09-27 17:26:08 +02:00
Pavol Rusnak
d9495b12ac
trezor.crypto.aes finished (including unit tests) 2016-09-27 17:26:07 +02:00
Pavol Rusnak
fc05f25255
trezor.crypto.aes work in progres 2016-09-27 17:26:07 +02:00
Pavol Rusnak
80be60c3ff
remove todo 2016-09-27 17:26:07 +02:00
Pavol Rusnak
5c3e0c9b6f
use mp_obj_new_int_from_uint when returning uint32 2016-09-27 17:26:07 +02:00
Pavol Rusnak
754350df9e
fix discrepancy between msg_poll_ui_event and trezorui_poll_sdl_event 2016-09-27 17:26:04 +02:00
Karel Bilek
65746643f4
fix msg_recv iface reporting 2016-09-27 17:26:03 +02:00
Pavol Rusnak
f2c331d783
update submodule, start bootloader work 2016-09-27 17:26:02 +02:00
Pavol Rusnak
d4d8729568
add mem constants to debug module 2016-09-27 17:26:01 +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
a768d32ff9
display.bar now can set roundness 2016-09-27 17:25:59 +02:00
Pavol Rusnak
5b6ab9ca96
small fixes; res contains just toig/toif files (png are in /assets) 2016-09-27 17:25:53 +02:00
chren
9ca6d61bcc
minor design changes in colors, pin and white border 2016-09-27 17:25:52 +02:00
Pavol Rusnak
daa1df9f0f
make backlight code cleaner 2016-09-27 17:25:51 +02:00
Pavol Rusnak
8b27cc3b71
trezor.ui.display.backlight works now 2016-09-27 17:25:51 +02:00
Pavol Rusnak
9f40362482
remove homebrew docu generator, use docstring syntax 2016-09-27 17:25:50 +02:00
Pavol Rusnak
c0dfe2d702
fix include in ssss 2016-09-27 17:25:50 +02:00
Pavol Rusnak
154184e4e2
add unit tests for trezor.crypto.random 2016-09-27 17:25:48 +02:00
Pavol Rusnak
35b26651ba
add trezor.crypto.random 2016-09-27 17:25:47 +02:00
Pavol Rusnak
2cf75d85e7
more ssss work 2016-09-27 17:25:46 +02:00
Pavol Rusnak
6f08f3f6a8
update docu 2016-09-27 17:25:46 +02:00
Pavol Rusnak
852a950d66
fix issue with format string 2016-09-27 17:25:45 +02:00
Pavol Rusnak
9dc4813ec7
add trezor.crypto.ssss skeleton 2016-09-27 17:25:45 +02:00
Jan Pochyla
b6caad6b9b
send touch events on iface in modtrezormsg 2016-09-27 17:25:45 +02:00
Pavol Rusnak
b34b8e6959
change license to TREZOR License 2016-09-27 17:25:39 +02:00
Pavol Rusnak
38b66cb6d8
introduce msg.setup proof-of-concept 2016-09-27 17:24:23 +02:00
Pavol Rusnak
bf02fe0ddf
trezor.msg is now iface aware 2016-09-27 17:24:23 +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
9ed3b24edf
add default value to trezor.storage.get 2016-09-27 17:24:22 +02:00
Pavol Rusnak
ddf6771981
add trezor.storage 2016-09-27 17:24:22 +02:00
Jan Pochyla
9104d7684c
fix msg.send() 2016-09-27 17:24:21 +02:00
Jan Pochyla
46acb9ff2b
HID_READ is 8 now 2016-09-27 17:24:20 +02:00
Pavol Rusnak
dbc57b16d4
simulator border now reflects backlight value 2016-09-27 17:24:19 +02:00
Pavol Rusnak
171a7b3795
display.orientation() and display.backlight() now return current value 2016-09-27 17:24:19 +02:00
Pavol Rusnak
5968eb3f5f
add build_cross and build_frozen make targets 2016-09-27 17:24:19 +02:00
Pavol Rusnak
18abed64f0
fix black as alpha in ui simulator 2016-09-27 17:24:18 +02:00
Pavol Rusnak
8f7fc96301
add trezor.crypto.bip39.seed 2016-09-27 17:24:17 +02:00
Pavol Rusnak
910926e25c
add trezor.crypto.bip39 2016-09-27 17:24:17 +02:00
Pavol Rusnak
9222b77a03
improve inflate code 2016-09-27 17:24:17 +02:00
Jan Pochyla
2e280ca358
TOUCH_END is uint(4) now 2016-09-27 17:24:16 +02:00
Pavol Rusnak
20e426e846
rename gen_loader.py to loader_gen.py 2016-09-27 17:24:15 +02:00
Pavol Rusnak
406f0c6783
move unpack of icon to display_loader() 2016-09-27 17:24:15 +02:00
Pavol Rusnak
85d068f03f
reorganize modtrezorui sources 2016-09-27 17:24:14 +02:00
Pavol Rusnak
1e1242437c
sram_init -> display_sram_init 2016-09-27 17:24:14 +02:00
Pavol Rusnak
871ea5cc70
update vendor/micropython 2016-09-27 17:24:11 +02:00
Pavol Rusnak
7fb1d7247c
remove self from documentation where it should not be 2016-09-27 17:24:11 +02:00
Pavol Rusnak
67c0ecfb23
add possibility to change UDP ip+port via env variables 2016-09-27 17:24:11 +02:00
Pavol Rusnak
c5b5955539
add more docu 2016-09-27 17:24:10 +02:00
Pavol Rusnak
3d8f8a659a
rework documentation, proof of concept api docu generator 2016-09-27 17:24:10 +02:00
Jan Pochyla
b5f8c2303c
make event ids positive again
They are unsigned on the python side anyway.
2016-09-27 17:24:08 +02:00
Pavol Rusnak
b0a6b3fe15
implement bar with rounder corners 2016-09-27 17:24:08 +02:00
Pavol Rusnak
d2f65d67cd
rename buffer variables, add const where possible 2016-09-27 17:24:07 +02:00
Pavol Rusnak
588be646c0
move text_center, text_right methods into display class 2016-09-27 17:24:07 +02:00
Pavol Rusnak
707b642954
use wider border in emu 2016-09-27 17:24:07 +02:00
Pavol Rusnak
6f9edb349c
add fingerprint layout 2016-09-27 17:24:07 +02:00
Pavol Rusnak
d746c79fb8
add display.text_width 2016-09-27 17:24:07 +02:00
Pavol Rusnak
b7b57ae53e
new pbkdf2 api with update 2016-09-27 17:24:05 +02:00
Pavol Rusnak
5c6a7c91f2
iconfgcolor in display.loader works now 2016-09-27 17:24:05 +02:00
Pavol Rusnak
0e18fcce96
add iconcolor to display.loader (not implemented yet) 2016-09-27 17:24:05 +02:00
Pavol Rusnak
c91bca8a8a
improve display.loader 2016-09-27 17:24:04 +02:00
Pavol Rusnak
244002a4a8
fix last commit 2016-09-27 17:24:04 +02:00
Pavol Rusnak
6f4a34b741
add display.loader 2016-09-27 17:24:04 +02:00
Pavol Rusnak
34e3b51ba8
return tuple for msg events as well 2016-09-27 17:24:02 +02:00
Pavol Rusnak
11190fccba
remove extraneous motion events from queue 2016-09-27 17:24:01 +02:00
Pavol Rusnak
9856f96cf7
add hw button to msg.select, build 32-bit unix port by default 2016-09-27 17:24:01 +02:00
Jan Pochyla
38aa463060
make utils.select posix-compat 2016-09-27 17:24:00 +02:00
Pavol Rusnak
1664a4fc29
replace wait with msg.select 2016-09-27 17:24:00 +02:00
Pavol Rusnak
7559207a62
new message handling using msg.select 2016-09-27 17:23:59 +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
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
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
b41c1c3e4d
add data size to toi format header 2016-09-27 17:23:18 +02:00
Pavol Rusnak
f8713bad4d
add sha3 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
a230d9d294
hashes and pbkdf2 now have api of hashlib 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