wownero/src/crypto
cslashm e745c1e38d Code modifications to integrate Ledger HW device into monero-wallet-cli.
The basic approach it to delegate all sensitive data (master key, secret
ephemeral key, key derivation, ....) and related operations to the device.
As device has low memory, it does not keep itself the values
(except for view/spend keys) but once computed there are encrypted (with AES
are equivalent) and return back to monero-wallet-cli. When they need to be
manipulated by the device, they are decrypted on receive.

Moreover, using the client for storing the value in encrypted form limits
the modification in the client code. Those values are transfered from one
C-structure to another one as previously.

The code modification has been done with the wishes to be open to any
other hardware wallet. To achieve that a C++ class hw::Device has been
introduced. Two initial implementations are provided: the "default", which
remaps all calls to initial Monero code, and  the "Ledger", which delegates
all calls to Ledger device.
2018-03-04 12:54:53 +01:00
..
crypto_ops_builder Update 2018 copyright 2018-01-26 10:03:20 -05:00
CMakeLists.txt Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
aesb.c Replace tabs with two spaces for consistency with rest of codebase 2015-12-15 06:22:06 -08:00
blake256.c Update 2018 copyright 2018-01-26 10:03:20 -05:00
blake256.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
chacha.c Support building cncrypto lib with msvc 2018-01-25 13:00:45 -07:00
chacha.h Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
crypto-ops-data.c Merge pull request #3119 2018-01-27 17:24:42 -08:00
crypto-ops.c Merge pull request #3119 2018-01-27 17:24:42 -08:00
crypto-ops.h Merge pull request #3119 2018-01-27 17:24:42 -08:00
crypto.cpp Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
crypto.h Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
crypto_device.cpp Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
generic-ops.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
groestl.c use correct unsigned type 2015-08-23 21:10:24 +02:00
groestl.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
groestl_tables.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
hash-extra-blake.c Update 2018 copyright 2018-01-26 10:03:20 -05:00
hash-extra-groestl.c Update 2018 copyright 2018-01-26 10:03:20 -05:00
hash-extra-jh.c Update 2018 copyright 2018-01-26 10:03:20 -05:00
hash-extra-skein.c Update 2018 copyright 2018-01-26 10:03:20 -05:00
hash-ops.h Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
hash.c Update 2018 copyright 2018-01-26 10:03:20 -05:00
hash.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
initializer.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
jh.c moved all stuff to github 2014-03-03 22:07:58 +00:00
jh.h moved all stuff to github 2014-03-03 22:07:58 +00:00
keccak.c Merge pull request #3226 2018-02-16 14:26:58 +01:00
keccak.h kaccak: remove unused return value 2017-11-11 11:20:48 +00:00
oaes_config.h Update oaes_config.h 2014-05-17 15:39:46 -07:00
oaes_lib.c Support building cncrypto lib with msvc 2018-01-25 13:00:45 -07:00
oaes_lib.h 0.8.8update 2014-05-25 13:06:40 -04:00
random.c crypto: add missing include (WIN32) 2018-02-16 19:35:31 +01:00
random.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
skein.c Changed to ..._HASHBITS everywhere for consistency 2016-10-29 14:59:06 +01:00
skein.h moved all stuff to github 2014-03-03 22:07:58 +00:00
skein_port.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
slow-hash.c Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
tree-hash.c Merge pull request #3180 2018-02-16 14:19:42 +01:00