Commit Graph

167 Commits

Author SHA1 Message Date
Pavol Rusnak 7f5fa78f35
modtrezorcrypto: add ECDH for nist256p1, secp256k1, curve25519 (multiply method) 2016-10-22 00:51:52 +02:00
Jan Pochyla 4e47ae1606 modtrezorcrypto: add HDNode.address
TODO: tests
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
Pavol Rusnak fffe930d8c
modtrezorui: rename fonts 2016-10-18 15:05:55 +02:00
Pavol Rusnak bf919e9192
modtrezorconfig: prepare for norcow usage 2016-10-14 18:40:30 +02:00
Pavol Rusnak ce638fe94a
modutrezorui: enable LCD_FMARK/PD12 handling on stmhal 2016-10-14 18:11:00 +02:00
Jan Pochyla 2ff937b707 modtrezorcrypto: fix ecsda_sign calls
TODO: allow the caller to provide the is_canonical parameter: trezor/trezor-crypto@133c068f37
2016-10-14 15:46:09 +02:00
Jan Pochyla cd9fca42b7 modtrezorcrypto: add bip32 deserialization 2016-10-14 15:12:17 +02:00
Pavol Rusnak f16d730c58
modtrezorui: display.raw data parameter is now optional 2016-10-14 14:52:36 +02:00
Pavol Rusnak 037df3357c
modtrezorui: functions can draw off-canvas now and respect drawing offset 2016-10-13 18:16:11 +02:00
Pavol Rusnak 35beedfcbc
modtrezorui: add display.offset() function 2016-10-12 18:58:18 +02:00
Jan Pochyla 39c2766ae0 add modtrezorutils
Contains a memcpy helper for zero-cost copying between two buffers (bytearray or memoryview).
2016-10-11 17:15:50 +02:00
Pavol Rusnak 9e3102742e
modules: add missing copyright headers 2016-10-11 14:05:55 +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 ad6c274e07
modtrezorui: loader icon is now 64x64; reorganize icons 2016-10-10 14:51:52 +02:00
Pavol Rusnak 3e8b025cbd
use mp_obj_new_str_of_type where it makes sense instead of mp_obj_new_str_from_vstr 2016-10-07 13:57:21 +02:00
Pavol Rusnak 2bba78bf87
fix pbkdf2.key() method 2016-10-07 13:41:25 +02:00
Pavol Rusnak 446ea33dc1
minor changes in modtrezorcrypto docu 2016-10-07 13:27:43 +02:00
Pavol Rusnak 4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions 2016-10-07 12:09:05 +02:00
Pavol Rusnak a654b4c17d
stmhal: fix display_raw 2016-10-06 16:56:38 +02:00
Pavol Rusnak 3e9b6c09b0
stmhal: simplify init of display 2016-10-06 15:57:05 +02:00
Jan Pochyla 128a4b20b5 crypto: add bip32 2016-10-06 15:05:14 +02:00
Pavol Rusnak 8b22a38bce
new init sequence for display 2016-10-06 14:29:24 +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 c5897e71ad
split extract bar_radius into a separate function 2016-10-05 20:30:53 +02:00
Pavol Rusnak 27fb301b22
validate mp_buffer_info_t usage for cases where len==0 2016-10-04 19:22:48 +02:00
Pavol Rusnak 157b12374f
make loader smaller 2016-10-04 16:33:57 +02:00
Pavol Rusnak e361eb157d
move text_center and text_right to lower layer, compute text length if not provided 2016-10-04 00:21:06 +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 18c2066d83
move timer1_get_source_freq to display-stmhal.h 2016-10-03 17:49:45 +02:00
Pavol Rusnak 31a937de1b
bootloader ui (work in progress) 2016-10-03 16:17:49 +02:00
Pavol Rusnak d7398619e1
introduce trezor.ui.display.refresh 2016-10-03 11:52:19 +02:00
Pavol Rusnak 281070492d
fix bootloader, extract FONT_* constants 2016-09-28 18:21:29 +02:00
Pavol Rusnak 19bb7fc1e3
use display_clear where possible 2016-09-28 17:13:46 +02:00
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