1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

7638 Commits

Author SHA1 Message Date
Andrew Kozlik
ad5d9168c8 legacy: Move wait_random() to common.c and use HMAC DRBG to generate delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
013929de0b crypto/hmac_drbg: Fix buffer overflow. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
c2bdd1cf32 core/common: Change delay_random() to wait_random(). 2019-06-11 11:41:40 +02:00
Andrew Kozlik
531c610a17 storage: Use wait_random() from common.h. Fix build for tests. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
d95756ccf3 crypto/hmac_drbg: Fix style. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
f677a0f0db core: Use PRNG when generating random delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
1d9e125fd4 crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Remove code duplication between rfc6979.c and ecdsa.c. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
b915092a44 crypto/hmac_drbg: Add nonce parameter to hmac_drbg_init(). 2019-06-11 11:41:40 +02:00
Andrew Kozlik
7c44340c40 crypto: Add HMAC deterministic random bit generator and unit tests. 2019-06-11 11:41:40 +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
Pavol Rusnak
0b96b48a8c
core/tools: rename toif_convert to toif_convert.py 2019-06-09 19:17:53 +02:00
Pavol Rusnak
b89134bf3f
core/tools: fix style in toif_convert 2019-06-09 19:04:10 +02:00
Pavol Rusnak
9cb9653c27
core: refactor png2toi/toi2png tools into one toif_convert usable as a library
unify filename extensions
2019-06-09 18:07:07 +02:00
Ashot Khachatryan
b7d1404803 common/defs: add Bitcore backends to CRW (#234) 2019-06-08 23:01:39 +02:00
Pavol Rusnak
53a4116685
add SECURITY.md 2019-06-06 19:50:57 +02:00
Tomas Susanka
677562d571
Merge pull request #216 from trezor/tsusanka/iss212-monere-tests
ci: download monero tests binary in docker
2019-06-06 10:57:24 +02:00
matejcik
835d5df175
core: reset i2c bus when detected busy
(cherry picked from commit bf79384845)
2019-06-05 14:18:24 +02:00
Pavol Rusnak
e6bb2697c8
core: update ChangeLog 2019-06-05 14:17:38 +02:00
Ashot Khachatryan
6ff644c304 common/defs: new prefixes for CROWN (#222) 2019-06-05 13:42:26 +02:00
Tomas Susanka
adbc724d98 submodules: remove secp256k1-zkp's branch name because it will rotate
see https://github.com/ElementsProject/secp256k1-zkp/issues/68
2019-06-04 08:21:42 +02:00
Tomas Susanka
83a5ae3def ci: download monero tests binary in docker
closes #212
2019-06-03 19:44:41 +02:00
Roman Zeyde
0219c9cef8 common/defs: add Elements regtest support (#213) 2019-06-02 19:39:20 +02:00
Pavol Rusnak
1ee5068128
core/cbor: fix string conversion to work with bytearrays 2019-06-01 11:49:27 +02:00
Andrew Kozlik
31506d81e9
core/cbor: move CBOR from cardano to common
- add support for text strings and boolean values
- add support negative integers and decoding maps
- fix decoding of short strings
- encode maps canonically
- add unit tests for decoding
- sort maps lexicographically by encoded key
2019-06-01 11:38:52 +02:00
Pavol Rusnak
751715dc15
common/defs: add to support.json, regenerate 2019-06-01 08:57:06 +02:00
Scotty0448
a2f16ebb87
common/defs: update sign message headers for RITO and RVN 2019-06-01 08:52:01 +02:00
Roman Zeyde
b538eb3375
core/secp256k1_zkp: refactor API into a Context class
In order to prevent frequent memory allocations, the user can create a single
Context object and re-use it between subsequent cryptographic operations.
2019-05-31 17:29:49 +02:00
matejcik
91b23f3ea2 git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "31a0073c"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "31a0073c"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2019-05-31 16:10:21 +02:00
Tomas Susanka
6a27328801
xmr: get_address - pagination, integrated address (#201)
xmr: get_address - pagination, integrated address
2019-05-31 15:06:46 +02:00
Tomas Susanka
7d845d9090 Revert "submodules: temporary set ElementsProject/secp256k1-zkp submodule a fork due to missing reference"
This reverts commit 088760fa1e.
2019-05-31 14:47:12 +02:00
Tomas Susanka
412efcd35e tests: remove progress bar from curl
It makes CI logs nicer.
2019-05-31 14:44:45 +02:00
Tomas Susanka
088760fa1e submodules: temporary set ElementsProject/secp256k1-zkp submodule a fork due to missing reference
See https://github.com/ElementsProject/secp256k1-zkp/issues/68
2019-05-31 14:13:25 +02:00
Milan Rossa
779ff86214
core: redesign multiprofile support, add profile verbosity 2019-05-31 13:32:49 +02:00
Dusan Klinec
16317f1814
xmr: get_address - pagination, integrated address
- pagination added to show_address
- integrated address supported
- QR code fixed (prefix with monero: as GUI does)
2019-05-31 13:18:11 +02:00
Sean McGary
a7fe56bd57 common/defs: add ASK (#200) 2019-05-31 11:24:35 +02:00
Scotty0448
a2370e0384 common/defs: add Ritocoin blockbook host (#198) 2019-05-30 17:29:01 +02:00
matejcik
21e485709b python/build: drop vendor subdirectory 2019-05-29 18:59:19 +02:00
matejcik
6060a56d2c python/changelog: update changelog, tag release 2019-05-29 18:52:52 +02:00
matejcik
e6f440e11c python: add or update licence headers 2019-05-29 18:48:15 +02:00
matejcik
8d393b8925 python/changelog: update changelog generator 2019-05-29 18:33:45 +02:00
ligi
af2d35250a common/defs: fix Rinkeby URL (#197) 2019-05-29 11:27:57 +02:00
Jan Pochyla
961499fdcf core: fix uppercase ripple address in qr code
Fixes #191
2019-05-28 15:57:04 +02:00
Jan Pochyla
0b03794fee core/tests: disable fading, improve runners 2019-05-28 13:12:46 +02:00
Jan Pochyla
36534325f0 core: revamp the UI subsystem 2019-05-28 13:12:46 +02:00
Jan Pochyla
2f4c123466 core: fix gitignore for older git 2019-05-28 11:17:07 +02:00
Jan Pochyla
09da577fd9 core: use const in trezor.crypto.slip39 2019-05-28 11:17:07 +02:00
Pavol Rusnak
b89d1db0e4
core: update build instructions 2019-05-28 10:24:49 +02:00
Pavol Rusnak
917f5c6534
core: remove bashisms from emu.sh 2019-05-28 10:19:18 +02:00
Pavol Rusnak
a3717c7b6c
core/slip39: use condensed wordlist 2019-05-27 19:39:41 +02:00
Pavol Rusnak
11aac67c82
core: fix last commit 2019-05-27 17:45:06 +02:00