1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-04 09:16:06 +00:00
trezor-firmware/firmware
Saleem Rashid 1d83eee3b3 nem2: Canonicalize mosaics in transfer transactions
NIS deserializes then serializes transactions in order to verify the
signature. This means that transactions must be serialized canonically,
otherwise the signature will not match. Due to [1], mosaics are sorted
and deduplicated in transfer transactions.

[1]: 4231550ddf
2017-10-01 13:24:13 +01:00
..
protob vendor: Update trezor-common 2017-10-01 13:24:13 +01:00
u2f add set -e to shell scripts 2016-07-03 13:54:32 +02:00
.gitignore Have coins.h and coins.c generated at build time (#220) 2017-09-30 11:09:11 +02:00
ChangeLog changelog: add 1.5.2 2017-08-16 13:59:40 +02:00
coins-gen.py Have coins.h and coins.c generated at build time (#220) 2017-09-30 11:09:11 +02:00
coins.c Have coins.h and coins.c generated at build time (#220) 2017-09-30 11:09:11 +02:00
coins.h Have coins.h and coins.c generated at build time (#220) 2017-09-30 11:09:11 +02:00
coins.json Have coins.h and coins.c generated at build time (#220) 2017-09-30 11:09:11 +02:00
crypto.c Fix multisig for BCC 2017-07-30 22:58:26 +02:00
crypto.h segwit support for SignMessage, VerifyMessage 2017-07-25 19:32:20 +02:00
debug.c use C99 for loop where possible 2017-07-23 22:20:51 +02:00
debug.h debug: Improve debugging API (#134) 2016-12-04 23:24:01 +01:00
ethereum_tokens-gen.py coins: include testnet coins just in debug builds 2017-08-13 21:15:34 +02:00
ethereum_tokens.c coins: include testnet coins just in debug builds 2017-08-13 21:15:34 +02:00
ethereum_tokens.h coins: include testnet coins just in debug builds 2017-08-13 21:15:34 +02:00
ethereum.c ethereum: refactor hash_rlp_number 2017-08-31 13:38:50 +02:00
ethereum.h Ethereum Sign/Verify Message 2017-07-12 17:38:30 +02:00
fastflash.c startup: use custom reset_handler 2017-08-16 13:52:01 +02:00
fastflash.h startup: use custom reset_handler 2017-08-16 13:52:01 +02:00
fsm.c nem2: Canonicalize mosaics in transfer transactions 2017-10-01 13:24:13 +01:00
fsm.h fsm: Add NEMSignTx 2017-10-01 13:24:13 +01:00
gettext.h gettext: mark localizable strings as proof-of-concept 2017-06-18 22:47:32 +02:00
layout2.c nem2: Refactor for new bn_format 2017-10-01 13:24:13 +01:00
layout2.h nem_mosaics: Whitelist networks 2017-10-01 13:24:13 +01:00
Makefile nem_mosaics: Initial commit 2017-10-01 13:24:13 +01:00
messages.c firmware: need extra cast for nanopb call in message.c 2017-09-28 13:20:04 +02:00
messages.h add const where possible (for message parsing) 2016-08-29 22:36:18 +02:00
nem2.c nem2: Canonicalize mosaics in transfer transactions 2017-10-01 13:24:13 +01:00
nem2.h nem2: Canonicalize mosaics in transfer transactions 2017-10-01 13:24:13 +01:00
nem_mosaics.c nem_mosaics: Whitelist networks 2017-10-01 13:24:13 +01:00
nem_mosaics.h nem_mosaics: Add DIM TOKEN 2017-10-01 13:24:13 +01:00
nem_mosaics.json nem_mosaics: Whitelist networks 2017-10-01 13:24:13 +01:00
nem_mosaics.py nem_mosaics: Initial commit 2017-10-01 13:24:13 +01:00
pinmatrix.c use C99 for loop where possible 2017-07-23 22:20:51 +02:00
pinmatrix.h import v1.0.0 2014-04-29 14:38:32 +02:00
protect.c Fix check for max try and add another check before 2017-07-31 13:13:49 +02: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 recovery: don't reset storage on typos during dry-run recovery 2017-07-31 20:49:34 +02:00
recovery.h Allow testing recovery with an initialized device 2017-06-23 16:39:49 +02:00
reset.c reset: refactor code into layoutResetWord 2017-09-04 08:12:33 +02:00
reset.h reset: distinguish between separated call and joined call, mark backup as done only when performed completely 2017-06-29 14:14:20 +02:00
signing.c startup: use custom reset_handler 2017-08-16 13:52:01 +02: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 startup: use custom reset_handler 2017-08-16 13:52:01 +02:00
storage.h storage: wipe storage after 15 wrong pins 2017-07-31 02:26:28 +02:00
transaction.c startup: use custom reset_handler 2017-08-16 13:52:01 +02:00
transaction.h signing: Add SIGHASH_FORKID support 2017-07-30 22:51:18 +02:00
trezor.c startup: use custom reset_handler 2017-08-16 13:52:01 +02:00
trezor.h storage: copy only required bytes from old storage, bump storage version 2017-08-16 13:11:31 +02:00
u2f_knownapps.h u2f: add gandi to known apps 2017-09-29 18:19:13 +02:00
u2f.c startup: use custom reset_handler 2017-08-16 13:52:01 +02:00
u2f.h More standard conform behaviour 2016-05-24 01:16:55 +02:00
usb.c usb: whitespace cleanup 2017-05-09 23:49:05 +02:00
usb.h timer: Use Cortex-M3 SysTick timers 2016-11-17 02:07:46 +01:00