aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/chacha.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-02-14Cryptonight variant 4 aka CryptonightRSChernykh1-4/+4
It introduces random integer math into the main loop.
2018-08-16crypto: make secret_key automatically mlockmoneromooo-monero1-5/+6
2018-08-08wallet: allow adjusting number of rounds for the key derivation functionstoffu1-4/+8
2018-05-13chacha: fix build with GCC 8.1moneromooo-monero1-2/+2
2018-03-14chacha: call prehashed version explicitly as generate_chacha_key_prehashedstoffu1-2/+9
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
2018-03-05Monero Cryptonight variants, and add one for v7moneromooo-monero1-2/+2
This is the first variant of many, with the intent to improve Monero's resistance to ASICs and encourage mining decentralization.
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm1-2/+2
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-26Update 2018 copyrightxmr-eric1-1/+1
2018-01-10move memwipe to epee to avoid common<->crypto circular dependenciesmoneromooo-monero1-1/+1
2017-12-25Add a chacha20 variant to go with chacha8moneromooo-monero1-12/+17
2017-12-16Scrub keys from memory just before scope end.moneromooo-monero1-14/+6
Partially implements #74. Securely erases keys from memory after they are no longer needed. Might have a performance impact, which I haven't measured (perf measurements aren't generally reliable on laptops). Thanks to @stoffu for the suggestion to specialize the pod_to_hex/hex_to_pod functions. Using overloads + SFINAE instead generalizes it so other types can be marked as scrubbed without adding more boilerplate.
2017-11-27use memwipe in a few relevant placesmoneromooo-monero1-2/+3
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-08-22chacha8: add a key generation variant that take a pointer and sizemoneromooo-monero1-2/+6
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-07-23License updated to BSD 3-clausefluffypony1-3/+29
2014-03-03moved all stuff to githubAntonio Juarez1-0/+56