Commit Graph
210 Commits
Author SHA1 Message Date
Alexandre Paillier ab67ae1cb3 Merge remote-tracking branch 'origin/develop' into HEAD 2022-09-14 17:27:25 +02:00
tjulien-ledgerandGitHub a0d16023d5 Light integration (#334)
* adding XDC

* adding meter

* adding multivac

* adding id4good

* adding tecracoin

* minor typo

* adding apothem

* adding apothem 2

* apothem and tecratestnet on network.c

* fix nettwork.c

* 1st additions

* last additions

* adding fix from develop

* update apothem coin name

* removing id4good

* adding Cronos
2022-09-14 10:50:57 +02:00
Alexandre Paillier ed479128fd EIP712 Filtering count checking 2022-09-14 09:41:39 +02:00
Alexandre Paillier 93b0bb08f7 Better handling of missing EIP721 error codes + add a missing one for EIP712 filtering signature checking 2022-09-14 09:41:38 +02:00
Alexandre Paillier 3f02bf672c Updated linter to clang-format 12.0.1 2022-09-14 09:41:38 +02:00
apaillier-ledgerandGitHub 95a0c8896b Revert "[clean] Removing compound-related plugin code" 2022-09-12 14:42:57 +02:00
Alexandre Paillier 770bd9c39d Replaced the signature key used for EIP712 tests by the CAL testing one 2022-08-31 18:09:38 +02:00
Clement Bouvet 89eeaa7b7d eth: split ux from rest of source 2022-08-24 10:35:16 +02:00
Alexandre Paillier de9e895ad9 EIP-712 code linting 2022-08-05 18:15:59 +02:00
Alexandre Paillier 7dad477413 Moved EIP 712 commands handling into their own file & renamed some things 2022-08-05 18:15:50 +02:00
Alexandre Paillier 12b97d91db Added a global apdu response code variable 2022-08-05 18:15:48 +02:00
Alexandre Paillier 1b00038859 Fixed compilation warning 2022-08-05 18:15:46 +02:00
Alexandre Paillier 8dcb4bc74f New EIP-712 verbose in-app setting + small refactoring & naming unification 2022-08-05 18:15:42 +02:00
Alexandre Paillier a24f621ce3 EIP712 filtering, added new APDUs 2022-08-05 18:15:41 +02:00
Alexandre Paillier d5603857b3 Fix UI display of signed negative integers smaller than 256 bits 2022-08-05 18:15:38 +02:00
Alexandre Paillier bbcfe5abc3 Added a util function to convert from byte buffer to uint128_t 2022-08-05 18:15:38 +02:00
Alexandre Paillier f3e307423e EIP712 now displays integers differently if signed or unsigned 2022-08-05 18:15:38 +02:00
Alexandre Paillier 10fbb8d5bc Unify all the hex digits used in the app 2022-08-05 18:15:37 +02:00
Alexandre Paillier 59d8ace99e Split the uint256 lib into multiple more meaningful files 2022-08-05 18:15:36 +02:00
Alexandre Paillier 31aff6a95f Removed unused custom strchr function 2022-08-05 18:15:35 +02:00
Alexandre Paillier 2fa6379470 Now only compiles full EIP-712 support for capable devices 2022-08-05 17:52:47 +02:00
Alexandre Paillier c0eaf8d106 Proper cleanup after EIP712 message 2022-08-05 17:52:46 +02:00
Alexandre Paillier 9cd39e2c02 Now uses some of the old EIP712 code as common code between the two implementations + approve/reject button now works 2022-08-05 17:52:45 +02:00
Alexandre Paillier 9f29a7caa2 UI handling WIP 2022-08-05 17:52:44 +02:00
Alexandre Paillier 3095d54394 Now initializes the eip712 context 2022-08-05 17:52:42 +02:00
Alexandre Paillier 9f8b2da74c WIP integration in app 2022-08-05 17:52:41 +02:00
Alexandre Paillier b25eaa1b48 Renamed the existing EIP712 implementation folder 2022-08-05 17:52:22 +02:00
Alexandre Paillier 895c37e1fa Change apdu payload length to proper size (8 bits) 2022-08-05 17:52:20 +02:00
Jorge Martins 143d0e54f6 Fix function signature 2022-07-15 12:51:30 +02:00
Jorge Martins 53520d23c2 Fix code style 2022-07-15 12:42:09 +02:00
Jorge Martins 2811917658 Mark pointer to databuffer/workbuffer as const 2022-07-15 12:33:19 +02:00
Jorge Martins 9ea16d9098 Mark dataBuffer pointer as const 2022-07-15 11:38:07 +02:00
Jorge Martins e0218520d8 Fix multiple vulnerabilities 2022-07-08 11:12:50 +02:00
Lucas PASCAL 653b64d6f7 [clean] Removing compound-related plugin code 2022-06-21 15:38:51 +02:00
Alexandre Paillier b483804ff4 adding astar&shiden 2022-06-15 13:35:46 +02:00
Alexandre Paillier 785cfdc2ea cube 2022-06-15 13:35:44 +02:00
Alexandre Paillier d1eb4ccc92 okc 2022-06-15 12:07:14 +02:00
Alexandre Paillier 8bc541b994 Increased display value buffer size for LNX & LNS+ 2022-06-08 11:45:20 +02:00
Lucas PASCAL 66ac35bc6f [add] Extending the amount buffer from 30 to 50 bytes + adding some const fields 2022-04-25 16:54:07 +02:00
Alexandre Paillier 78d159761d Linting pass following the clang-format update 2022-04-13 15:52:29 +02:00
tjulien-ledgerandGitHub 6b24a045ce Multiple ETH PRs (#289)
* adding Conflux espace

* adding Moonbeam

* kardiachain and bttc

* adding Wethio
2022-04-13 15:37:30 +02:00
BTChip github 52738e6bf5 Make lint happier 2022-03-22 08:40:36 +01:00
BTChip github 78f4642b6c Add EIP 1024 APDUs 2022-03-22 08:23:30 +01:00
Alexandre Paillier faf2044108 Bump plugin interface version 2022-03-15 14:19:30 +01:00
Alexandre Paillier a26da165df Now prevents NFT signatures without NFT metadata 2022-03-09 16:40:42 +01:00
Alexandre Paillier fed91e2261 Removed old os_strcmp function 2022-03-09 15:23:55 +01:00
Alexandre Paillier 23202f6a63 Minimize includes in header files to what they depend on 2022-03-09 15:23:53 +01:00
Alexandre Paillier c548aba364 Unify the include guards accross all header files 2022-03-09 11:52:03 +01:00
Alexandre Paillier 89070cd2be Now only loops through tokens once to match it 2022-03-09 11:52:03 +01:00
Alexandre Paillier 76c7f9dbd8 Fixes the location in memory of the address between nftInfo_t & tokenDefinition_t
Both used as members of the same union, also unifies the type (array of uint8_t)
2022-03-08 16:16:40 +01:00