summaryrefslogtreecommitdiff
path: root/src/ringct
Commit message (Collapse)AuthorAgeFilesLines
* verRctNonSemanticsSimpleCached: fix fragilityJeffrey Ryan2023-03-173-38/+8
|
* Cache successful `verRctNonSemanticsSimple` callsSChernykh2022-12-202-0/+38
|
* Second thread pool for IOSChernykh2022-09-201-3/+3
|
* multisig: fix critical vulnerabilities in signinganon2022-06-302-146/+37
|
* wallet2: speedup large tx construction: no pointless clsag generationCrypto City2022-05-131-1/+12
| | | | 4.1 seconds -> 3.3 seconds on a test case
* Merge pull request #8302luigi11112022-05-102-2/+2
|\ | | | | | | 41da2fe Update copyright to 2022 for Hardfork files (Akrit)
| * Update copyright to 2022 for Hardfork filesAkrit2022-04-292-2/+2
| | | | | | | | Update Makefile and LICENSE
* | Merge pull request #8293luigi11112022-05-101-3/+3
|\ \ | | | | | | | | | 4f08bcd refactor(bp+): save one inversion, use sc_muladd (Dusan Klinec)
| * | refactor(bp+): save one inversion, use sc_muladdDusan Klinec2022-04-261-3/+3
| |/
* / Preserve commitment format inside transactionsLuke Parker2022-04-211-16/+3
|/
* CMake: Add missing headers via monero_find_all_headers macromj-xmr2022-04-061-6/+1
|
* Merge pull request #8197luigi11112022-04-067-7/+9
|\ | | | | | | da9aa1f Copyright: Update to 2022 (mj-xmr)
| * Copyright: Update to 2022mj-xmr2022-03-047-7/+9
| |
* | bulletproofs+: some minor cleanup from vtnerd's reviewmoneromooo-monero2022-04-051-11/+2
| |
* | store outPk/8 in the tx for speedmoneromooo-monero2022-04-051-4/+17
| | | | | | | | | | | | It avoids dividing by 8 when deserializing a tx, which is a slow operation, and multiplies by 8 when verifying and extracing the amount, which is much faster as well as less frequent
* | ringct: port some of vtnerd's review changes from BP+ to BPmoneromooo-monero2022-04-051-13/+11
| |
* | ringct: a few minor optimizations from reviewmoneromooo-monero2022-04-051-18/+15
| |
* | plug bulletproofs plus into consensusmoneromooo-monero2022-04-054-76/+276
| |
* | Updates from security auditSarang Noether2022-04-041-2/+10
| | | | | | | | https://suyash67.github.io/homepage/assets/pdfs/bulletproofs_plus_audit_report_v1.1.pdf
* | Precompute initial transcript hashSarang Noether2022-04-041-13/+11
| |
* | Bulletproofs+Sarang Noether2022-04-044-2/+1221
|/
* fix ge_p3_is_point_at_infinity(), which is evaluating field elements that ↵koe2022-01-251-2/+2
| | | | haven't been reduced by the field order
* ringct: silence unused variable warningselsta2021-08-191-1/+1
|
* Improve cryptonote (block and tx) binary read performanceLee Clagett2021-01-231-4/+4
|
* Remove unused variables in monero codebaseKevin Barbour2021-02-092-5/+0
| | | | | | | | | | | There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects.
* Fixed issues found by static analysisSChernykh2020-12-081-1/+1
| | | | | | - rolling_median: tried to free uninitialized pointer in a constructor - net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv - bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
* fix a couple bugs found by OSS-fuzzmoneromooo-monero2020-09-241-0/+6
| | | | | - index out of bounds when importing outputs - accessing invalid CLSAG data
* Merge pull request #6757luigi11112020-09-031-6/+9
|\ | | | | | | 6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
| * threadpool: guard against exceptions in jobs, and armour platingmoneromooo-monero2020-09-011-6/+9
| | | | | | | | | | Those would, if uncaught, exit run and leave the waiter to wait indefinitely for the number of active jobs to reach 0
* | ringct: fix CLSAG serialization after boost/epee changesmoneromooo-monero2020-08-282-1/+2
| | | | | | | | also fix a an assert message refering t MLSAG
* | CLSAG device supportSarang Noether2020-08-272-21/+16
| |
* | CLSAG optimizationsSarang Noether2020-08-272-132/+139
| |
* | Integrate CLSAGs into moneromoneromooo-monero2020-08-274-60/+265
| | | | | | | | They are allowed from v12, and MLSAGs are rejected from v13.
* | CLSAG signaturesSarang Noether2020-08-275-0/+277
| |
* | replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-171-1/+28
|/ | | | | | | | | | | | | | | | | | | | | | This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
* Update copyright year to 2020SomaticFanatic2020-05-065-5/+5
| | | | Update copyright year to 2020
* Merge pull request #6441luigi11112020-05-052-1/+7
|\ | | | | | | 613071f use memwipe on secret k/alpha values (moneromooo-monero)
| * use memwipe on secret k/alpha valuesmoneromooo-monero2020-04-152-1/+7
| | | | | | | | Reported by UkoeHB_ and sarang
* | Bulletproofs: verification speedupSarang Noether2020-04-143-8/+25
|/
* Merge pull request #6339luigi11112020-04-041-1/+1
|\ | | | | | | c61abf8 remove empty statements (shopglobal)
| * remove empty statementsInterchained2020-02-171-1/+1
| | | | | | | | Cleaning up a little around the code base.
* | Hash domain separationSarang Noether2020-04-011-2/+2
|/
* Merge pull request #6049luigi11112019-12-121-34/+27
|\ | | | | | | | | 45fd72b Updated paper references (SarangNoether) 277003f Minor prover simplification (SarangNoether)
| * Updated paper referencesSarang Noether2019-10-281-24/+22
| |
| * Minor prover simplificationSarang Noether2019-10-281-10/+5
| |
* | make d2h et al. constant-timeJethro Grassie2019-11-191-30/+8
|/
* cryptonote: add function to get weight from a pruned txmoneromooo-monero2019-10-111-0/+1
| | | | | The weight of the prunable data is deterministic from the unpruned data, so it can be determined from a pruned tx
* Merge pull request #5707luigi11112019-08-284-76/+53
|\ | | | | | | 3a0451a MLSAG speedup and additional checks (SarangNoether)
| * MLSAG speedup and additional checksSarang Noether2019-08-274-76/+53
| |
* | Merge pull request #5502luigi11112019-07-242-2/+0
|\ \ | |/ |/| | | | | 25a7cfd add a few checks where it seems appropriate (moneromooo-monero) 1a66a86 remove unused code (moneromooo-monero)