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 
31 {
32 private:
38 
43 
48 
53 
58 
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