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

200 Commits

Author SHA1 Message Date
slush0
369cc485d4
uasyncio renamed as trezor.loop 2016-09-27 17:23:56 +02:00
slush0
a102888233
Event loop moved to loop.py
Removed unused layout demo
2016-09-27 17:23:56 +02:00
slush0
afb4bb7d76
WIP 2016-09-27 17:23:54 +02:00
slush0
c0487f1d6b
Adapt to new event loop interface 2016-09-27 17:23:24 +02:00
slush0
f2703f1af2
Allow parameters to layout functions 2016-09-27 17:23:24 +02:00
slush0
46353ed2e1
Removed EventLoop class, even loop is a module. Saves ~30kB RAM. 2016-09-27 17:23:24 +02:00
slush0
078365f5d9
Updated playground 2016-09-27 17:23:24 +02:00
slush0
cc71fb0a02
Convert delays from float to int (ticks_us) 2016-09-27 17:23:23 +02:00
slush0
f27d5ad725
Remove unused code 2016-09-27 17:23:23 +02:00
Pavol Rusnak
d5e2e2ee45
update micropython submodule 2016-09-27 17:23:23 +02:00
Pavol Rusnak
ee3614ae6a
cleanup pb2py, add debug to emu.sh 2016-09-27 17:23:23 +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
slush0
e6df94cbd5
pb2py generator, build_pb2.sh 2016-09-27 17:23:22 +02:00
Pavol Rusnak
32403b618e
use ubinascii for unhexlify in unit tests 2016-09-27 17:23:21 +02:00
Pavol Rusnak
26ab1b2020
update trezor-crypto 2016-09-27 17:23:21 +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
250e35348e
rework note about endianity 2016-09-27 17:23:21 +02:00
Pavol Rusnak
4b9d3bffc6
add firmware format documentation 2016-09-27 17:23:20 +02:00
Pavol Rusnak
6a3cf02396
add documentation about toif 2016-09-27 17:23:20 +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
92fcafa9e9
update vendor/micropython submodule 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
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