| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
57c0b1ed Fix typos in various files (Dimitris Apostolou)
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
| |
hash: add prehashed version cn_slow_hash_prehashed
slow-hash: let cn_slow_hash take 4th parameter for deciding prehashed or not
slow-hash: add support for prehashed version for the other 3 platforms
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| | |
1ff35fda Wallet API: make nettype non-defaulted to disambiguate from deprecated versions (and make libwallet_api_tests compilable) (stoffu)
|
| | |
| |
| |
| | |
versions (and make libwallet_api_tests compilable)
|
| |/ |
|
| | |
|
| |
|
|
|
| |
This is the first variant of many, with the intent to improve
Monero's resistance to ASICs and encourage mining decentralization.
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
0e7ad2e2 Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu)
af773211 Stagenet (stoffu)
cc9a0bee command_line: allow args to depend on more than one args (stoffu)
55f8d917 command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu)
450306a0 command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu)
9f9e095a Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| |
| | |
54c256bc unit_tests.serialization: refactored with ASSERT_EQ_MAP (stoffu)
e6a60938 unit_tests: added gtest utility ASSERT_EQ_MAP for easily testing key-value map (stoffu)
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero)
2e3e90ac pass large parameters by const ref, not value (moneromooo-monero)
61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero)
9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero)
8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero)
9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero)
24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero)
f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero)
c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero)
fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero)
03887f11 keccak: fix sanity check bounds test (moneromooo-monero)
ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero)
bece67f9 miner: restore std::cout precision after modification (moneromooo-monero)
1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
Coverity 136394 136397 136409 136526 136529 136533 175302
|
| | | |
| | |
| | |
| | | |
Coverity 182572
|
| | |/
| |
| |
| |
| |
| | |
and comment it out, it's only used to generate a starting test case
Coverity 182506
|
| |\ \
| | |
| | |
| | | |
71806327 dns: change default DNS to a worldwide selection (moneromooo-monero)
|
| | |/
| |
| |
| | |
DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers
|
| |/ |
|
| | |
|
| |\
| |
| |
| | |
fccd1df1 performance_tests: fix build after merging two conflicting patches (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
ab2e9953 unit_tests: do not ASSERT_TRUE(decodeRct(...)) (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
decodeRct returns the amount, which may be zero
|
| | | | |
|
| | |/
|/| |
|
| |\ \
| | |
| | |
| | | |
8b50209c fix for warning (Onur Altun)
|
| | | |
| | |
| | |
| | | |
monero/tests/unit_tests/memwipe.cpp:50:8: Warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (wipe) ASSERT_TRUE(memcmp(quux, "bar", 3));
|
| |\ \ \
| | | |
| | | |
| | | | |
62c45c0d performance_tests: add a --filter option to select what to run (moneromooo-monero)
|
| | |/ /
| | |
| | |
| | | |
Removes a good bit of annoyance running those
|
| |\ \ \
| | | |
| | | |
| | | | |
9ffa97fe Factor the monero donation address (Maxithi)
|
| | |/ /
| | |
| | |
| | | |
Signed-off-by: Maxithi <34792056+Maxithi@users.noreply.github.com>
|
| |\ \ \
| |_|/
|/| |
| | | |
ed215d34 performance_tests: add RingCT MLSAG gen/ver tests (moneromooo-monero)
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
776b44f1 Add misc hardening flags to the cmake machinery (moneromooo-monero)
|
| | |/ /
| | |
| | |
| | | |
See https://wiki.debian.org/Hardening#User_Space
|
| |\ \ \
| | | |
| | | |
| | | | |
2d17feb0 factor STL container serialization (moneromooo-monero)
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
6d8b29ef fix some link errors in debug mode for macos (stoffu)
fdd4c5e5 move memwipe to epee to avoid common<->crypto circular dependencies (moneromooo-monero)
40ab12a7 epee: remove dependency on common (moneromooo-monero)
|
| | | | | | |
|
| | | |_|/
| |/| | |
|