proofofcorrectdecryption.hpp
Go to the documentation of this file.
1 
12 #ifndef _PROOFOFCORRECTDECRYPTION_H_
13 #define _PROOFOFCORRECTDECRYPTION_H_
14 
15 #include "verification.hpp"
16 
17 
18 namespace proofs {
19 
20 
31 {
32 private:
37 
42 
47 
53 
59 
60 
61 public:
86  bool &readingWasOK,
87  XmlConfig * config,
88  std::vector<uint8_t> prefix,
89  unsigned int N,
90  arithm::Elmt partialJointKey,
91  elGamal::CipherGroup cipherTextsGrp,
92  arithm::Group * plainTextGrp,
93  elGamal::ArrayOfCiphers inputCiphers,
94  arithm::ArrayOfElmts decryptionFactors,
95  verifierUtils::ByteTree * commitmentFSproof,
96  verifierUtils::ByteTree * replyFSproof);
97 
109  bool isEverythingOK();
110 
111 };
112 
113 
114 } // closing namespace
115 
116 #endif