1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 16:48:09 +00:00
trezor-firmware/firmware
Jochen Hoenicke f36cf5c10c Handle edge cases for ethereum txs.
Treat the case where a field is omitted identical to the case
where an empty array is given.  In particular
- data_length == 0 is allowed now and identical to giving no data.
- nonce can be omitted to indicate nonce value 0.

I still do not allow to omit gas_limit and gas_price; gas_limit
cannot be zero and transactions with zero gas_price will not be
mined.  You can still set it explicitly to zero by giving the
empty array, though.
See trezor/trezor-mcu#143.
2017-01-22 19:09:07 +01:00
..
protob change binary name of nanopb generator (to follow upstream name) 2017-01-09 15:55:57 +01:00
u2f add set -e to shell scripts 2016-07-03 13:54:32 +02:00
coins-gen.py add coins-gen.py script and generate coins.c using that script 2016-10-20 15:27:34 +02:00
coins.c fix Verify (by introducing coinExtractAddressType) 2016-10-25 17:02:02 +02:00
coins.h fix Verify (by introducing coinExtractAddressType) 2016-10-25 17:02:02 +02:00
crypto.c crypto: allow Ed25519 signing larger digests (#124) 2016-10-24 12:41:10 +02:00
crypto.h Use trezor-crypto ECDH, adding Curve25519 support 2016-10-16 01:34:02 +02:00
debug.c debug: Improve debugging API (#134) 2016-12-04 23:24:01 +01:00
debug.h debug: Improve debugging API (#134) 2016-12-04 23:24:01 +01:00
ethereum.c Handle edge cases for ethereum txs. 2017-01-22 19:09:07 +01:00
ethereum.h Ethereum signing skeleton 2016-08-19 03:14:38 +01:00
fsm.c use new hdnode_private_ckd_cached API 2016-12-12 12:17:48 +01:00
fsm.h Include placeholder handlers for the Ethereum protocol 2016-08-19 03:14:38 +01:00
layout2.c layout: split "First Last <first@last.com>" GPG user ID for readability 2017-01-14 18:34:29 +01:00
layout2.h allow ClearSession purely via confirm button 2016-10-25 15:21:56 +02:00
Makefile update trezor-crypto 2016-10-24 20:55:45 +02:00
messages.c add const where possible (for message parsing) 2016-08-29 22:36:18 +02:00
messages.h add const where possible (for message parsing) 2016-08-29 22:36:18 +02:00
pinmatrix.c firmware: exclude debug functionality from release build 2015-08-24 15:51:20 +03:00
pinmatrix.h import v1.0.0 2014-04-29 14:38:32 +02:00
protect.c timer: Use Cortex-M3 SysTick timers 2016-11-17 02:07:46 +01:00
protect.h fix initialize handling in interactive mode 2014-05-20 15:37:58 +02:00
recovery-table.h New Matrix-based recovery 2016-11-23 13:21:18 +01:00
recovery.c cosmetic changes to matrix recovery 2017-01-10 14:58:28 +01:00
recovery.h New Matrix-based recovery 2016-11-23 13:21:18 +01:00
reset.c extract CHECK_PARAM 2016-11-22 22:04:09 +01:00
reset.h implement u2f_counter in LoadDevice, Recoverydevice and ResetDevice messages 2016-10-31 16:20:15 +01:00
signing.c use new hdnode_private_ckd_cached API 2016-12-12 12:17:48 +01:00
signing.h pass version/lock_time parameters from SignTx message to signing_init function 2016-04-16 04:47:09 +02:00
storage.c timer: Use Cortex-M3 SysTick timers 2016-11-17 02:07:46 +01:00
storage.h new message SetU2FCounter 2016-06-12 23:44:36 +02:00
transaction.c use new hdnode_private_ckd_cached API 2016-12-12 12:17:48 +01:00
transaction.h fix prevtx hashing when input count is 0 2016-10-21 13:20:57 +02:00
trezor.c fix when oled triangle is shown 2017-01-19 16:16:57 +01:00
trezor.h bump version, add changelog 2016-10-26 18:06:13 +02:00
u2f_knownapps.h add yubico u2f demo to u2f known apps 2016-11-15 18:51:29 +01:00
u2f.c Check that U2F key only uses hardened derivation (#139) 2017-01-10 21:51:57 +01:00
u2f.h More standard conform behaviour 2016-05-24 01:16:55 +02:00
usb.c fix whitespace 2017-01-04 18:52:55 +01:00
usb.h timer: Use Cortex-M3 SysTick timers 2016-11-17 02:07:46 +01:00