1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 22:18:13 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
Pavol Rusnak
540be49897
firmware: use OTP block 3 for storing randomness 2019-02-18 17:57:19 +01:00
Pavol Rusnak
79e9ae28b7
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator 2019-02-16 17:21:35 +01:00
andrew
4f32cb5083
firmware: integrate trezor-storage 2019-02-15 15:12:53 +01:00
Pavol Rusnak
79f0db555f
make: whitespace nitpick in mako non-verbose output 2018-09-14 15:06:03 +02:00
alepop
b0a7ea1f31 add Lisk support (#351) 2018-09-14 12:13:41 +02:00
Pavol Rusnak
69fa8e7ffe
Merge branch 'next' 2018-09-12 09:39:15 +02:00
matejcik
d36038aa1d
firmware: generate coin defs with Mako 2018-09-06 18:44:41 +02:00
Pavol Rusnak
c2fa3d8fca
firmware: re-enable Stellar
This reverts commit "firmware: disable Stellar for now"
c82ce39ce5
2018-09-04 15:14:32 +02:00
Pavol Rusnak
c82ce39ce5
firmware: disable Stellar for now 2018-08-27 17:17:56 +02:00
Pavol Rusnak
c3291c37af
vendor: update trezor-common; reflect rename of common.proto to messages-common.proto 2018-07-16 15:07:42 +02:00
Pavol Rusnak
0febd07dfc
firmware: update code to use new nested messages in trezor-common 2018-07-10 17:21:11 +02:00
Saleem Rashid
7949911748
Makefile.include: Hide command invocation unless V=1 2018-06-27 18:09:40 +02:00
ZuluCrypto
d1a48f32ce Stellar: use strings instead of bytes for addresses (#372)
* Use the new protobuf messages that send accounts as strings (fixes #367)
 * `stellar_signingAbort()` now takes an error message
 * Operations now check if a transaction is being signed (fixes #368)
 * Operations now return false on error or if the user cancels
 * Stellar `fsm_*` methods now check operation result and return early if the operation fails

This PR also re-enables the stellar code in the firmware.
2018-06-27 17:36:51 +02:00
Pavol Rusnak
16ad5ce854
firmware: disable Stellar for now 2018-06-20 00:05:38 +02:00
Pavol Rusnak
a46de7b591
build: optimize for speed just the essential critical crypto stuff 2018-06-19 16:00:31 +02:00
Pavol Rusnak
b73e18e573
firmware: implement zip143 overwinter 2018-06-12 19:12:00 +02:00
Pavol Rusnak
e2275a8b83
firmware: use new coin definitions from trezor-common 2018-05-29 17:17:29 +02:00
Saleem Rashid
7e407b467e Revert "nem: mosaics are generated from nem_mosaics.json in trezor-common"
This reverts commit c4beba839b.
2018-05-05 22:12:12 +01:00
Saleem Rashid
975c8c61ed Revert "firmware: reintroduce dep into Makefile"
This reverts commit aa6405e23c.
2018-05-05 22:12:02 +01:00
Pavol Rusnak
aa6405e23c
firmware: reintroduce dep into Makefile 2018-05-03 17:42:47 +02:00
Tomas Susanka
c4beba839b nem: mosaics are generated from nem_mosaics.json in trezor-common
closes #344
2018-05-02 17:32:47 +02:00
ZuluCrypto
8e8749dc68 Add support for Stellar 2018-05-02 15:19:05 +01:00
Pavol Rusnak
2c56c4de1b
firmware: use -Os except for crypto/nanopb parts 2018-05-02 13:15:12 +01:00
Jochen Hoenicke
cb6022ce04
Added support for cashaddr. 2018-04-05 11:28:05 +02:00
Saleem Rashid
b3f1d79821 coin_info: Refactor coins-gen.py 2018-04-02 21:47:15 +02:00
Saleem Rashid
7092951a40 Makefile: Add GENERATE_CODE function
Fixes #281
2018-04-02 21:47:15 +02:00
Jochen Hoenicke
ed7a8bfa6c
Fixes for emulator 2018-03-29 01:30:40 +02:00
Jochen Hoenicke
2587e49843 Disable fastflash.
It doesn't make sense any more and doesn't work with newer bootloaders.
2018-03-29 01:03:58 +02:00
Pavol Rusnak
9588e8f273
update bootloader to 1.4.0 via firmware, run unsigned firmware in unprivileged mode 2018-03-20 15:44:20 +01:00
Pavol Rusnak
bd660655ee
introduce and use memzero instead of explicit_bzero 2018-01-18 15:21:48 +01:00
Pavol Rusnak
c4e3596803
update trezor-crypto, adapt firmware to to changes 2018-01-13 15:20:10 +01:00
Saleem Rashid
fd57b89902 Makefile: Use $PYTHON 2017-12-19 14:11:51 +01:00
Saleem Rashid
bab8db9191 vendor: Update Nanopb to 0.3.9 2017-12-19 14:11:51 +01:00
Saleem Rashid
045ef22d98 storage: Do not use Nanopb 2017-12-19 14:11:51 +01:00
Saleem Rashid
ba5b44d0c5 emulator: Initial commit 2017-12-18 20:09:59 +01:00
Saleem Rashid
dc781725c6 hasher: Move to trezor-crypto
This reverts commit dd7b21a6ca.
2017-12-10 20:53:44 +01:00
Saleem Rashid
dd7b21a6ca hasher: Initial commit 2017-12-09 16:28:40 +01:00
Jochen Hoenicke
97581928de
Enable Segwit Bech32 addresses
Increase the size of the addresses in protobuf.
Fix layout2.c to handle longer addresses.
Add a field bech32_prefix to coins.h
Adapted the coins-gen script.
Added bech32 support in signing.c and transaction.c
2017-11-05 19:28:07 +01:00
Saleem Rashid
d006ef6bf7 Makefile.include: Generate dependency files before build (#225)
* Makefile.include: Generate .d files before build

* Makefile.include: Generate .small.d files before build
2017-10-10 20:54:21 +02:00
Pavol Rusnak
ca30449d07
build: add rebuild dep 2017-10-09 21:23:18 +02:00
Saleem Rashid
c87c16adc9 firmware: Generate nem_mosaics.[ch] at build time 2017-10-09 17:48:30 +01:00
Saleem Rashid
8dbd6182fb nem_mosaics: Initial commit 2017-10-01 13:24:13 +01:00
Saleem Rashid
19033a459d fsm: Add NEMSignTx 2017-10-01 13:24:13 +01:00
Saleem Rashid
c331d7e8f0 vendor: Update trezor-crypto 2017-10-01 13:24:13 +01:00
Jason Zavaglia
8983a346d9 Have coins.h and coins.c generated at build time (#220) 2017-09-30 11:09:11 +02:00
Jochen Hoenicke
98e617d874
startup: use custom reset_handler
+ group confidential data in one place
+ zero all SRAM where needed
2017-08-16 13:52:01 +02:00
Saleem Rashid
9c25e03d98 vendor: Update trezor-crypto 2017-08-14 16:45:11 +02:00
Saleem Rashid
c121627a06 Travis CI: Test matrix of DEBUG_LINK and FASTFLASH
This should catch inconsistencies with Features.coins or if there is a
build configuration that makes the firmware too large.

Also, add MAKEFLAGS and only build STM32F2 support in libopencm3 to
speed up build time
2017-08-14 16:44:44 +02:00
Saleem Rashid
ed5e9c9347 firmware: Define FASTFLASH in all cases 2017-06-25 18:19:07 +02:00
Saleem Rashid
21eb49faff firmware: Start fastflash when left button held 2017-06-25 18:19:07 +02:00