aboutsummaryrefslogtreecommitdiff
path: root/src/device/CMakeLists.txt (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16Copyright: Update to 2023mj-xmr1-1/+1
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2021-07-13cmake: fix undefined symbols and multiple definitionsanon1-0/+1
2020-05-16Support for supercop ASM in wallet, and benchmark for supercopLee Clagett1-0/+1
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-03-28Add support for V11 protocol with BulletProofV2 and short amount.cslashm1-0/+2
New scheme key destination contrfol Fix dummy decryption in debug mode
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2018-11-02device/trezor: trezor support addedDusan Klinec1-0/+2
2018-10-22blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon1-7/+0
2018-10-08Revert "Merge pull request #4472"Riccardo Spagni1-0/+7
This reverts commit 79d46c4d551a9b1261801960095bf4d24967211a, reversing changes made to c9fc61dbb56cca442c775faa2554a7460879b637.
2018-10-04blocks: use auto-generated .c files instead of 'LD -r -b binary'xiphon1-7/+0
2018-09-24Replace USB-CCID (smartcard) by USB-HIDcslashm1-5/+14
Remove PCSC dependencies which is a bit hard (not user friendly) to install on linux and Mac Split Ledger logic and device IO
2018-03-14device: untangle cyclic depenencystoffu1-2/+1
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-07device: remove dependency on readlinestoffu1-2/+0
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm1-23/+46
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-01-26Readd copyright starting datexmr-eric1-1/+1
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2018-01-11Keep readline optionalJethro Grassie1-1/+1
2017-12-17gen_multisig: generates multisig wallets if participants trust each othermoneromooo-monero1-18/+18
2017-05-23changed crypto to cncrypto so it generated libcncryptoGentian1-1/+1
fix a cmakelist
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-01-16Change logging to easylogging++moneromooo-monero1-0/+1
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-2/+2
Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-10-24cmake: fix up link linesBen Boeckel1-1/+2
2014-10-24cmake: support 2.8.7Ben Boeckel1-1/+1
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
2014-10-23cmake: put each test executable in its own directoryBen Boeckel1-22/+16
2014-10-23cmake: handle private vs. public headersBen Boeckel1-2/+7
2014-10-23cmake: refactor common code with executablesBen Boeckel1-18/+1
2014-10-23cmake: put each library into its own directoryBen Boeckel1-16/+46
This cleans up the CMake code and shows patterns more easily (to be refactored in the next commit).
2014-10-06build libunbound from external if no local libunbound or for static buildsRiccardo Spagni1-22/+1
2014-10-06build libunbound from external if no local libunbound or for static buildsRiccardo Spagni1-22/+1
2014-10-02fixed unbound static lib on mingw as libunbound.dll.aRiccardo Spagni1-1/+5
2014-10-02remove pthreads, successfully tested on gcc 4.9.1 without pthreadsRiccardo Spagni1-1/+5
2014-10-02fixed unbound static lib on mingw as libunbound.dll.aRiccardo Spagni1-1/+5
2014-10-02remove pthreads, successfully tested on gcc 4.9.1 without pthreadsRiccardo Spagni1-1/+5
2014-09-29dependencies enforced, send que error message log level movedRiccardo Spagni1-5/+5
2014-09-24redo FindUnbound.cmakeRiccardo Spagni1-28/+26
2014-09-24fixed cmake folderRiccardo Spagni1-0/+0
2014-09-24added tomerkon's GPG key, cmake folder fixRiccardo Spagni1-0/+0
2014-09-23Updated CMake files -- added libunbound linker flagThomas Winget1-19/+29
CMake config file written, but was unable to test/get it working properly because of a bug in CMake with functions related to find_package. Simple "-lunbound" flag used in its stead for now. May not build on non-Linux systems, not sure yet.
2014-07-23License updated to BSD 3-clausefluffypony1-2/+32
2014-03-03moved all stuff to githubAntonio Juarez1-0/+15