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
Saleem Rashid
65bb167db6
firmware: Create ELF from fastflash/bootloader.bin
2017-06-25 18:19:07 +02:00
Saleem Rashid
1214a3f69b
vendor: Update trezor-crypto
2017-06-25 18:12:36 +02:00
Saleem Rashid
77c4e7b167
vendor: Update trezor-crypto for GCC 7.1.1
2017-06-13 15:17:23 +02:00
Pavol Rusnak
ba9aae143e
ethereum: support for ERC-20 tokens
2017-05-17 02:53:11 +02:00
Pavol Rusnak
5faee8149f
update trezor-crypto
2017-05-08 17:16:20 +02:00
Pavol Rusnak
d7d3d0490e
update trezor-crypto
2017-03-28 23:19:59 +02:00
Pavol Rusnak
ea35b4bfe7
update trezor-crypto
2016-10-24 20:55:45 +02:00
Roman Zeyde
b57c0ff430
Use trezor-crypto ECDH, adding Curve25519 support
2016-10-16 01:34:02 +02:00
Pavol Rusnak
c0181b1aec
extract address related stuff into trezor-crypto
2016-10-10 11:26:52 +02:00
Alex Beregszaszi
a9449520b8
Ethereum signing skeleton
2016-08-19 03:14:38 +01:00
Nick Johnson
a031b79e24
Add sha3.o to OBJS
2016-08-19 03:14:38 +01:00
Alex Beregszaszi
bf465357ee
Include placeholder handlers for the Ethereum protocol
2016-08-19 03:14:38 +01:00
Jochen Hoenicke
cf38291ca4
Updated branch u2f
2016-04-29 16:19:54 +02:00
Jochen Hoenicke
51f02ff763
ed25519 support
2016-04-22 18:22:45 +02:00
Pavol Rusnak
6e3aec0c1b
move submodules to vendor subdirectory
2015-12-15 23:01:54 +01:00
Mark Bryars
9328cad7f1
Add U2F support
2015-11-03 16:47:12 +01:00
Roman Zeyde
0ac032917b
enable Trezor to perform SSH public key authentication
...
support both NIST256P1 and SECP256K1 ECDSA curves.
2015-06-26 10:43:39 +03:00
Pavol Rusnak
fb2a085fff
update trezor-crypto
2015-03-12 16:14:11 +01:00
Pavol Rusnak
94531f264e
speed up public ckd (used in multisig)
2015-02-15 20:47:53 +01:00
Pavol Rusnak
b5eecb30be
downgrade nanopb to LTS version 0.2.9.1
2014-12-27 16:05:34 +01:00
Pavol Rusnak
f75515544f
move Sign/Verify to crypto.c/h, implement Encrypt/Decrypt
2014-11-25 19:32:04 +01:00
Pavol Rusnak
960c665aac
update protobuf, require address for verifymsg
2014-11-15 02:00:07 +01:00
Pavol Rusnak
e5d55967a0
implement GetAddress.show_display
2014-08-13 11:08:15 +02:00
Pavol Rusnak
524f2a957a
enable stack protector
2014-07-31 19:44:03 +02:00
Pavol Rusnak
67ad043209
adapt to new aes api
2014-06-09 19:00:07 +02:00