monero/src
stoffu 27a196b126
device: untangle cyclic depenency
When #3303 was merged, a cyclic dependency chain was generated:

    libdevice <- libcncrypto <- libringct <- libdevice

This was because libdevice needs access to a set of basic crypto operations
implemented in libringct such as scalarmultBase(), while libringct also needs
access to abstracted crypto operations implemented in libdevice such as
ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct
into libringct_basic and libringct, where the basic crypto ops previously in
libringct are moved into libringct_basic. The cyclic dependency is now resolved
thanks to this separation:

    libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct

This eliminates the need for crypto_device.cpp and rctOps_device.cpp.

Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and
get_subaddress_secret_key() were previously implemented in libcryptonote_basic
(cryptonote_format_utils.cpp) and were then called from hw::core::device_default,
which is odd because libdevice is supposed to be independent of libcryptonote_basic.
Therefore, those functions were moved to device_default.cpp.
2018-03-14 21:00:15 +09:00
..
blockchain_db Merge pull request #3307 2018-03-05 19:11:52 +02:00
blockchain_utilities Stagenet 2018-03-05 11:55:05 +09:00
blocks Stagenet 2018-03-05 11:55:05 +09:00
checkpoints Stagenet 2018-03-05 11:55:05 +09:00
common Merge pull request #3313 2018-03-05 19:15:54 +02:00
crypto device: untangle cyclic depenency 2018-03-14 21:00:15 +09:00
cryptonote_basic device: untangle cyclic depenency 2018-03-14 21:00:15 +09:00
cryptonote_core device: untangle cyclic depenency 2018-03-14 21:00:15 +09:00
cryptonote_protocol Merge pull request #3277 2018-03-05 19:11:20 +02:00
daemon Stagenet 2018-03-05 11:55:05 +09:00
daemonizer monerod: do not log to tmpdir in daemon mode 2018-02-23 21:27:14 +01:00
debug_utilities cn_deserialize: link with device and ringct 2018-03-05 20:52:18 +00:00
device device: untangle cyclic depenency 2018-03-14 21:00:15 +09:00
gen_multisig wallet2 / simplewallet: Must opt-in to create '.address.txt' files for new wallets 2018-03-10 16:28:23 +01:00
mnemonics Update 2018 copyright 2018-01-26 10:03:20 -05:00
multisig device: untangle cyclic depenency 2018-03-14 21:00:15 +09:00
p2p Stagenet 2018-03-05 11:55:05 +09:00
platform Update 2018 copyright 2018-01-26 10:03:20 -05:00
ringct device: untangle cyclic depenency 2018-03-14 21:00:15 +09:00
rpc Stagenet 2018-03-05 11:55:05 +09:00
serialization Correct spelling mistakes. 2018-03-05 17:00:40 +00:00
simplewallet device: untangle cyclic depenency 2018-03-14 21:00:15 +09:00
wallet device: untangle cyclic depenency 2018-03-14 21:00:15 +09:00
CMakeLists.txt Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
cryptonote_config.h Bump min ring size from 5 to 7 from v7 2018-03-07 13:19:04 +00:00
version.cpp.in version: add -master to master version 2017-12-07 10:33:12 +00:00
version.h build: auto update version info without manually deleting version.h 2017-09-21 07:47:37 +09:00