1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00
Commit Graph

7671 Commits

Author SHA1 Message Date
matejcik
afdfd5fbdb cardano: optimize transaction signing
squash merge. closes #94 and #130

Squashed commit of the following:

commit 1adc68051df863f5ce3767f6594d91fc9ad7bb16
Author: refi93 <rafael.korbas@gmail.com>
Date:   Tue May 7 00:13:07 2019 +0200

    cr fix

commit 833b831754aa3dfce4630e9d64e7fb6c5147ceb1
Author: refi93 <rafael.korbas@gmail.com>
Date:   Mon May 6 21:59:49 2019 +0200

    cr fix style

commit 2962e697c993d3df9a53dcc6cebc9148c1d701f5
Author: Matúš Juran <matus.juran@vacuumlabs.com>
Date:   Thu May 2 16:57:55 2019 +0200

    cardano: optimize transaction signing

    Optimize the storage of previous transactions. Instead of passing a list
    of transactions to the Transaction object, verify all inputs beforehand.
    Stop creating helper lists when serializing the transaction. This allows
    to process a few more inputs.
2019-05-07 17:33:00 +02:00
matejcik
17a7a92b7f core: remove setup.cfg, keep pytest.ini for convenience 2019-05-07 17:04:21 +02:00
matejcik
e55b42dddb common: fix tGOR entry 2019-05-07 16:45:34 +02:00
matejcik
bf067cc0c6 core: better handling of TxRequest with mixed inputs
fixes #133
2019-05-07 16:31:40 +02:00
matejcik
f7e0bb6183 style: improve pylint exclusions 2019-05-07 16:31:04 +02:00
matejcik
388400bc1b core: remove or mark star imports 2019-05-07 16:31:04 +02:00
matejcik
af82fe1d8e style: update requirements, isort call arguments 2019-05-07 16:31:04 +02:00
matejcik
cf5df6b39b style: improve Makefile, stricter style rules 2019-05-07 16:31:04 +02:00
matejcik
43d080a30d device_tests: remove unused import 2019-05-07 16:31:04 +02:00
matejcik
75fe46d067 trezorlib: allow text values for enums in dict_to_proto 2019-05-07 16:31:04 +02:00
ligi
e388b69fbd common/defs: Add Ethereum Testnet Goerli (#137) 2019-05-07 12:34:28 +02:00
Andrew Kozlik
28c85dee8e
Merge pull request #85 from trezor/andrewkozlik/slip0039
Implement SLIP-0039 primitives in MicroPython and C.
2019-05-06 13:34:27 +02:00
Pavol Rusnak
25cfd505f4
storage: allright isort, you win 2019-05-04 22:47:05 +02:00
Pavol Rusnak
0ae10a1924
legacy+storage: fix style checks 2019-05-04 22:42:40 +02:00
Pavol Rusnak
f27187e603
core: embed background images into the emulator binary 2019-05-04 22:33:48 +02:00
Pavol Rusnak
87f14965c4
core: finish frozen modules support 2019-05-04 22:15:20 +02:00
Pavol Rusnak
ce4a1f2e1d
core: remove unnecessary files 2019-05-03 21:37:01 +02:00
Pavol Rusnak
eb1192bc2c
core: simplify emu.sh runner 2019-05-03 21:28:24 +02:00
Andrew Kozlik
bebce78881 core/slip39: Update code logic, tests and test vectors in accordance with the new requirement that the number of shares provided is equal to the threshold. 2019-05-03 18:28:14 +02:00
Andrew Kozlik
ff594753e0 core/tests/slip39: Add tests for invalid threshold. 2019-05-03 16:09:40 +02:00
Andrew Kozlik
0248671438 core/slip39: Resolve code review comments. 2019-05-03 15:12:13 +02:00
Andrew Kozlik
025974a97d crypto/shamir: Memzero stack variables even in performace critical functions. 2019-05-03 14:18:54 +02:00
Andrew Kozlik
223868f552 crypto/shamir: Fix edge case when shamir_interpolate() is called with duplicate share indices which are equal to the result index. 2019-05-02 18:44:56 +02:00
Andrew Kozlik
0a99ad3f13 Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039 2019-05-02 15:08:43 +02:00
Andrew Kozlik
edab43234d core/slip39: Disallow creating multiple member shares with member threshold 1. Add tests for invalid parameters to generate_mnemonics(). 2019-05-02 15:00:04 +02:00
Andrew Kozlik
0c3dde6464 tests: Update SLIP-0039 test vectors. 2019-05-02 14:55:58 +02:00
Sotiris Blad
6a3d6b15a9 common/defs: add MUE blockbook (#127) 2019-05-01 16:38:57 +02:00
Pavol Rusnak
9f924576ba
ci/core: enable unix frozen build in the ci 2019-05-01 13:43:31 +02:00
Pavol Rusnak
6e6ff78ce0
core: re-enable frozen modules in the emulator build 2019-05-01 13:41:23 +02:00
ilmango
b865ee7656 common/defs: Add Bellcoin (#124) 2019-05-01 11:33:19 +02:00
Pavol Rusnak
14b2cc336a
legacy: initialize decoded variable 2019-04-30 23:31:07 +02:00
Pavol Rusnak
0a8995bc86
legacy: update firmware changelog 2019-04-30 18:22:49 +02:00
Pavol Rusnak
4b8c418dbc
core: fix docker build 2019-04-30 18:03:24 +02:00
Sotiris Blad
4672993393 common/defs: update MUE vals (#120) 2019-04-30 12:34:17 +02:00
matejcik
0fc275a835 core: make templates after token handling change 2019-04-29 19:22:07 +02:00
matejcik
a6bd24dfc9 fix link in readme 2019-04-29 19:11:44 +02:00
matejcik
8ddeff7598 common/tools: do not auto-set duplicate for coin/token combination
Also update some auto-set dups to manually-set dups.
Leaving TRC token enabled because bitcoin:TRC is unsupported.
2019-04-29 19:08:11 +02:00
matejcik
4b407a9ac1 common/tools: fix code that only worked by accident 2019-04-29 18:49:41 +02:00
matejcik
6bd5345021 common/tools: allow tokens to collide with nontokens
if explicitly supported in support.json

This reverts commit 7cf22c5227.
2019-04-29 18:49:41 +02:00
Andrew Kozlik
479396b56f core/slip39: Remove math module dependency. 2019-04-29 12:23:10 +02:00
Andrew Kozlik
48a98efc58 crypto/shamir: Reorder #includes. 2019-04-29 12:04:31 +02:00
Andrew Kozlik
e631983d6d Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039 2019-04-29 11:29:54 +02:00
Tomas Susanka
fe3d67e259 ci: set GIT_SUBMODULE_STRATEGY to none where not submodules are not needed
I've decided to omit some places (e.g. build crypto) where it might be
confusing if some submodules dependency is introduced. Well, that
concerns tests stages as well, but I guess it is more likely for the
build stage.

Updates #108
2019-04-28 12:37:34 +02:00
Tomas Susanka
7c58d7d24e ci: split gitlab configuration files and store them in a 'ci' folder
The core/build-docker.sh si broken, but so it was already in master and
is tracked to be fixed in #108.
2019-04-28 09:31:41 +02:00
Pavol Rusnak
597b9fabd1
legacy: fix build parameters 2019-04-27 16:38:08 +02:00
Pavol Rusnak
32c5f58782
core: regenerate templates 2019-04-27 16:23:17 +02:00
Pavol Rusnak
236ca1ae83
legacy: enable Bitcoin only firmware 2019-04-27 16:16:33 +02:00
Pavol Rusnak
b76fb0905d
core: remove flamegraph 2019-04-26 22:52:00 +02:00
Pavol Rusnak
13195831d5
gitlab: build also legacy firmware with debug link 2019-04-26 18:41:01 +02:00
Pavol Rusnak
719d54d97d
core: regenerate templates 2019-04-26 18:06:36 +02:00