Commit Graph

33 Commits

Author SHA1 Message Date
pscott
704c34a5d5 Rename to PARSING_IS_DONE 2021-04-21 17:15:43 +02:00
pscott
cac2b95136 Remove printf when parsing legacy tx 2021-04-21 17:11:51 +02:00
pscott
fa0dacb447 Remove printf when parsing chainID 2021-04-21 17:10:58 +02:00
pscott
970f0355dd Add support for EIP2718 (enveloppe) and EIP2930 (acess list tx); Display chain ID when different from 1 (ethereum mainnet) 2021-04-21 16:56:17 +02:00
pscott
5dd99c3d48 Move TxType parsing in cmd_signTx and add 0x6501 error 2021-04-15 17:59:41 +02:00
pscott
6ccc36fa39 Move txType parsing outside of forloop 2021-04-15 17:08:09 +02:00
pscott
99950a396c Add max and min values and restrict bounds 2021-04-15 16:19:12 +02:00
pscott
9876999b8d Enumerate through variants 2021-04-15 16:13:42 +02:00
pscott
9e6610c56a Fix debug messages 2021-04-15 15:42:46 +02:00
pscott
65ac116e91 Restrict txType to be within enum bounds 2021-04-15 15:38:38 +02:00
pscott
9c20c54013 Apply clang format 2021-04-15 15:37:26 +02:00
pscott
3faa172ec2 Add MAX and MIN tx types 2021-04-15 15:36:21 +02:00
pscott
48562ccfc7 Add TransactionType and adapt parser to parse them 2021-04-15 15:25:46 +02:00
Jean P
b09ba946d5 Merge pull request #127 from LedgerHQ/fix_warning_1.6
Fix compilation warnings for 1.6.1-2 and NanoX sdk
2021-03-25 12:42:12 +01:00
pscott
9a798e3662 Fix warnings for nanox sdk 2021-03-24 16:32:08 +01:00
pscott
b2d5b85a2f Add nonce display settings ; nonce is always displayed 2021-02-05 17:36:54 +01:00
TamtamHero
17bd07a346 Apply clang-format 2020-12-01 16:20:13 +01:00
BTChip github
d43f7f6698 Cleanup os_mem* functions 2020-11-30 18:22:17 +01:00
Olivier Hériveaux
9d4a20c290 Minor code improvement
Using MIN instead of ternary operator for better code in ethUstream.c.
2020-04-14 19:43:20 +02:00
BTChip github
658164ae18 Remove CX_COMPLIANCE_141 2020-01-18 12:46:37 +01:00
Clément Péron
f75adced1d Use correct include headers
Some headers are overkilled, and the order should be

/* LibC */
include <stdxxx.h>

/* Framework */
include <os.h>

/* Local */
include "EthUstream.h"
2019-01-16 11:10:35 +01:00
Clément Péron
649d5ebe26 update header license 2019-01-16 11:10:35 +01:00
Clément Péron
056dc0099e Remove trailing spaces
find -name '*.c' -o -name '*.h' -o -name 'Makefile' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2018-12-19 17:05:59 +01:00
BTChip github
adfcb0e6ec Display the data being signed 2018-07-31 19:59:59 +02:00
BTChip github
8260268b02 Supports 32 bits chainId for signature and matching - the returned V will be wrong and has to be recomputed by the client 2018-07-28 17:36:12 +02:00
BTChip github
c276531c83 Update to U2F managed SDK - add forks 2018-07-27 21:02:24 +02:00
BTChip
7083e3bc74 Blue compliant debugging 2017-01-22 18:25:42 +01:00
BTChip
54ea8ac82e EIP 155 support. Free up some RAM for U2F buffers 2016-11-25 09:10:04 +01:00
BTChip
533c14adc2 Remove copypasta invalid check for contract data size 2016-10-17 23:36:29 +02:00
BTChip
893c9820e4 Handle to: destination length to detect a null contract address 2016-10-17 23:35:55 +02:00
BTChip
0eb82c6f98 Cleanup, adjust derivation API to API level 5, adjust linker script and NVRAM location, move to internal SHA3 API, fix address checksum 2016-08-12 15:53:40 +02:00
BTChip
04deca3dad Nano S release
Build for Blue SDK 1.2 / Nano S 1.0 release
Nano S UI
2016-07-31 09:36:00 +02:00
BTChip
3e3b9dcc6a Initial import 2016-06-01 21:41:29 +02:00