mirror of
https://github.com/monero-project/monero.git
synced 2026-01-17 07:12:01 -08:00
Merge pull request #4693
74fb3d88multiexp: some minor speedups (moneromooo-monero)a6d2e246bulletproofs: only enable profiling on request (moneromooo-monero)a110e6aamultiexp: tune which variants to use for which number of points (moneromooo-monero)8b476722bulletproofs: speedup prover (moneromooo-monero)6f9ae5b6multiexp: handle pippenger multiexps with part precalc (moneromooo-monero)10e5a927bulletproofs: maintain -z4, -z5, and -y0 to avoid subtractions (moneromooo-monero)8629a42cbulletproofs: rework flow to use sarang's fast batch inversion code (moneromooo-monero)fc9f7d9cbulletproofs: merge multiexps as per sarang's new python code (moneromooo-monero)4061960amultiexp: pack the digits table when STRAUS_C is 4 (moneromooo-monero)bf8e4b98bulletproofs: some more minor speedup (moneromooo-monero)c415df97performance_tests: sc_check and ge_dsm_precomp (moneromooo-monero)a281b950bulletproofs: remove single value prover (moneromooo-monero)484155d0bulletproofs: some more speedup (moneromooo-monero)a621d6c8bulletproofs: random minor speedups (moneromooo-monero)a49a1761bulletproofs: shave off a lot of scalar muls from the g/h construction (moneromooo-monero)4564a5d1bulletproofs: speedup PROVE (moneromooo-monero)
This commit is contained in:
@@ -58,15 +58,6 @@ namespace
|
||||
}
|
||||
|
||||
namespace rct {
|
||||
Bulletproof proveRangeBulletproof(key &C, key &mask, uint64_t amount)
|
||||
{
|
||||
mask = rct::skGen();
|
||||
Bulletproof proof = bulletproof_PROVE(amount, mask);
|
||||
CHECK_AND_ASSERT_THROW_MES(proof.V.size() == 1, "V has not exactly one element");
|
||||
C = proof.V[0];
|
||||
return proof;
|
||||
}
|
||||
|
||||
Bulletproof proveRangeBulletproof(keyV &C, keyV &masks, const std::vector<uint64_t> &amounts)
|
||||
{
|
||||
masks = rct::skvGen(amounts.size());
|
||||
|
||||
Reference in New Issue
Block a user