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
stoffu
07cb574ca4
ringct: remove duplicate rv.mixRing = mixRing; in genRctSimple
6 years ago
moneromooo-monero
aaafa8a946
ringct: avoid repeated point conversion
6 years ago
Riccardo Spagni
6bc0c7e685
Merge pull request #4927
...
6456cb41
Bulletproof: Initialize members in default construtor. (Tadeas Moravec)
6 years ago
Riccardo Spagni
e9aa886d9e
Merge pull request #4921
...
ac665418
ringct: fix dummy bulletproofs on ledger in fake mode (moneromooo-monero)
6 years ago
Riccardo Spagni
81418cb281
Merge pull request #4894
...
aee7a4e3
wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero)
1a0733e5
windows_service: fix memory leak (moneromooo-monero)
0dac3c64
unit_tests: do not rethrow a copy of an exception (moneromooo-monero)
5d9915ab
cryptonote: fix get_unit for non default settings (moneromooo-monero)
d4f50cb1
remove some unused code (moneromooo-monero)
61163971
a few minor (but easy) performance tweaks (moneromooo-monero)
30023074
tests: slow_memmem now returns size_t (moneromooo-monero)
6 years ago
Riccardo Spagni
6d1c2a9304
Merge pull request #4892
...
c28e3d2d
rctOps: add braces to suppress warnings (stoffu)
6 years ago
Riccardo Spagni
c00ac446fd
Merge pull request #4854
...
bd98e99c
Removed a lot of unnecessary includes (Martijn Otto)
6 years ago
Tadeas Moravec
6456cb415a
Bulletproof: Initialize members in default construtor.
...
Fixing a build warning on g++ 7.3.0
6 years ago
moneromooo-monero
ac665418f0
ringct: fix dummy bulletproofs on ledger in fake mode
...
Ledger does some basic checks on them
6 years ago
Riccardo Spagni
3e2abc9eaa
Merge pull request #4834
...
2c7195d8
bulletproofs: avoid std::vector allocations for slice (moneromooo-monero)
6 years ago
moneromooo-monero
611639710d
a few minor (but easy) performance tweaks
...
Found by codacy.com
6 years ago
stoffu
c28e3d2dae
rctOps: add braces to suppress warnings
6 years ago
Riccardo Spagni
0295055bcb
Merge pull request #4805
...
6a1062f5
bulletproofs: reserve vector memory when known in advance (moneromooo-monero)
6 years ago
Riccardo Spagni
cec336ecbc
Merge pull request #4804
...
00907c39
rct: speedup commit a little (moneromooo-monero)
6 years ago
Riccardo Spagni
46f989bc49
Merge pull request #4795
...
5d7c2316
rct: add a zeroCommit cache for common pre-rct case (moneromooo-monero)
6 years ago
Martijn Otto
bd98e99c80
Removed a lot of unnecessary includes
6 years ago
moneromooo-monero
2c7195d80c
bulletproofs: avoid std::vector allocations for slice
6 years ago
moneromooo-monero
6a1062f560
bulletproofs: reserve vector memory when known in advance
6 years ago
moneromooo-monero
00907c3987
rct: speedup commit a little
...
saves a conversion, and uses a double scalarmult instead of
two scalarmults
6 years ago
Riccardo Spagni
6d3d8635be
Merge pull request #4693
...
74fb3d88
multiexp: some minor speedups (moneromooo-monero)
a6d2e246
bulletproofs: only enable profiling on request (moneromooo-monero)
a110e6aa
multiexp: tune which variants to use for which number of points (moneromooo-monero)
8b476722
bulletproofs: speedup prover (moneromooo-monero)
6f9ae5b6
multiexp: handle pippenger multiexps with part precalc (moneromooo-monero)
10e5a927
bulletproofs: maintain -z4, -z5, and -y0 to avoid subtractions (moneromooo-monero)
8629a42c
bulletproofs: rework flow to use sarang's fast batch inversion code (moneromooo-monero)
fc9f7d9c
bulletproofs: merge multiexps as per sarang's new python code (moneromooo-monero)
4061960a
multiexp: pack the digits table when STRAUS_C is 4 (moneromooo-monero)
bf8e4b98
bulletproofs: some more minor speedup (moneromooo-monero)
c415df97
performance_tests: sc_check and ge_dsm_precomp (moneromooo-monero)
a281b950
bulletproofs: remove single value prover (moneromooo-monero)
484155d0
bulletproofs: some more speedup (moneromooo-monero)
a621d6c8
bulletproofs: random minor speedups (moneromooo-monero)
a49a1761
bulletproofs: shave off a lot of scalar muls from the g/h construction (moneromooo-monero)
4564a5d1
bulletproofs: speedup PROVE (moneromooo-monero)
6 years ago
moneromooo-monero
5d7c231604
rct: add a zeroCommit cache for common pre-rct case
...
This is called for every pre-rct output at blockchain sync time,
and a lot of them wil hit the cache, saving a scalarmult each.
6 years ago
Dusan Klinec
29ffb6bba8
device/trezor: trezor support added
6 years ago
moneromooo-monero
d6937e373b
ringct: use dummy bulletproofs when in fake mode, for speed
6 years ago
moneromooo-monero
74fb3d882c
multiexp: some minor speedups
6 years ago
moneromooo-monero
a6d2e246f3
bulletproofs: only enable profiling on request
6 years ago
moneromooo-monero
a110e6aa18
multiexp: tune which variants to use for which number of points
6 years ago
moneromooo-monero
8b4767221c
bulletproofs: speedup prover
6 years ago
moneromooo-monero
6f9ae5b6eb
multiexp: handle pippenger multiexps with part precalc
6 years ago
moneromooo-monero
10e5a92769
bulletproofs: maintain -z4, -z5, and -y0 to avoid subtractions
6 years ago
moneromooo-monero
8629a42cf6
bulletproofs: rework flow to use sarang's fast batch inversion code
6 years ago
moneromooo-monero
fc9f7d9c81
bulletproofs: merge multiexps as per sarang's new python code
6 years ago
moneromooo-monero
4061960a16
multiexp: pack the digits table when STRAUS_C is 4
...
Spotted by stoffu
6 years ago
moneromooo-monero
bf8e4b9870
bulletproofs: some more minor speedup
6 years ago
moneromooo-monero
a281b950bf
bulletproofs: remove single value prover
...
It is now expressed in terms of the array prover
6 years ago
moneromooo-monero
484155d043
bulletproofs: some more speedup
6 years ago
moneromooo-monero
a621d6c8b4
bulletproofs: random minor speedups
6 years ago
moneromooo-monero
a49a17618f
bulletproofs: shave off a lot of scalar muls from the g/h construction
6 years ago
moneromooo-monero
4564a5d17b
bulletproofs: speedup PROVE
6 years ago
moneromooo-monero
1dd5c73f62
bulletproofs: multiply points by 8 first thing in verification
...
instead of merging that with other scalar multiplications
where possible for speed, since this is not actually safe
6 years ago
Riccardo Spagni
4a652d6b52
Merge pull request #4379
...
607301bf
rct: avoid repeated unnecessary conversions when accummulating (moneromooo-monero)
6 years ago
moneromooo-monero
607301bf6d
rct: avoid repeated unnecessary conversions when accummulating
6 years ago
stoffu
67a56a9f8b
rctTypes: fix incorrect serialization
6 years ago
moneromooo-monero
8f418a6db0
bulletproofs: #include <openssl/bn.h>
...
Apparently needed for openssl 1.1.x
6 years ago
moneromooo-monero
2bf636503f
bulletproofs: speed up the latest changes a bit
6 years ago
moneromooo-monero
044dff5a30
bulletproofs: scale points by 8 to ensure subgroup validity
6 years ago
moneromooo-monero
c83012c476
bulletproofs: match aggregated verification to sarang's latest prototype
6 years ago
moneromooo-monero
463434d1f7
more comprehensive test for ge_p3 comparison to identity/point at infinity
...
Reported by QuarksLab.
6 years ago
moneromooo-monero
a129bbd944
multiexp: fix maxscalar off by one
...
Reported by QuarksLab.
6 years ago
moneromooo-monero
7ed496cc78
ringct: error out when hashToPoint* returns the point at infinity
...
Reported by QuarksLab.
6 years ago
moneromooo-monero
61632dc166
ringct: prevent a potential very large allocation
...
Reported by QuarksLab.
6 years ago
moneromooo-monero
0825e97436
multiexp: fix wrong Bos-Coster result for 1 non trivial input
...
Reported by QuarksLab.
6 years ago
moneromooo-monero
a1359ad43c
Check inputs to addKeys are in range
...
Reported by QuarksLab.
6 years ago
moneromooo-monero
fe0fa3b9c5
bulletproofs: reject x, y, z, or w[i] being zero
...
Also try again when we're generate a proof with those characteristics
Reported by QuarksLab.
6 years ago
moneromooo-monero
5ffb2ff9b7
v8: per byte fee, pad bulletproofs, fixed 11 ring size
6 years ago
moneromooo-monero
869b3bf824
bulletproofs: a few fixes from the Kudelski review
...
- fix integer overflow in n_bulletproof_amounts
- check input scalars are in range
- remove use of environment variable to tweak straus performance
- do not use implementation defined signed shift for signum
6 years ago
moneromooo-monero
c429176248
bulletproofs: reject points not in the main subgroup
6 years ago
moneromooo-monero
1569717718
bulletproofs: speed up a few multiplies using existing Hi cache
6 years ago
moneromooo-monero
0b05a0fa74
Add Pippenger cache and limit Straus cache size
6 years ago
moneromooo-monero
263431c486
Pippenger multiexp
...
Based on sarang's python code
6 years ago
moneromooo-monero
1ed0ed4de4
multiexp: cut down on memory allocations
6 years ago
moneromooo-monero
1b867e7f40
precalc the ge_p3 representation of H
6 years ago
moneromooo-monero
7e67c52fa2
Add a define for the max number of bulletproof multi-outputs
6 years ago
moneromooo-monero
2a8fcb421b
Bulletproof aggregated verification and tests
...
Also constrains bulletproofs to simple rct, for simplicity
6 years ago
moneromooo-monero
126196b017
multiexp: some speedups
...
- use a raw memory block to store cache
- use aligned memory
- use doubling API where appropriate
- calculate straus in bands
6 years ago
moneromooo-monero
bacf0a1e2f
bulletproofs: add aggregated verification
...
Ported from sarang's java code
6 years ago
moneromooo-monero
e895c3def1
make straus cached mode thread safe, and add tests for it
6 years ago
moneromooo-monero
7f48bf05d7
multiexp: bos coster now works for just one point
6 years ago
moneromooo-monero
9ce9f8caf6
bulletproofs: add multi output bulletproofs to rct
6 years ago
moneromooo-monero
939bc22332
add Straus multiexp
6 years ago
moneromooo-monero
9ff6e6a0a7
ringct: add bos coster multiexp
6 years ago
moneromooo-monero
e9164bb38b
bulletproofs: misc optimizations
...
Use double mults where possible, avoid conversions, simplify
6 years ago
moneromooo-monero
aacfd6e370
bulletproofs: multi-output bulletproofs
6 years ago
moneromooo-monero
7c8f95d3e2
ringct: make conversion functions return const refs
...
This might avoid unnecessary copies.
Reported by stoffu
6 years ago
luigi1111
5f1bbe3bce
Merge pull request #4268
...
1f2409e
Do memwipe for critical secret keys copied to rct::key (stoffu)
6 years ago
moneromooo-monero
d2e26c23f3
add and use constant time 32 byte equality function
6 years ago
luigi1111
a5d21be843
Merge pull request #4210
...
4616cf2
Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST (vtnerd)
6 years ago
stoffu
1f2409e9e2
Do memwipe for critical secret keys copied to rct::key
6 years ago
Lee Clagett
4616cf2641
Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST
6 years ago