Pavol Rusnak
03c681ec49
embed/extmod/modtrezorcrypto: introduce CANONICAL_SIG_ETHEREUM constant
2018-10-21 19:16:15 +02:00
Milan Rossa
fc9bc85ea3
unix: user profiles support for emulator
2018-10-11 16:51:04 +02:00
Milan Rossa
32fe5d20af
unix: emulator debug build options
2018-10-11 16:33:45 +02:00
Pavol Rusnak
ace3574769
embed/extmod/modtrezorconfig: update for T1
2018-10-02 21:19:36 +02:00
Pavol Rusnak
9beb6146e4
trezorhal: minor cleanup in touch for T1
2018-10-02 19:03:06 +02:00
Pavol Rusnak
ddbcd7400f
firmware: enable touch for T1
2018-10-02 18:08:44 +02:00
Pavol Rusnak
0ab0f9e418
unix: refactor T1 touch events to behave similarly to T2 touch events
2018-10-02 17:24:47 +02:00
Dusan Klinec
29ee5dc80c
mock: fixes error in generated trezorcrypto mock
2018-10-02 16:50:44 +02:00
Pavol Rusnak
411c2a2b2a
trezorhal: enable USB on T1
2018-10-02 16:29:34 +02:00
Pavol Rusnak
45e10a2e79
embed: refactor cpu flags in sconscript files
2018-09-30 16:39:40 +02:00
Pavol Rusnak
2a06ff4986
embed/firmware: add T1 display support, apply T1 fixes
2018-09-30 16:12:04 +02:00
Pavol Rusnak
d644147985
build: update SConscript.firmware for T1
2018-09-20 16:37:36 +02:00
Pavol Rusnak
72d1c457c2
embed/extmod/modtrezorui: fix minor issue in display_print
2018-09-20 16:05:28 +02:00
Pavol Rusnak
108d84051e
embed/extmod/modtrezorui: add more T1/T2 ifdefs to display functions
2018-09-20 15:09:01 +02:00
Pavol Rusnak
398f1557d6
build: introduce T1 memory file
2018-09-20 13:43:44 +02:00
Pavol Rusnak
fb816bd2de
embed/extmod/modtrezorui: properly set backlight and bpp for T1 display
2018-09-13 19:42:35 +02:00
Pavol Rusnak
11bf37b17c
vendor: update trezor-crypto
2018-09-13 15:02:10 +02:00
Pavol Rusnak
7880b67451
embed/extmod/modtrezorui: display code reorg/cleanup
2018-09-12 15:23:30 +02:00
Pavol Rusnak
4a76756b75
embed/extmod/modtrezorui: use software renderer
2018-09-11 18:08:40 +02:00
Pavol Rusnak
d0f2905542
embed/extmod/modtrezorcrypto: refactor pbkdf2 prf
2018-09-11 18:06:13 +02:00
Pavol Rusnak
8874925fb8
unix: support backgrounds for models T and 1
2018-09-11 16:38:47 +02:00
Pavol Rusnak
f23f751ab0
extmod/modtrezorui: prepare display UI for model change
2018-09-11 16:01:06 +02:00
Pavol Rusnak
5efab07b23
cardano: remove GetPublicKey.root_hd_passphrase, style changes
2018-09-07 19:35:57 +02:00
Dušan Plavák
060a8cbdfd
cardano: replace derivation scheme v1 for v2 ( #342 )
2018-09-07 19:07:15 +02:00
Pavol Rusnak
1013cc9185
vendor: update trezor-crypto
2018-09-05 17:09:43 +02:00
Pavol Rusnak
e821fd4358
emulator: rename TREZOR_NOUI macro to TREZOR_EMULATOR_NOUI
2018-09-03 17:56:53 +02:00
Pavol Rusnak
8d9d4816da
embed/extmod/modtrezorutils: remove utils.symbol, use constants directly
2018-08-31 16:55:01 +02:00
Pavol Rusnak
01a876f486
embed: add confirm/cancel actions to touch events
2018-08-31 16:55:01 +02:00
Pavol Rusnak
e3607156d8
embed: make model and emulator orthogonal, update macros to match this logic
2018-08-31 16:55:01 +02:00
Pavol Rusnak
3ceb9c42ee
bootloader: check both touch_is_detected and touch_read to detect touch
2018-08-21 17:34:34 +02:00
mcudev
1695533c8a
touch: follow ft6236 power on sequence closer
2018-08-21 17:25:18 +02:00
Pavol Rusnak
bdd7e932a0
embed: bump version to 2.0.8
2018-08-21 16:37:16 +02:00
Pavol Rusnak
1bf1a76973
src/apps/ethereum: implement Ethereum canonical signatures, fix max_chain_id
2018-08-20 15:49:56 +02:00
Pavol Rusnak
6801b61514
embed/extmod/modtrezorui: remove FONT_PY_TO_C/FONT_C_TO_PY, use (signed) int globally for font id
2018-08-16 21:16:34 +02:00
Pavol Rusnak
3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font
2018-08-16 20:59:24 +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
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
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
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
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
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
2b30cc16a2
trezorhal: minor fixes to sdcard/touch power on sequence
2018-07-11 17:41:12 +02:00
Pavol Rusnak
6ce106b544
trezorhal: turn sdcard/cpt circuitry on/off using PC0/PB10 pin
2018-07-11 17:41:12 +02:00
Yura Pakhuchiy
28bff537be
Add Groestl512 to modtrezorcrypto
2018-07-09 21:30:10 +02:00
Pavol Rusnak
aa1a036216
bootloader: use SL keys by default (keep universal keys in comment)
2018-07-05 13:48:44 +02:00
Pavol Rusnak
657de0274d
embed/unix: save only cropped part of the screenshot
2018-07-02 17:10:18 +02:00
Pavol Rusnak
35dcd917dd
embed/unix: save screenshot on "P" press in emulator
2018-07-02 16:31:24 +02:00
Pavol Rusnak
23b019d592
embed/firmware: update linker to use firmware_extra section
2018-06-21 16:23:27 +02:00
Pavol Rusnak
e7b761e66f
embed: refactor sector_count constants
2018-06-20 14:54:15 +02:00
Jan Pochyla
7630201a57
debug: do not rely on mp_optimise_value
...
Reflects micropython commit 3f420c0c27bd6daa5af39517925be55b9b9a9ab3
Replaces usage of mp_optimise_value with calls from python code.
2018-06-19 18:26:43 +02:00
Jan Pochyla
62111f240e
unix: remove native emitters
...
They are not being used in any trezor code.
2018-06-19 18:26:43 +02:00
Jan Pochyla
edcc96ee09
embed: use correct string constructors
...
Reflects micropython commit 4601759bf59e16b860a3f082e9aa4ea78356bf92
2018-06-19 18:26:43 +02:00
Pavol Rusnak
97bb26b7f3
embed/extmod/modtrezorcrypto: use kwargs for Blake2b/Blake2s
2018-06-19 18:15:58 +02:00
Pavol Rusnak
abc0e98993
firmware: bump version
2018-06-19 16:47:47 +02:00
Pavol Rusnak
8e9ae534c0
embed/extmod/modtrezorcrypto: fix last commit, update trezor-crypto
2018-06-15 10:35:19 +02:00
Karel Bílek
eeff66be88
zcash: use personal field in blake2b ( #243 )
2018-06-15 10:20:32 +02:00
Milan Rossa
db763bf05d
bootloader: ask again for block if invalid ( #230 )
...
fixes #135
2018-06-11 19:36:03 +02:00
Jan Pochyla
2603c477c5
embed/extmod/modtrezorui: distinguish font ids from colors
2018-06-08 14:53:46 +02:00
Jan Pochyla
6ceb3f2770
embed/extmod/modtrezorui: text functions return width
2018-06-08 14:53:46 +02:00
Jan Pochyla
3dc1c79b1a
nem: cleanup modtrezorcrypto bindings
2018-06-06 17:24:07 +02:00
Tomas Susanka
6aef64d367
nem: compute address from pubkey
2018-06-06 17:24:07 +02:00
Tomas Susanka
3fc96805dd
nem: modtrezorcrypto overflow fix and err check
2018-06-06 17:24:07 +02:00
Tomas Susanka
fb15e993f1
embed/crypto: ed25519 keccak signing
...
to be discussed whether not to provide a hash func instead of string
2018-06-06 17:24:06 +02:00
Tomas Susanka
b5cc678caa
nem: encrypt
2018-06-06 17:24:06 +02:00
Tomas Susanka
33ac5de848
wallet/nem: basic modtrezorcrypto for nem
2018-06-06 17:24:06 +02:00
Tomas Susanka
88ef4257cd
wallet/nem: init, get_address
2018-06-06 17:24:06 +02:00
Pavol Rusnak
a3af8faf23
boardloader/bootloader: use static const for sector arrays; erase storage if firmware is broken
2018-06-06 01:03:06 +02:00
Pavol Rusnak
68669dd8e4
firmware: disable WebUSB landing page ( #174 )
2018-06-04 13:50:23 +02:00
Jan Pochyla
bf7729ab9f
embed/extmod: use trezor_obj_get_uint{8} where it makes sense
2018-05-24 17:59:03 +02:00
Jan Pochyla
648ec675f4
embed/extmod: add trezor_obj_get_uint8
2018-05-24 17:59:03 +02:00
Jan Pochyla
39c1c85abb
embed/extmod: use trezor_obj_get_uint for uint32_t
2018-05-24 17:59:03 +02:00
Jan Pochyla
71b4e9978c
embed/extmod: add trezor_obj helpers for int and uint
2018-05-24 17:59:02 +02:00
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead
2018-05-24 15:18:05 +02:00
Pavol Rusnak
90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s}
2018-05-22 19:44:52 +02:00
Pavol Rusnak
5e90d5116c
prodtest: add wipe command to erase vendorheader
2018-04-28 14:49:20 +01:00
Pavol Rusnak
55f3edebda
embed/extmod/modtrezorui: allow software renderer (but still prefer accelerated ones)
2018-03-30 14:01:51 +02:00
Jochen Hoenicke
5fc368e330
display: show qr-code correctly (was mirrored)
2018-03-27 19:39:20 +02:00
Pavol Rusnak
886888b775
firmware: bump version to 2.0.6
2018-03-20 16:25:03 +01:00