summaryrefslogtreecommitdiff
path: root/src/crypto
Commit message (Collapse)AuthorAgeFilesLines
* crypto: fix non zero scalar being 0 after reducingmoneromooo-monero2020-12-041-4/+8
|
* Merge pull request #6111Riccardo Spagni2020-09-061-4/+46
|\ | | | | | | | | | | d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero) 6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero) 9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
| * functional_tests: add randomx testsmoneromooo-monero2020-08-271-4/+46
| |
* | CLSAG signaturesSarang Noether2020-08-272-0/+102
|/
* Merge pull request #6337Alexander Blair2020-08-164-0/+152
|\ | | | | | | a11ec4ac1 Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
| * Support for supercop ASM in wallet, and benchmark for supercopLee Clagett2020-05-164-0/+152
| |
* | Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that ↵Sarang Noether2020-08-092-9/+137
|/ | | | include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
* Merge pull request #6538Alexander Blair2020-07-191-10/+2
|\ | | | | | | 7178bb5c8 keccak: remove aligned check (moneromooo-monero)
| * keccak: remove aligned checkmoneromooo-monero2020-05-161-10/+2
| | | | | | | | | | | | Some tools report the alignment check as UB, which seems a bit dubious, but since the performance difference between the two versions is minimal, I'll go with the safe version
* | Update copyright year to 2020SomaticFanatic2020-05-0633-33/+33
|/ | | | Update copyright year to 2020
* Merge pull request #6441luigi11112020-05-051-0/+6
|\ | | | | | | 613071f use memwipe on secret k/alpha values (moneromooo-monero)
| * use memwipe on secret k/alpha valuesmoneromooo-monero2020-04-151-0/+6
| | | | | | | | Reported by UkoeHB_ and sarang
* | Adding Dandelion++ support to public networks:Lee Clagett2020-03-261-0/+70
|/ | | | | | - New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode - Stem loops detected in tx_pool.cpp - Embargo timeout for a blackhole attack during stem phase
* Merge pull request #6298luigi11112020-03-311-0/+4
|\ | | | | | | fe92fa1 [randomx] Add missing randomx_vm_set_cache() (cohcho)
| * [randomx] Add missing randomx_vm_set_cache()cohcho2020-01-171-0/+4
| |
* | Merge pull request #6223Alexander Blair2020-02-281-7/+14
|\ \ | |/ |/| | | c3613031 Silence miner debugmsg spam (Howard Chu)
| * Silence miner debugmsg spamHoward Chu2019-12-091-7/+14
| | | | | | | | Don't try to allocate the dataset repeatedly if it has already failed.
* | Replace memset with memwipe.Bert Peters2019-11-131-4/+5
|/
* RandomX: update to v1.1.4tevador2019-10-131-76/+30
| | | | | | | * Faster cache initialization with SSSE3/AVX2 * Automatic detection of CPU capabilities in RandomX * Fixed a possible out-of-bounds access in superscalar program generator * Use MONERO_RANDOMX_UMASK to manually disable RandomX flags in monerod
* Fix for miners on reorgHoward Chu2019-10-071-1/+4
| | | | Make sure dataset gets re-init'd if a reorg changes the epoch
* Update to RandomX v1.1.3, simplifyHoward Chu2019-10-051-19/+2
| | | | | | We don't need to detect if the cache has changed, just always call to set it on the VM. The call will be a no-op if the cache hasn't changed.
* Fix randomx cache selection for RPCsHoward Chu2019-10-031-12/+28
| | | | Was using the wrong cache slot, and returning invalid PoW hashes to RPC clients
* RandomX integrationHoward Chu2019-09-255-7/+446
| | | | Support RandomX PoW algorithm
* Merge pull request #5877luigi11112019-09-241-3/+2
|\ | | | | | | | | | | 2cd4fd8 Changed the use of boost:value_initialized for C++ list initializer (JesusRami) 4ad191f Removed unused boost/value_init header (whyamiroot) 928f4be Make null hash constants constexpr (whyamiroot)
| * Make null hash constants constexprLev Sizov2019-09-051-2/+2
| | | | | | | | Simplify m_template initialization in miner
| * Removed unused boost/value_init headerLev Sizov2019-09-021-1/+0
| |
| * Changed the use of boost:value_initialized for C++ list initializerJesus Ramirez2019-09-021-2/+2
| |
* | slow-hash: fix CNv2+ on big endianmoneromooo-monero2019-09-041-3/+3
|/
* Merge pull request #5609luigi11112019-08-274-2/+30
|\ | | | | | | 1dc3b1a wallet: add --extra-entropy command line flag (moneromooo-monero)
| * wallet: add --extra-entropy command line flagmoneromooo-monero2019-08-224-2/+30
| | | | | | | | | | | | 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.
* | Merge pull request #5807luigi11112019-08-211-2/+0
|\ \ | | | | | | | | | 4b1df4e Fix for biased signature nonce (SarangNoether)
| * | Fix for biased signature nonceSarang Noether2019-08-121-2/+0
| |/
* | Merge pull request #5731luigi11112019-08-211-3/+3
|\ \ | |/ |/| | | c393e82 CryptonightR_JIT: fix return value on error (selene-kovri)
| * CryptonightR_JIT: fix return value on errorselene2019-07-041-3/+3
| | | | | | | | | | The value was positive rather than zero, but the caller only checks for negative errors
* | Merge pull request #5624luigi11112019-07-241-1/+0
|\ \ | | | | | | | | | 6b41bd8 Delete more include string.h (wepeng)
| * | Delete more include string.hYour Name2019-06-111-1/+0
| | |
* | | Merge pull request #5502luigi11112019-07-241-1/+0
|\ \ \ | | | | | | | | | | | | | | | | 25a7cfd add a few checks where it seems appropriate (moneromooo-monero) 1a66a86 remove unused code (moneromooo-monero)
| * | | remove unused codemoneromooo-monero2019-04-291-1/+0
| |/ /
* | / keccak: guard against misaligned memory accesses on ARMmoneromooo-monero2019-07-041-3/+6
| |/ |/| | | | | | | The code generated is exactly the same as the direct access one on x86_64
* | ensure no NULL is passed to memcpymoneromooo-monero2019-06-141-1/+2
| | | | | | | | | | NULL is valid when size is 0, but memcpy uses nonnull attributes, so let's not poke the bear
* | tree-hash: allocate variable memory on heap, not stackmoneromooo-monero2019-06-141-5/+7
|/ | | | | | Large amounts might run out of stack Reported by guidov
* crypto: replace rand<T>()%N idiom with unbiased rand_idx(N)stoffu2019-04-041-0/+27
|
* Fix build on FreeBSDNathan Dorfman2019-03-241-1/+1
|
* Merge pull request #5252Riccardo Spagni2019-03-211-27/+31
|\ | | | | | | 7ac33342 slow-hash: cache TLS references locally once at function start (moneromooo-monero)
| * slow-hash: cache TLS references locally once at function startmoneromooo-monero2019-03-071-27/+31
| |
* | Merge pull request #5251Riccardo Spagni2019-03-212-9/+24
|\ \ | | | | | | | | | | | | | | | 7632dede crypto: fix PaX issue on NetBSD with CNv4 JIT (moneromooo-monero) 89b1630e gtest: build fix for NetBSD (moneromooo-monero) fa43b547 tests: handle any cmake detected python interpreter (moneromooo-monero)
| * | crypto: fix PaX issue on NetBSD with CNv4 JITmoneromooo-monero2019-03-072-9/+24
| |/
* | Merge pull request #5250Riccardo Spagni2019-03-211-4/+4
|\ \ | | | | | | | | | a48e49aa aesb: avoid stomping on an existing define on NetBSD (moneromooo-monero)
| * | aesb: avoid stomping on an existing define on NetBSDmoneromooo-monero2019-03-071-4/+4
| |/
* | Merge pull request #5213Riccardo Spagni2019-03-211-1/+1
|\ \ | | | | | | | | | efb2bdd3 slow-hash: default to JIT on x86_64 (moneromooo-monero)