Pavol Rusnak
3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font
2018-08-16 20:59:24 +02:00
hackyminer
9a5c38dad4
src/apps/ethereum: support full 32bit chain_id
...
* remove chain_id restriction to support full 32bit chain_id.
* for chain_id > MAX_CHAIN_ID(2147483630) case, simply return v signature parity.
* see also https://github.com/trezor/trezor-mcu/pull/399
2018-08-14 19:46:27 +02:00
hackyminer
cadc6786f0
docker: protobuf stuff added
2018-08-14 19:43:19 +02:00
Tomas Susanka
25f14f6695
cardano: bip32 path is not displayed ( #306 )
2018-08-14 15:30:41 +02:00
Pavol Rusnak
1a6e0f053a
embed/extmod/modtrezorcrypto: refactor AES API, use test from NIST SP 800-38A
2018-08-14 14:42:19 +02:00
Pavol Rusnak
ebf912c8f1
src/trezor/crypto: introduce SecureContext
...
usage:
from trezor.crypto import SecureContext
with SecureContext() as sc:
sc.var1 = ...
sc.var2 = ...
SecureContext will call destructors of all variables assigned
to sc in the block. It will also call gc.collect()
2018-08-06 17:05:58 +02:00
Pavol Rusnak
7b6e8a1158
docs: add GC9307 to hardware.md
2018-08-04 21:53:55 +02:00
Pavol Rusnak
e3d18ecb47
embed: refactor display_identify into a "getter" function
2018-08-04 20:45:59 +02:00
Pavol Rusnak
3022cd50c8
embed: use runtime detection of connected display controller
2018-08-04 17:43:54 +02:00
Pavol Rusnak
7b8266221d
embed: use static where appropriate in display-stm32.h
2018-08-04 17:22:23 +02:00
Pavol Rusnak
68ef9b9322
embed: add comment about why first value of display_id is discarded
2018-08-04 17:19:04 +02:00
Pavol Rusnak
bc5dba751a
embed: refactor display_identify in display-stm32
2018-08-04 17:15:29 +02:00
mcudev
c0b5d33743
display_identify: improve identification of ILI9341
2018-08-04 17:03:40 +02:00
Pavol Rusnak
cc3882abf1
vendor: update trezor-common; regenerate messages
2018-08-03 19:14:29 +02:00
Pavol Rusnak
bfbc6d5ab9
src: cleanup "utf8" madness
2018-08-03 18:52:20 +02:00
Pavol Rusnak
4ebd7d2ad8
embed/extmod/modtrezorui: fix typo in display-stm32.h
2018-08-03 13:39:06 +02:00
Pavol Rusnak
f1dc43f951
embed: don't sync in display_refresh when using GC9307
2018-08-02 19:02:04 +02:00
Pavol Rusnak
e7a74ccfee
embed: add support for GC9307 display driver
2018-08-02 18:30:43 +02:00
Pavol Rusnak
f4252d755c
embed: introduce display_identify
2018-08-01 18:52:58 +02:00
Pavol Rusnak
10396777b8
tools: run black and flake8 on tools/
2018-07-31 11:35:09 +02:00
Pavol Rusnak
481bb4ccab
embed: remove unused stmhal stuff from build dependencies
2018-07-30 18:37:37 +02:00
Jan Pochyla
ce7ed00eb9
Merge pull request #272 from trezor/tsusanka/ripple
...
Add Ripple support
2018-07-30 17:00:01 +02:00
Tomas Susanka
92e4c60237
ripple: README
2018-07-30 16:37:49 +02:00
Tomas Susanka
66b8bbb1a5
ripple: style fixes
2018-07-30 16:37:49 +02:00
Tomas Susanka
08945c48e1
ripple: simple tx serializer; signing
...
This supports only fraction of the whole binary format Ripple uses. This
is focused on the Payment transaction type, which is currently solely
supported.
2018-07-30 16:37:49 +02:00
Tomas Susanka
b5c2ae49dd
ripple: get address
2018-07-30 16:37:48 +02:00
Pavol Rusnak
51d810b6da
vendor: update trezor-common
2018-07-27 12:34:59 +02:00
Pavol Rusnak
32fbc69c30
embed: refactor BUFFER_OFFSET modification in display_set_orientation
2018-07-26 15:32:23 +02:00
jmuravsky
09ddcc7ac9
cardano: add Cardano currency support
2018-07-25 17:56:29 +02:00
mcudev
8cd8be9bd1
boardloader, sdcard: avoid fatal error when card is ejected during countdown
2018-07-25 11:52:28 +02:00
Jan Pochyla
a932816a25
fido_u2f: unify handling of bogus app ids
2018-07-24 15:05:40 +02:00
Jan Pochyla
934b32707c
fido_u2f: parse and serialize keypath as LE
2018-07-24 15:05:40 +02:00
Pavol Rusnak
9d4e38bd4c
embed: wait 100ms after turning off sdcard/touch circuit
2018-07-24 14:24:00 +02:00
Pavol Rusnak
cb9e7b5885
embed: cleanup Keccak API (drop keccak arg from digest() func)
2018-07-23 15:19:38 +02:00
Dusan Klinec
8cf0b93df7
sha3: keccak parameter in the constructor
...
- enable to construct keccak sha3 so keccak-sha3 digest can be used in hmac / pbkdf transparently (without need to call special digest(keccak=True) as some functions taking Digest object call digest() directly so keccak mode have to be specified before that point)
2018-07-23 15:01:46 +02:00
Pavol Rusnak
08725c16e8
embed: fix sdcard issue
2018-07-23 11:58:36 +02:00
Pavol Rusnak
c1209dcc17
embed: sdcard investigation
2018-07-23 11:58:36 +02:00
Pavol Rusnak
08d8cf6a25
embed: remove superfluous != NULL
2018-07-23 11:58:36 +02:00
Pavol Rusnak
f1d8a3aaf2
embed: don't set pins to OUTPUT in {sdcard,touch}_active_pin_state when they were already set like this in {sdcard,touch}_default_pin_state
2018-07-23 11:58:36 +02:00
Pavol Rusnak
99c5d049b9
embed: moved configuration of SD detect pin to sdcard_default_pin_state
2018-07-23 11:58:36 +02:00
Pavol Rusnak
ca9162f7b7
embed: introduce {sdcard,touch}_active_pin_state
2018-07-23 11:58:36 +02:00
Pavol Rusnak
c97226a4c9
embed: add touch_power_on to firmware
2018-07-23 11:58:35 +02:00
Pavol Rusnak
add16b6b27
embed: move {sdcard,touch}_default_pin_state to the beginning of {sdcard,touch}_init
2018-07-23 11:58:35 +02:00
Pavol Rusnak
7ca460457e
embed: refactor sdcard/touch, extract touch_power_on/off functions from touch_init
2018-07-23 11:58:35 +02:00
Pavol Rusnak
3067339b41
src: fix ethereum sign for chain_id >= 0x100
2018-07-19 18:05:26 +02:00
Pavol Rusnak
20237ace5c
docs: update hardware.md to use jpgs
2018-07-18 20:15:55 +02:00
Pavol Rusnak
0123e4a155
docs: convert pngs to jpgs where it makes sense (photos)
2018-07-18 20:14:28 +02:00
Pavol Rusnak
fecc6e53a0
tools: update tools to generate clang-format compatible output
2018-07-18 12:17:51 +02:00
mcudev
0fbf2261cc
boardloader: partial fix for powering off sd
2018-07-18 11:33:05 +02:00
Pavol Rusnak
7bf30ccb37
style: add cstyle target to Makefile + clang-format config, don't enforce for now
2018-07-17 16:54:37 +02:00