1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-15 11:08:08 +00:00
Commit Graph

14446 Commits

Author SHA1 Message Date
Pavol Rusnak
46fa586b12
further work on making rand.{c,h} more global 2018-01-13 15:07:19 +01:00
Peter D. Gray
65e976d70c rand.c: platform depedenant code can be removed using CPP flag 2018-01-13 14:52:42 +01:00
Peter D. Gray
cb8c910a0c Makefile: simplify include path, move subdirs to where used in C files 2018-01-13 14:51:51 +01:00
Pavol Rusnak
d11bbde2e1
trezor.crypto: fix sha3-{256,512} argument handling 2018-01-12 13:50:34 +01:00
Pavol Rusnak
7efef68e97
trezor.crypto: add static keyword to crc 2018-01-12 13:43:52 +01:00
Pavol Rusnak
a31c118d8e
protobuf: update build_protobuf and pb2py from python-trezor, regenerate messages 2018-01-12 13:11:22 +01:00
Pavol Rusnak
c78c548752
protobuf: delete old messages first 2018-01-12 13:10:36 +01:00
Pavol Rusnak
694bc7ac11
protobuf: don't generate storage protobuf 2018-01-12 13:06:43 +01:00
Pavol Rusnak
8f6b2449be
sort imports in pb2py 2018-01-12 12:58:39 +01:00
Pavol Rusnak
78d2c07d34
regenerate pb messages 2018-01-12 12:54:06 +01:00
Pavol Rusnak
7e382fb790
update to python3 2018-01-12 00:03:55 +01:00
Pavol Rusnak
af93c7299d
apps.ethereum: don't use ButtonRequestType.ConfirmOutput for compatibility with T1 2018-01-11 23:11:13 +01:00
Tomas Susanka
c06ec002a3 ethereum/signing: typo
already tested, tests implemented in the pythontrezor repo
2018-01-11 23:08:35 +01:00
Tomas Susanka
aa8bb77e32 ethereum/signing: display data fix 2018-01-11 23:08:35 +01:00
Tomas Susanka
7d0cafecc3 ethereum/singing: layout seperated 2018-01-11 23:08:35 +01:00
Pavol Rusnak
47cfa178e4
tests: fix test_msg_ethereum_signtx.py 2018-01-11 23:06:47 +01:00
Tomas Susanka
0c517c1565 tests/device: code style typos 2018-01-11 22:54:08 +01:00
Tomas Susanka
4bbf5880ce tests/device: ethereum sign tx with expected checks 2018-01-11 22:54:08 +01:00
Pavol Rusnak
2317aaedb9
tools: update how vtrust is being passed to build_vendorheader 2018-01-10 20:47:07 +01:00
Pavol Rusnak
4d065df376
build: add possibility to build ARM toolchain from source 2018-01-09 21:45:43 +01:00
Pavol Rusnak
ee925f7813
prodtest: draw border on start too 2018-01-09 21:21:55 +01:00
Jan Pochyla
622cb847e5 prodtest: fix touch coordinates 2018-01-09 15:28:11 +01:00
Pavol Rusnak
e618402429
trezorctl: firmware_update -e erases firmware (first 32K; rendering it unusable) 2018-01-09 12:12:32 +01:00
Pavol Rusnak
f0cd76de47
tools.codegen: remove unused import from gen_cert_bundle.py 2018-01-08 23:57:16 +01:00
Pavol Rusnak
30b0863725
tools.codegen: use certifi in gen_cert_bundle.py 2018-01-08 23:56:08 +01:00
Pavol Rusnak
f806488536
tools: fix computation of header fingerprint in binctl tool 2018-01-08 22:40:00 +01:00
Pavol Rusnak
6ac59f426f
tools.codegen: include commithash an repo url in gen_cert_bundle.py 2018-01-08 00:56:39 +01:00
Pavol Rusnak
10344dd864
tools.codegen: print nice stats at the end 2018-01-07 22:46:54 +01:00
Pavol Rusnak
dcb32d91f7
tools.codegen: rework gen_cert_bundle to use certs from Mozilla 2018-01-07 22:43:14 +01:00
Pavol Rusnak
a54c5fe89e
test_openssl: fix build with openssl 1.1.0+
OpenSSL 1.1.0 made R and S fields of ECDSA_SIG structure internal.
We need to use ECDSA_SIG_set0 function now. For some reason the test fails,
but previously the code was not even possible to compile with OpenSSL 1.1.0.

Still need to figure out why the test fails :-(
2018-01-07 21:51:33 +01:00
Pavol Rusnak
0c5eac2f39
skip None and empty ([]) fields in proto messages 2018-01-07 18:07:13 +01:00
Pavol Rusnak
7537c26c83
trezor.crypto: use mp_obj_new_str_from_vstr where we already have preallocated vstr 2018-01-07 13:56:18 +01:00
Pavol Rusnak
981ec87877
trezor.crypto: put back vstr where it makes sense (= user controlled input) 2018-01-05 13:13:20 +01:00
Pavol Rusnak
26ac0b6e52
cross: don't use MICROPY_FORCE_32BIT=1 (no need for that) 2018-01-05 01:07:05 +01:00
Pavol Rusnak
94fcc8c9a4
add bip84 (native segwit) 2018-01-04 22:30:40 +01:00
Pavol Rusnak
8eb071f371
docker/travis: update to gcc-arm-none-eabi-7-2017-q4-major 2018-01-04 18:18:24 +01:00
Pavol Rusnak
f587135b8d
fix last commit (also skip print statement) 2018-01-04 16:55:27 +01:00
Tomas Susanka
4e01971e4c client: expected field check fix 2018-01-04 16:48:16 +01:00
Pavol Rusnak
7d1d6ce393
src: import hexlify explicitly, fix hexlify usage 2018-01-04 13:24:39 +01:00
Pavol Rusnak
4a7592d470
trezor.crypto: remove vstr usage, refactor mp_obj_new_str_from_vstr into mp_obj_new_bytes and mp_obj_new_str 2018-01-03 21:53:58 +01:00
Pavol Rusnak
8dd5edb4a1
tools: add codegen/gen_cert_bundle.py 2018-01-02 20:59:09 +01:00
Pavol Rusnak
b98a1db6ee
embed: cleanup unused modules 2018-01-02 20:00:12 +01:00
Pavol Rusnak
fa95f0a037
trezor.crypto: implement chacha20poly1305 aka rfc7539 2018-01-02 18:57:23 +01:00
Pavol Rusnak
5a304d8e25
vendor: update trezor-crypto 2018-01-02 14:35:41 +01:00
Pavol Rusnak
8d8bc9c762
bip39: use static modifier 2018-01-02 14:15:08 +01:00
Pavol Rusnak
b9d5af8c19
modtrezorcrypto: remove ssss (different implementation will be re-added later) 2018-01-02 14:13:42 +01:00
Pavol Rusnak
4cc8a5432d
bootloader: use normal/regular font rather than bold 2018-01-02 01:44:39 +01:00
Pavol Rusnak
94588dd588
modtrezorui: introduce TREZOR_FONT_PREFILL, set it to 0 in bootloader 2018-01-02 01:37:31 +01:00
Pavol Rusnak
424115967f
embed: fix wur for usb functions 2018-01-01 21:49:08 +01:00
Pavol Rusnak
f1a75b36f7
vendor: update micropython to 1.9.3 release 2018-01-01 21:49:08 +01:00