aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctSigs.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-12-19Removed unused functionsLee Clagett1-16/+0
2016-12-12Tx verification failing is not an errorluigi11111-5/+5
And rangeProofs are on outputs...
2016-12-08Merge pull request #1414Riccardo Spagni1-0/+19
3b005275 ringct: add sc_check calls in MLSAG_Ver for ss and cc (moneromooo-monero) 2f1732a7 ringct: guard against bad data exceptions in worker threads (moneromooo-monero)
2016-12-07ringct: add sc_check calls in MLSAG_Ver for ss and ccmoneromooo-monero1-0/+5
luigi1111's recommendation
2016-12-07ringct: guard against bad data exceptions in worker threadsmoneromooo-monero1-0/+14
If purported pubkeys aren't actually valid pubkeys, exceptions will fly. These will terminate if thrown in a worker thread. Guard against this.
2016-12-04ringct: luigi1111's changes to fix and speedup Borromean sigsluigi11111-16/+15
2016-12-04ringct: switch to Borromean signaturesShen Noether1-86/+59
2016-11-23Added task_region - a fork/join task implementationLee Clagett1-60/+45
2016-11-02adding thread_group for managing async tasksLee Clagett1-98/+50
2016-10-29ringct: check the size of amount_keys is the same as destinationsmoneromooo-monero1-0/+2
2016-10-29ringct: always shutdown the boost io servicemoneromooo-monero1-3/+3
Even if no worker threads were started, it needs shutting down or it will cause an invalid access in the io service thread
2016-10-15ringct: thread verRct and verRctSimplemoneromooo-monero1-17/+119
2016-10-15ringct: remove unneeded type conversionsmoneromooo-monero1-2/+2
2016-10-15ringct: reserve space in vectors to avoid excessive reallocationmoneromooo-monero1-0/+2
2016-10-10Add performance timers for ringct tx verificationmoneromooo-monero1-0/+7
2016-10-08ringct: use const refs as parameters where appropriatemoneromooo-monero1-2/+2
2016-09-14rct: rework serialization to avoid storing vector sizesmoneromooo-monero1-2/+9
2016-08-28ringct: pass structure by const ref, not valuemoneromooo-monero1-1/+1
2016-08-28rct: early out on failure on verRangemoneromooo-monero1-3/+5
2016-08-28ringct: use Cryptonote serialization to hash non prunable datamoneromooo-monero1-21/+9
2016-08-28rct: log why verification failsmoneromooo-monero1-9/+13
and remove some unnecessary variables in the checking code
2016-08-28rct amount key modified as per luigi1111's recommendationsmoneromooo-monero1-22/+6
This allows the key to be not the same for two outputs sent to the same address (eg, if you pay yourself, and also get change back). Also remove the key amounts lists and return parameters since we don't actually generate random ones, so we don't need to save them as we can recalculate them when needed if we have the correct keys.
2016-08-28rct: rework v2 txes into prunable and non prunable datamoneromooo-monero1-21/+24
Nothing is pruned, but this allows easier changes later.
2016-08-28rct: rework the verification preparation processmoneromooo-monero1-59/+75
The whole rct data apart from the MLSAGs is now included in the signed message, to avoid malleability issues. Instead of passing the data that's not serialized as extra parameters to the verification API, the transaction is modified to fill all that information. This means the transaction can not be const anymore, but it cleaner in other ways.
2016-08-28rct: change the simple flag to a typemoneromooo-monero1-6/+6
for future expansion
2016-08-28rct: avoid the need for the last II elementShen Noether1-21/+41
This element is used in the generation of the MLSAG, but isn't needed in verification. Also misc changes in the cryptonote code to match, by mooo.
2016-08-28rct: make the amount key derivable by a third party with the tx keymoneromooo-monero1-12/+28
Scheme design from luigi1114.
2016-08-28rct: do not serialize public keys in outPkmoneromooo-monero1-14/+14
They can be reconstructed from vout
2016-08-28port get_tx_key/check_tx_key to rctmoneromooo-monero1-6/+8
2016-08-28integrate simple rct apimoneromooo-monero1-31/+53
2016-08-28ringct: optimization/cleanup of hash functionsShen Noether1-22/+17
2016-08-28ringct: "simple" ringct variantShen Noether1-0/+211
Allows the fake outs to be in different positions for each ring. For rct inputs only.
2016-08-28ringct: do not serialize what can be reconstructedmoneromooo-monero1-14/+22
The mixRing (output keys and commitments) and II fields (key images) can be reconstructed from vin data. This saves some modest amount of space in the tx.
2016-08-28ringct: add missing size check for ecdhInfomoneromooo-monero1-0/+1
2016-08-28ringct: change asserts to return false for boolean functionsmoneromooo-monero1-10/+10
2016-08-28add rct to the protocolmoneromooo-monero1-15/+23
It is not yet constrained to a fork, so don't use on the real network or you'll be orphaned or rejected.
2016-08-28ringct: allow no outputs, and add tests for this and feesmoneromooo-monero1-2/+0
2016-08-28ringct: make fee optionalmoneromooo-monero1-2/+9
2016-08-28ringct: txn fee stuffShen Noether1-11/+20
2016-08-28ringct: new {gen,decode}Rct APIs for conveniencemoneromooo-monero1-10/+24
A new version of genRct takes the mixRing as parameter, instead of the inPk. inPk are part of the mixRing, and it is cleaner to pass the mixRing data than to fetch it from the RingCT code. A new version of decodeRct also returns the mask. Also, failure to decode throws, so errors are properly detected.
2016-08-28ringct: restore verRange check in debug modemoneromooo-monero1-1/+1
2016-08-28ringct: add check for destinations/amount size being equalmoneromooo-monero1-0/+1
2016-08-28ringct: fix off by 1 in mixin usagemoneromooo-monero1-3/+3
2016-08-28ringct: cosmetic fixesShen Noether1-15/+6
Ported from Shen's RingCT repo
2016-08-28Fix sc_0 to skGen in ProveRangeShen Noether1-1/+1
2016-08-28ringct: add a few consts where appropriatemoneromooo-monero1-3/+3
2016-08-28ringct: add simple input validationmoneromooo-monero1-25/+67
Throw when inputs aren't the expected size.
2016-08-28ringct: import of Shen Noether's ring confidential transactionsmoneromooo-monero1-0/+533