moneromooo-monero
9176075ab9
ringct: a few minor optimizations from review
3 years ago
moneromooo-monero
ce6db7db63
plug bulletproofs plus into consensus
3 years ago
Sarang Noether
54559e256b
Updates from security audit
3 years ago
Sarang Noether
619bbbb99f
Precompute initial transcript hash
3 years ago
Sarang Noether
0bdbd108d8
Bulletproofs+
3 years ago
wowario
e1ff02c1c5
support old BP
3 years ago
SChernykh
9ca9f1214a
Fixed issues found by static analysis
...
- 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
3 years ago
moneromooo-monero
9e6187a736
fix a couple bugs found by OSS-fuzz
...
- index out of bounds when importing outputs
- accessing invalid CLSAG data
4 years ago
luigi1111
ee0b02d0db
Merge pull request #6757
...
6a37da8
threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
4 years ago
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
...
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
4 years ago
moneromooo-monero
e6c81c5ea7
ringct: fix CLSAG serialization after boost/epee changes
...
also fix a an assert message refering t MLSAG
4 years ago
Sarang Noether
703944c4d4
CLSAG device support
4 years ago
Sarang Noether
641b08c920
CLSAG optimizations
4 years ago
moneromooo-monero
82ee01699c
Integrate CLSAGs into monero
...
They are allowed from v12, and MLSAGs are rejected from v13.
4 years ago
Sarang Noether
4b328c6616
CLSAG signatures
4 years ago
moneromooo-monero
7175dcb107
replace most boost serialization with existing monero serialization
...
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.
4 years ago
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
4 years ago
luigi1111
b4023dcfc5
Merge pull request #6441
...
613071f
use memwipe on secret k/alpha values (moneromooo-monero)
4 years ago
moneromooo-monero
613071f4fa
use memwipe on secret k/alpha values
...
Reported by UkoeHB_ and sarang
4 years ago
Sarang Noether
4ed60b626a
Bulletproofs: verification speedup
4 years ago
luigi1111
c4f75fe898
Merge pull request #6339
...
c61abf8
remove empty statements (shopglobal)
4 years ago
Sarang Noether
80d5320fff
Hash domain separation
4 years ago
Interchained
c61abf87c0
remove empty statements
...
Cleaning up a little around the code base.
4 years ago
luigi1111
e629db18f4
Merge pull request #6049
...
45fd72b
Updated paper references (SarangNoether)
277003f
Minor prover simplification (SarangNoether)
5 years ago
Jethro Grassie
d8fc8d8868
make d2h et al. constant-time
5 years ago
Sarang Noether
45fd72b0d7
Updated paper references
5 years ago
Sarang Noether
277003f145
Minor prover simplification
5 years ago
moneromooo-monero
9447e7276d
cryptonote: add function to get weight from a pruned tx
...
The weight of the prunable data is deterministic from the
unpruned data, so it can be determined from a pruned tx
5 years ago
luigi1111
85014813cf
Merge pull request #5707
...
3a0451a
MLSAG speedup and additional checks (SarangNoether)
5 years ago
Sarang Noether
3a0451a8be
MLSAG speedup and additional checks
5 years ago
luigi1111
e3de4aa68b
Merge pull request #5502
...
25a7cfd
add a few checks where it seems appropriate (moneromooo-monero)
1a66a86
remove unused code (moneromooo-monero)
5 years ago
moneromooo-monero
1387549e90
serialization: check stream good flag at the end
...
just in case
5 years ago
moneromooo-monero
1a66a86f94
remove unused code
5 years ago
Riccardo Spagni
ac8e2a7819
Merge pull request #5437
...
acb68dba
bulletproofs: cut down on keyV allocations (moneromooo-monero)
5 years ago
moneromooo-monero
acb68dbaa9
bulletproofs: cut down on keyV allocations
5 years ago
moneromooo-monero
93bb2f48f7
ringct: prevent use of full ringct signatures for more than one input
5 years ago
Riccardo Spagni
b8ab510f23
Merge pull request #5332
...
7c440915
Add get_tx_proof support, needed for new sanity check (cslashm)
98fdcb2a
Add support for V11 protocol with BulletProofV2 and short amount. New scheme key destination contrfol Fix dummy decryption in debug mode (cslashm)
3a981a33
Add application version compatibility check. (cslashm)
5 years ago
Riccardo Spagni
7ec799c542
Merge pull request #5287
...
1d14b3f0
ringct: fix capitalization for scaler mult (fuwa)
5 years ago
cslashm
98fdcb2aa5
Add support for V11 protocol with BulletProofV2 and short amount.
...
New scheme key destination contrfol
Fix dummy decryption in debug mode
5 years ago
fuwa
1d14b3f072
ringct: fix capitalization for scaler mult
5 years ago
binaryFate
1f2930ce0b
Update 2019 copyright
5 years ago
moneromooo-monero
ef93b0995c
various: remove unused variables
5 years ago
Riccardo Spagni
9d415495bf
Merge pull request #5082
...
1bc5f9fa
bulletproofs: speed up vector_power_sum (moneromooo-monero)
5 years ago
moneromooo-monero
b6534c40e6
ringct: remove unused senderPk from ecdhTuple
...
This was an early ringct field, which was never used in production
5 years ago
moneromooo-monero
7d37598158
ringct: the commitment mask is now deterministic
...
saves space in the tx and is safe
Found by knaccc
5 years ago
moneromooo-monero
99d946e619
ringct: encode 8 byte amount, saving 24 bytes per output
...
Found by knaccc
5 years ago
moneromooo-monero
cdc3ccec5f
ringct: save 3 bytes on bulletproof size
...
Found by luigi1111
5 years ago
moneromooo-monero
f931e16c6e
add a bulletproof version, new bulletproof type, and rct config
...
This makes it easier to modify the bulletproof format
5 years ago
moneromooo-monero
1bc5f9fa4b
bulletproofs: speed up vector_power_sum
...
found by sarang
5 years ago
Riccardo Spagni
5753d71922
Merge pull request #5050
...
07cb574c
ringct: remove duplicate rv.mixRing = mixRing; in genRctSimple (stoffu)
5 years ago