Commit Graph

42 Commits (1d6329b1bf68de7a1d41f45da96e77672b8ddbc6)

Author SHA1 Message Date
Saleem Rashid 11d424cdef vendor: Update trezor-crypto
7 years ago
Pavol Rusnak 3d7d0f0734
use C99 for loop where possible
7 years ago
Pavol Rusnak 0781421762
ethereum: more tokens, use better wording for unknown token value
7 years ago
Pavol Rusnak b0ac3a2af1
add EthereumSignMessage/EthereumVerifyMessage
7 years ago
Jochen Hoenicke c5e927fac2 Ethereum Sign/Verify Message
7 years ago
Pavol Rusnak 5b66c0b956
refactor Address dialog (QR code on left button click), use checksum for Ethereum addresses
7 years ago
Pavol Rusnak 2ecc36cd89
ethereum: don't show unrecognized ERC-20 tokens as sending message
7 years ago
Pavol Rusnak c6fd70b471
gettext: mark localizable strings as proof-of-concept
7 years ago
Pavol Rusnak 00f6312a81
rename failures, unify strings where possible
7 years ago
Pavol Rusnak d424829333
add chain_id to erc20 tokens
7 years ago
Pavol Rusnak 652a40c3e6
use bn_format from trezor-crypto where possible
7 years ago
Pavol Rusnak ba9aae143e
ethereum: support for ERC-20 tokens
7 years ago
Pavol Rusnak cb14b98213
ethereum: add new chain_ids
7 years ago
Pavol Rusnak 13f03d3880
Revert "ethereum: add EthereumSignTx.prefix"
7 years ago
Pavol Rusnak 2866e6fe88
ethereum: add EthereumSignTx.prefix
7 years ago
Pavol Rusnak 5c54edf54e
differentiate between ETH and ETC using chain_id
8 years ago
Jochen Hoenicke 32fb7e96cc Ethereum EIP-155 replay protection
8 years ago
Jochen Hoenicke f36cf5c10c Handle edge cases for ethereum txs.
8 years ago
Jochen Hoenicke a0ade6343e Reworked rfc6979 signing. (#116)
8 years ago
Jochen Hoenicke 6d65551b82
More alignment fixes
8 years ago
Jochen Hoenicke bc55013942
Simplified one-byte encodings
8 years ago
Jochen Hoenicke 91dcead35e
Gas estimate screen, tweaked display of value
8 years ago
Jochen Hoenicke a37a2e3612
Confirm data, streamlining code
8 years ago
Jochen Hoenicke 05a73593f6
No special case encoding for '\x0', cleanups
8 years ago
Jochen Hoenicke 22d0e7a053 Incorporated changes for updated master
8 years ago
Pavol Rusnak efd443abe8 implement ethereum signing check
8 years ago
Pavol Rusnak 4e0a69b6ea refactor ethereum methods, show progress properly
8 years ago
Pavol Rusnak 1558d77ea0 split rlp_encode_length into rlp_encode_length and rlp_encode_list_length
8 years ago
Pavol Rusnak 3db323c599 fix printing of ethereum value and address
8 years ago
Pavol Rusnak 3d1ab24d92 simplify ethereum code, EthereumSignTx.data_length is the total length now
8 years ago
Pavol Rusnak 48008ddd8e implement layoutEthereumConfirmTx
8 years ago
Pavol Rusnak 7d9a56e678 fix curly braces in if statements
8 years ago
Alex Beregszaszi 7432805b6a Fix special RLP case for length=1 firstbyte=0
8 years ago
Alex Beregszaszi 079d282541 Simplify send_request_chunk()
8 years ago
Alex Beregszaszi 78b1370de9 More input sanity checks in EthereumSignTx
8 years ago
Alex Beregszaszi a617200c9c Add confirmation dialog to EthereumSignTx
8 years ago
Alex Beregszaszi e0a1743003 Add sanity checks for data fields in EthereumSignTx
8 years ago
Alex Beregszaszi ab49a7cb45 Calculate data length based on the initial chunk and the supplied length
8 years ago
Alex Beregszaszi e0395b13eb Fix RLP length calculation
8 years ago
Alex Beregszaszi 2b6c991179 Split out send_signature and support short requests
8 years ago
Alex Beregszaszi 1d2f9b6ecd Initial signing implementation for Ethereum
8 years ago
Alex Beregszaszi a9449520b8 Ethereum signing skeleton
8 years ago