1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
Pavol Rusnak
d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
We keep Python implementation of HMAC for Monero in
core/src/apps/monero/xmr/crypto/__init__.py
2020-10-12 16:33:13 +02:00
Andrew Kozlik
d90c3af6ea docs(core): Fix typos in slip39.py. 2020-10-11 00:31:24 +02:00
matejcik
244b264b47 chore(core): fix typing and kwargs usage 2020-09-23 16:00:10 +02:00
Gabriel Kerekeš
d2c1624602 Cardano shelley update 2/3 (#1112) 2020-07-27 13:11:23 +02:00
matejcik
5e7fd3aea6 core: use utils.BufferReader instead of apps.common.BytearrayReader 2020-07-24 14:09:31 +02:00
Andrew Kozlik
3b6c1e5e6b core/crypto: Add functions for verifying DER encoded signatures. 2020-07-03 11:17:19 +02:00
Andrew Kozlik
872768928b core/crypto: Fix endianity in DER length encoding. 2020-07-03 11:17:19 +02:00
Tomas Susanka
1ac0f60550 core: update isort config to place relative imports last 2020-05-18 14:31:51 +02:00
matejcik
aa52fc3903 core/extmod: drop unused rfc6979 module 2020-05-18 14:31:00 +02:00
Andrew Kozlik
d0b80bddc8 core/tests: Fix unit tests after sign_tx refactor. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
2b74513e49 core: Fix mypy. 2020-05-06 13:18:32 +02:00
Andrew Kozlik
79c60615de core: Fix typing. 2020-05-06 13:18:32 +02:00
matejcik
f90ba10af3 core: modify function signatures to match python-shamir-mnemonic 2020-01-09 16:00:33 +01:00
matejcik
1f6cc77dec upgrade black to 19.10b0 2019-11-20 16:02:47 +01:00
Tomas Susanka
cefb1cf4fd core: refactor slip39 2019-09-19 16:38:29 +02:00
Pavol Rusnak
07ef01f3e4
core: introduce BITCOIN_ONLY flag 2019-08-23 13:52:10 +02:00
Tomas Susanka
542f156b4f core/slip39: remove _encrypt
(cherry picked from commit 53ca61ab00)
2019-08-13 17:25:53 +02:00
Tomas Susanka
1b666804c0 core/shamir: fix EMS vs MS
(cherry picked from commit cb94454618)
2019-08-13 17:25:47 +02:00
Tomas Susanka
5bd8ad321e core/shamir: increase default iteration exponent to 1 2019-07-26 15:56:53 +02:00
Tomas Susanka
d2597d54c1 core/shamir: persistence
updates #270
2019-07-24 15:12:04 +02:00
Jan Pochyla
758a1a2528 core/typing: add annotations 2019-07-09 12:51:48 +02:00
Tomas Susanka
6c50b155de core: remove unused variables in Shamir recovery 2019-06-27 14:10:33 +02:00
Tomas Susanka
c205acd3e1 core/slip39: do not populate MnemonicError's message; do not throw exceptions with mnemonic inside the message 2019-06-27 14:00:45 +02:00
Tomas Susanka
10e5ec6135 core/slip39: generate and store slip39 identifier during reset 2019-06-25 14:43:20 +02:00
Tomas Susanka
989fb1491f core/slip39: suggest word sooner when a single one is left 2019-06-25 10:35:19 +02:00
Tomas Susanka
80f8f7900d core: add slip39 support to reset and recovery device 2019-06-23 21:33:58 +02:00
Andrew Kozlik
84d3723ee9 slip39: Add RS1024 error locator function. 2019-06-18 18:34:29 +02:00
Andrew Kozlik
0e277dfcb0 core/slip39: Fixed a bug when generating shares with group_threshold = 1. 2019-06-11 11:26:29 +02:00
Jan Pochyla
09da577fd9 core: use const in trezor.crypto.slip39 2019-05-28 11:17:07 +02:00
Pavol Rusnak
a3717c7b6c
core/slip39: use condensed wordlist 2019-05-27 19:39:41 +02:00
Pavol Rusnak
1583ea62f9
core: serialize signature in EosSignedTx message 2019-05-24 12:49:19 +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
0248671438 core/slip39: Resolve code review comments. 2019-05-03 15:12:13 +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
479396b56f core/slip39: Remove math module dependency. 2019-04-29 12:23:10 +02:00
Andrew Kozlik
d2a399debf Merge remote-tracking branch 'core-local/andrewkozlik/slip0039' into andrewkozlik/slip0039 2019-04-17 10:53:00 +02:00
matejcik
e5670856a2 MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00