aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto.cpp
Commit message (Collapse)AuthorAgeFilesLines
* crypto: revert odd namespace changes made in #3303stoffu2018-03-141-1/+1
|
* Correct spelling mistakes.Edward Betts2018-03-051-1/+1
|
* Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-041-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #3187Riccardo Spagni2018-02-161-3/+16
|\ | | | | | | 851bd057 call _exit instead of abort in release mode (moneromooo-monero)
| * call _exit instead of abort in release modemoneromooo-monero2018-02-011-3/+16
| | | | | | | | | | Avoids cores being created, as they're nowadays often piped to some call home system
* | Update 2018 copyrightxmr-eric2018-01-261-1/+1
|/
* Subaddresseskenshi842017-10-071-33/+92
|
* crypto: use malloc instead of allocamoneromooo-monero2017-08-231-10/+9
|
* crypto: moved boost::lock_guard into a smaller scopestoffu2017-06-221-4/+5
|
* Signature proving payment to destination by only revealing key derivation, ↵stoffu2017-06-221-0/+125
| | | | not the actual tx secret key
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* Preliminary support for DragonFly BSDAntonio Huete Jimenez2016-12-151-1/+1
| | | | - It builds but no further testing has been done.
* rct amount key modified as per luigi1111's recommendationsmoneromooo-monero2016-08-281-1/+1
| | | | | | | | | 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.
* crypto: error out where appropriatemoneromooo-monero2016-08-281-2/+2
|
* crypto: fix compile error: use named type in sizeofredfish2016-05-181-4/+5
| | | | | | | 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
* crypto: make clear generate_random_bytes is not thread safemoneromooo-monero2016-05-151-1/+1
| | | | And add a thread safe version to encourage proper use
* Use boost::thread instead of std::threadHoward Chu2016-03-111-7/+6
| | | | and all other associated IPC
* OpenBSD support for Monero.me0wmix2016-01-211-1/+1
|
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* FreeBSD alloca.h reference fixedfluffypony2014-09-091-1/+6
|
* License updated to BSD 3-clausefluffypony2014-07-231-3/+29
|
* builds, but doesn't link. other than that, electrum-style recovery ↵Thomas Winget2014-06-121-2/+17
| | | | implemented (but not tested\!)
* most functions prototyped/modified for wallet recoveryThomas Winget2014-06-121-0/+6
|
* moved all stuff to githubAntonio Juarez2014-03-031-12/+95
|
* crypto libamjuarez2013-11-151-0/+245