1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
Commit Graph

1120 Commits

Author SHA1 Message Date
Pavol Rusnak
4777df03b6
import mbedtls, use it in for hashes 2016-09-27 17:22:52 +02:00
Pavol Rusnak
afbd1b0f22
use api similar to hmac in pbkdf2 module 2016-09-27 17:22:52 +02:00
Pavol Rusnak
5d929fba0e
add trezor.crypto.pbkdf2 2016-09-27 17:22:52 +02:00
Pavol Rusnak
8b9f2a95b3
add trezor.crypto.hmac 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
e88cd6f20d
add trezor.utils (pure python) 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
0d8112f6b4
split trezor.crypto into more modules 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
slush0
ddfde9a0ad
Initial version of protobuf library 2016-09-27 17:22:49 +02:00
slush0
ee9b9ca351
Polished binding to protobuf, msg. 2016-09-27 17:22:49 +02:00
slush0
456e1fba44
Pipe support & async pipe transport 2016-09-27 17:22:48 +02:00
slush0
cbc2be00ca
Initial version of module os (from micropython-lib) 2016-09-27 17:22:48 +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
1986992bd9
make submodule_update -> make update 2016-09-27 17:22:47 +02:00
Pavol Rusnak
914e905146
add sync to make load 2016-09-27 17:22:47 +02:00
Pavol Rusnak
a447cb5492
refactor display_rawcmd into display_raw 2016-09-27 17:22:47 +02:00
Pavol Rusnak
1f4230dc20
implement trezor.ui.qrcode 2016-09-27 17:22:47 +02:00
Pavol Rusnak
089409c995
update docu, add display.backlight 2016-09-27 17:22:46 +02:00
Pavol Rusnak
516057a7fa
touch code wip 2016-09-27 17:22:46 +02:00
Pavol Rusnak
4ddde025db
use -i (inspect) feature of micropython 2016-09-27 17:22:46 +02:00
slush0
9cb42cc88d
Merge branch 'master' of github.com:satoshilabs/trezor-os 2016-09-27 17:22:41 +02:00
Pavol Rusnak
1d06839b37
prepare touch events for SDL 2016-09-27 17:21:04 +02:00
Pavol Rusnak
37a33efc57
refactor color and font definitions to trezor.ui module 2016-09-27 17:21:04 +02:00
slush0
8948d2c42a
tap.png 2016-09-27 17:21:03 +02:00
slush0
dc20152afe
Playground reflects new trezor.ui.display API 2016-09-27 17:21:03 +02:00
slush0
a42b654eba
Playground 2016-09-27 17:21:03 +02:00
slush0
971e9f7ff1
Lightly refactored uasyncio, added logging
Demo animations
2016-09-27 17:21:03 +02:00
Pavol Rusnak
bba9418214
add touch (WIP) 2016-09-27 17:21:03 +02:00
slush0
0b0e6186c6
Added uasyncio
Added playground module
2016-09-27 17:21:03 +02:00
Pavol Rusnak
8493da5f97
introduce trezor module 2016-09-27 17:21:02 +02:00
Pavol Rusnak
4a9b60a0f3
add load to Makefile 2016-09-27 17:21:02 +02:00
Pavol Rusnak
ee67b0bab7
make display class a singleton 2016-09-27 17:21:02 +02:00
Pavol Rusnak
774d6aaee4
use constants 2016-09-27 17:21:02 +02:00
Pavol Rusnak
c41922a654
fix wording 2016-09-27 17:21:02 +02:00
Pavol Rusnak
fef9a2266d
more font work 2016-09-27 17:21:01 +02:00
Pavol Rusnak
733b421580
move various devel scripts into Makefile 2016-09-27 17:21:01 +02:00
Pavol Rusnak
14e792e346
add mouseclick handling to modTrezorUi-unix 2016-09-27 17:21:01 +02:00
Pavol Rusnak
cdd89f9a77
add black border around display in emulator 2016-09-27 17:21:01 +02:00
Pavol Rusnak
0ebb25c82c
add scripts for st-flash, openocd and gdb 2016-09-27 17:20:58 +02:00