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

66 Commits

Author SHA1 Message Date
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
Pavol Rusnak
cbea384a79
use macros for block/digest sizes 2016-09-27 17:22:52 +02:00
Pavol Rusnak
4c3eb5f015
allow to call hash.digest() more than once
add block_size/digest_size fields to hash objects
2016-09-27 17:22:51 +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
60d45a5d34
modify trezor.crypto.hash api to be similar to python api 2016-09-27 17:22:51 +02:00
Pavol Rusnak
7b702314a6
fix last commit 2016-09-27 17:22:51 +02:00
Pavol Rusnak
4eccc55c5c
add unit tests, add t.c.sha512 2016-09-27 17:22:50 +02:00
Pavol Rusnak
4ff68e7494
add static to mp_define_const 2016-09-27 17:22:50 +02:00
Pavol Rusnak
ed39c2001e
remove t.c.base58.*_check functions from module (this is app logic), add t.c.sha256 module 2016-09-27 17:22:49 +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
d0e179e090
rename touch.callback functions 2016-09-27 17:22:48 +02:00
Pavol Rusnak
a447cb5492
refactor display_rawcmd into display_raw 2016-09-27 17:22:47 +02:00