aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctSigs.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-01-14rct: split rct checks between semantics and othermoneromooo-monero1-2/+4
Semantics can be checked early
2016-12-04ringct: switch to Borromean signaturesShen Noether1-15/+2
2016-10-15ringct: remove unneeded type conversionsmoneromooo-monero1-1/+1
2016-10-08ringct: use const refs as parameters where appropriatemoneromooo-monero1-2/+2
2016-08-28ringct: pass structure by const ref, not valuemoneromooo-monero1-1/+1
2016-08-28rct amount key modified as per luigi1111's recommendationsmoneromooo-monero1-2/+0
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 the verification preparation processmoneromooo-monero1-4/+2
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: avoid the need for the last II elementShen Noether1-2/+2
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-5/+7
Scheme design from luigi1114.
2016-08-28rct: do not serialize public keys in outPkmoneromooo-monero1-2/+2
They can be reconstructed from vout
2016-08-28port get_tx_key/check_tx_key to rctmoneromooo-monero1-2/+2
2016-08-28integrate simple rct apimoneromooo-monero1-9/+11
2016-08-28ringct: "simple" ringct variantShen Noether1-3/+6
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-5/+6
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: txn fee stuffShen Noether1-2/+2
2016-08-28ringct: new {gen,decode}Rct APIs for conveniencemoneromooo-monero1-1/+3
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: add a few consts where appropriatemoneromooo-monero1-3/+3
2016-08-28ringct: add simple input validationmoneromooo-monero1-7/+7
Throw when inputs aren't the expected size.
2016-08-28ringct: import of Shen Noether's ring confidential transactionsmoneromooo-monero1-0/+144