Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
Pages
proofs
proofofshuffleofciphers.hpp
Go to the documentation of this file.
1
12
#ifndef _PROOFOFSHUFFLEOFCIPHERS_H_
13
#define _PROOFOFSHUFFLEOFCIPHERS_H_
14
15
#include "
verification.hpp
"
16
17
18
namespace
proofs {
19
20
30
class
ProofOfShuffleOfCiphers
:
public
Verification
31
{
32
private
:
37
arithm::ArrayOfElmts
u
;
38
42
arithm::Field
*
R
;
43
47
elGamal::CipherGroup
C
;
48
52
arithm::Elmt
pk
;
53
57
elGamal::ArrayOfCiphers
w
;
58
62
elGamal::ArrayOfCiphers
wPrime
;
63
64
public
:
92
ProofOfShuffleOfCiphers
(
bool
&readingWasOK,
93
XmlConfig
* config,
94
std::vector<uint8_t> prefix,
95
arithm::ArrayOfElmts
pedersen,
96
unsigned
int
N,
97
arithm::Field
* randomizerGrp,
98
elGamal::CipherGroup
cipherTextsGrp,
99
arithm::Elmt
elGamalPkey,
100
elGamal::ArrayOfCiphers
inputCiphers,
101
elGamal::ArrayOfCiphers
outputCiphers,
102
verifierUtils::ByteTree
* commitmentFSproof,
103
verifierUtils::ByteTree
* replyFSproof);
104
116
bool
isEverythingOK
();
117
118
};
119
120
121
}
// closing namespace
122
123
#endif