| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Implements view tags as proposed by @UkoeHB in MRL issue
https://github.com/monero-project/research-lab/issues/73
At tx construction, the sender adds a 1-byte view tag to each
output. The view tag is derived from the sender-receiver
shared secret. When scanning for outputs, the receiver can
check the view tag for a match, in order to reduce scanning
time. When the view tag does not match, the wallet avoids the
more expensive EC operations when deriving the output public
key using the shared secret.
|
| | |
|
| | |
|
| |
|
|
| |
include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
|
| |
|
|
| |
Update copyright year to 2020
|
| |
|
|
| |
Reported by UkoeHB_ and sarang
|
| |\
| |
| |
| | |
1dc3b1a wallet: add --extra-entropy command line flag (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| | |
It lets the user add custom entropy to the PRNG.
It does this by hashing the new data and xoring the resulting
hash with the PRNG state.
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
| |
Reported by QuarksLab.
|
| |
|
|
|
|
| |
This avoids problems when the caller can't deal with a zero
walue, which happens often enough that it's worth nipping the
problem in the bud.
|
| |\
| |
| |
| |
| | |
63e342b crypto: move null_pkey/null_skey to the cpp file (moneromooo-monero)
0496c7c crypto: do not use boost::value_initialized to init null skey/pkey (moneromooo-monero)
|
| | | |
|
| | | |
|
| |\ \
| | |
| | |
| | | |
61caab8 crypto: remove slight bias in key generation due to modulo (moneromooo-monero)
|
| | |/ |
|
| |/ |
|
| |\
| |
| |
| |
| | |
90a16b1 crypto: fix initialization order issue with random mutex (moneromooo-monero)
6a61f52 unit_tests: add ringdb unit tests (moneromooo-monero)
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| | |
851bd057 call _exit instead of abort in release mode (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
Avoids cores being created, as they're nowadays often piped
to some call home system
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
not the actual tx secret key
|
| | |
|
| |
|
|
| |
- It builds but no further testing has been done.
|
| |
|
|
|
|
|
|
|
| |
This allows the key to be not the same for two outputs sent to
the same address (eg, if you pay yourself, and also get change
back). Also remove the key amounts lists and return parameters
since we don't actually generate random ones, so we don't need
to save them as we can recalculate them when needed if we have
the correct keys.
|
| | |
|
| |
|
|
|
|
|
| |
Btw, the warning 4200 remains disabled, but it did not get triggered
(GCC 6.1.1, ARM). But, perhaps a better way than disabling
the warning would be to do what is suggested here:
http://stackoverflow.com/questions/3350852/how-to-correctly-fix-zero-sized-array-in-struct-union-warning-c4200-without%3E
|
| |
|
|
| |
And add a thread safe version to encourage proper use
|
| |
|
|
| |
and all other associated IPC
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
implemented (but not tested\!)
|
| | |
|
| | |
|
| |
|