mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 20:06:32 +02:00
e745c1e38d
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. |
||
---|---|---|
.. | ||
block_reward.cpp | ||
block_reward.h | ||
block_validation.cpp | ||
block_validation.h | ||
chain_split_1.cpp | ||
chain_split_1.h | ||
chain_switch_1.cpp | ||
chain_switch_1.h | ||
chaingen001.cpp | ||
chaingen_main.cpp | ||
chaingen_tests_list.h | ||
chaingen.cpp | ||
chaingen.h | ||
CMakeLists.txt | ||
double_spend.cpp | ||
double_spend.h | ||
double_spend.inl | ||
integer_overflow.cpp | ||
integer_overflow.h | ||
multisig.cpp | ||
multisig.h | ||
rct.cpp | ||
rct.h | ||
ring_signature_1.cpp | ||
ring_signature_1.h | ||
transaction_tests.cpp | ||
transaction_tests.h | ||
tx_validation.cpp | ||
tx_validation.h | ||
v2_tests.cpp | ||
v2_tests.h |