Commit Graph

289 Commits (master)

Author SHA1 Message Date
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
6 years ago
moneromooo-monero bf8e4b9870
bulletproofs: some more minor speedup
6 years ago
moneromooo-monero a281b950bf
bulletproofs: remove single value 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
6 years ago
Riccardo Spagni 4a652d6b52
Merge pull request #4379
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>
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
6 years ago
moneromooo-monero a129bbd944
multiexp: fix maxscalar off by one
6 years ago
moneromooo-monero 7ed496cc78
ringct: error out when hashToPoint* returns the point at infinity
6 years ago
moneromooo-monero 61632dc166
ringct: prevent a potential very large allocation
6 years ago
moneromooo-monero 0825e97436
multiexp: fix wrong Bos-Coster result for 1 non trivial input
6 years ago
moneromooo-monero a1359ad43c
Check inputs to addKeys are in range
6 years ago
moneromooo-monero fe0fa3b9c5
bulletproofs: reject x, y, z, or w[i] being zero
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
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
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
6 years ago
moneromooo-monero 126196b017
multiexp: some speedups
6 years ago
moneromooo-monero bacf0a1e2f
bulletproofs: add aggregated verification
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
6 years ago
moneromooo-monero aacfd6e370
bulletproofs: multi-output bulletproofs
6 years ago
moneromooo-monero 7c8f95d3e2
ringct: make conversion functions return const refs
6 years ago
luigi1111 5f1bbe3bce
Merge pull request #4268
6 years ago
moneromooo-monero d2e26c23f3
add and use constant time 32 byte equality function
6 years ago
luigi1111 a5d21be843
Merge pull request #4210
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
luigi1111 3fde902394
Merge pull request #4097
6 years ago
luigi1111 94ed562148
Merge pull request #4045
6 years ago
moneromooo-monero 61caab8a8c
crypto: remove slight bias in key generation due to modulo
6 years ago
moneromooo-monero 2771a18e85
threadpool: allow leaf functions to run concurrently
6 years ago
einsteinsfool 7cdd147da5 Changed URLs to HTTPS
6 years ago
moneromooo-monero 01cc978722
ringct: remove an unnecessary scalarmultBase in zeroCommit
6 years ago
moneromooo-monero 5f19384729
ringct: do not show verification errors with default settings
6 years ago
Riccardo Spagni cb72b85bbf
Merge pull request #3372
6 years ago
stoffu 27a196b126
device: untangle cyclic depenency
6 years ago
moneromooo-monero c3e23b2dce
ringct: 17% improvement in Borromean signature verification
6 years ago
Riccardo Spagni 98acbe83fc
Merge pull request #3348
6 years ago
Riccardo Spagni 5950d356b6
Merge pull request #3301
6 years ago
h908714124 c95dddd2d2 remove unused function keyImageV
6 years ago
cslashm e745c1e38d Code modifications to integrate Ledger HW device into monero-wallet-cli.
6 years ago
Dusan Klinec 34a2a08530 rctSigs - loop invariant code removed from the loop
6 years ago
Riccardo Spagni f4a6bc79d9
Merge pull request #3226
6 years ago
Riccardo Spagni 589a53f479
Merge pull request #2959
6 years ago
moneromooo-monero 9af6b2d1b8
ringct: fix infinite loop in unused h2b function
6 years ago
moneromooo-monero 3f1a3fac00
bulletproofs: more robust challenge computation
6 years ago
moneromooo-monero b809058993
ringct: pseudoOuts moved to prunable in the simple bulletproof case
6 years ago
xmr-eric 84a7f6a482 Readd copyright starting date
6 years ago
xmr-eric 18216f19dd Update 2018 copyright
6 years ago
moneromooo-monero ff5626d785
ringct: handle exceptions verifying bulletproofs in worker threads
6 years ago
Riccardo Spagni f9c66ba67c
Merge pull request #2990
6 years ago
moneromooo-monero 2d17feb060
factor STL container serialization
6 years ago
moneromooo-monero b49ddc766d
check accessing an element past the end of a container
6 years ago
moneromooo-monero f4eda44ce3
N-1/N multisig
6 years ago
moneromooo-monero 4c313324b1
Add N/N multisig tx generation and signing
6 years ago
moneromooo-monero 09ce03d612
move includes around to lessen overall load
6 years ago
moneromooo-monero 46eaaae79b
ringct: always use outPk.mask to decode amounts
7 years ago
moneromooo-monero 8d4469a0ac
ringct: do not include bulletproof commitments in signed message
7 years ago
moneromooo-monero c83d0b3ee2
add bulletproofs from v7 on testnet
7 years ago
moneromooo-monero 8620ef0a0d
bulletproofs: switch H/G in Pedersen commitments to match rct
7 years ago
moneromooo-monero d58835b2f6
integrate bulletproofs into monero
7 years ago
moneromooo-monero 90b8d9f271
add bulletproofs to the build, with basic unit tests
7 years ago
moneromooo-monero ada4291469
add a version of ge_double_scalarmult_precomp_vartime with A precomp
7 years ago
moneromooo-monero d43eef6def
ringct: add a version of addKeys which returns the result
7 years ago
moneromooo-monero 383ff4f689
remove "using namespace std" from headers
7 years ago
kenshi84 53ad5a0f42
Subaddresses
7 years ago
Howard Chu 510d0d4753
Use a threadpool
7 years ago
Gentian 4b932ff314 changed crypto to cncrypto so it generated libcncrypto
7 years ago
Lee Clagett 93e10f1cc4 Simplified the implementation and features of span
7 years ago
Lee Clagett 4a8f96f95d Improvements for epee binary to hex functions:
7 years ago
moneromooo-monero 00cbf72064
ringct: move ge_frombytes_vartime failure error to warning
7 years ago
moneromooo-monero da18898f0e
ringct: do not require range proof in decodeRct/decodeRctSimple
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
moneromooo-monero d282cfcc46
core: test key images against validity domain
7 years ago
kenshi84 8027ce0c75 extract some basic code from libcryptonote_core into libcryptonote_basic
7 years ago
Timothy D. Prime 6b145763f7 Fix clang build failure, caused by mixing C and C++
7 years ago
moneromooo-monero 6cc7d26140
ringct: reorder a bit to check quicker tests first
7 years ago
moneromooo-monero 5833d66f65
Change logging to easylogging++
7 years ago
Riccardo Spagni ec323d8c3f
Merge pull request #1561
7 years ago
moneromooo-monero ba3968f6ce
rct: split rct checks between semantics and other
7 years ago
Chris Vickio fb76d43980 add extra braces around subobjects (missing-braces warning)
7 years ago
Lee Clagett e3639f5cc3 Removed unused functions
7 years ago
moneroexamples 374b58d131 fix MGs json
8 years ago
luigi1111 9d906159c3
Tx verification failing is not an error
8 years ago
Riccardo Spagni e6b05ed95a
Merge pull request #1414
8 years ago
moneromooo-monero 3b00527500
ringct: add sc_check calls in MLSAG_Ver for ss and cc
8 years ago
moneromooo-monero 2f1732a7e5
ringct: guard against bad data exceptions in worker threads
8 years ago
luigi1111 46a0dcc1d2
ringct: luigi1111's changes to fix and speedup Borromean sigs
8 years ago
Shen Noether 76958fc75a
ringct: switch to Borromean signatures
8 years ago
moneromooo-monero 59443bf9df
ringct: fix MGs serialization to JSON
8 years ago
Lee Clagett f025198f19 Added task_region - a fork/join task implementation
8 years ago
Lee Clagett 64094e5f4e adding thread_group for managing async tasks
8 years ago
Riccardo Spagni d51f1af75f
Merge pull request #1272
8 years ago
moneromooo-monero ffd8c41f36
ringct: check the size of amount_keys is the same as destinations
8 years ago
moneromooo-monero 836669d276
ringct: always shutdown the boost io service
8 years ago
moneromooo-monero 59f0d4b574
ringct: some more small optimizations
8 years ago
moneromooo-monero 3429bfb71d
ringct: thread verRct and verRctSimple
8 years ago
moneromooo-monero e06a4daf33
ringct: remove unneeded type conversions
8 years ago
moneromooo-monero afc70df7ea
ringct: reserve space in vectors to avoid excessive reallocation
8 years ago
moneromooo-monero 9ebf7b6dcf
ringct: avoid unnecessary memcpy
8 years ago
moneromooo-monero 1fe75c1ea7
ringct: add a few consts where possible
8 years ago
moneromooo-monero ab002a1d97
ringct: pass vectors by const ref where possible
8 years ago
moneromooo-monero 4038e86527
Add performance timers for ringct tx verification
8 years ago
moneromooo-monero 3126ba7425
ringct: use const refs as parameters where appropriate
8 years ago
Randi Joseph 9e54616924 Dropped "bit" from bitmonero.
8 years ago
redfish e1c7af35d4 cmake: transitive deps and remove deprecated LINK_*
8 years ago
moneromooo-monero 7d413f635f
rct: rework serialization to avoid storing vector sizes
8 years ago
moneromooo-monero f24ab58d18
ringct: remove unused code
8 years ago
moneromooo-monero b38452bd55
ringct: pass structure by const ref, not value
8 years ago
moneromooo-monero fd11271eea
ringct: use memcpy/memset instead of handwritten loop where appropriate
8 years ago
moneromooo-monero 5d38206fcc
ringct: remove spurious copies
8 years ago
moneromooo-monero 16732a85d7
rct: faster Cryptonote/rct conversions
8 years ago
moneromooo-monero 94fd881f74
rct: early out on failure on verRange
8 years ago
moneromooo-monero 074e602609
ringct: use Cryptonote serialization to hash non prunable data
8 years ago
moneromooo-monero c3b3260ae5
New "Halfway RingCT" outputs for coinbase transactions
8 years ago
moneromooo-monero 6f526cdff8
rct: log why verification fails
8 years ago
moneromooo-monero d4b8991e44
rct: serialize txnFee as varint
8 years ago
moneromooo-monero d4b62a1e29
rct amount key modified as per luigi1111's recommendations
8 years ago
moneromooo-monero 93f5c625f0
rct: rework v2 txes into prunable and non prunable data
8 years ago
moneromooo-monero d93746b6d3
rct: rework the verification preparation process
8 years ago
moneromooo-monero 3ab2ab3e76
rct: change the simple flag to a type
8 years ago
Shen Noether c5be4b0bea
rct: avoid the need for the last II element
8 years ago
moneromooo-monero b337aea6cc
rct: do not serialize senderPk - it is not used anymore
8 years ago
moneromooo-monero 9b70856ccb
rct: make the amount key derivable by a third party with the tx key
8 years ago