'privPointLoc'
PrivPointUtil.h
1 
6 #ifndef PRIVPOINTLOC_PRIVPOINTUTIL_H
7 #define PRIVPOINTLOC_PRIVPOINTUTIL_H
8 
9 #include "Encryptor.h"
10 
12 public:
13  PrivPointUtil();
14 
23  std::vector<long> encodePoint(int, int, int);
24 
34  helib::Ctxt secureLT(Encryptor &, int, int, helib::Ctxt, helib::Ptxt<helib::BGV>);
35 
45  helib::Ctxt secureGT(Encryptor &, int, int, helib::Ctxt, helib::Ptxt<helib::BGV>);
46 
56  helib::Ctxt secureLT(Encryptor &, int, int, helib::Ctxt, helib::Ctxt);
57 
67  helib::Ctxt secureGT(Encryptor &, int, int, helib::Ctxt, helib::Ctxt);
68 
69 
79  helib::Ctxt binaryAdd(Encryptor &, int, int, helib::Ctxt, helib::Ptxt<helib::BGV>);
80 
91  helib::Ctxt binaryMult(Encryptor &, int, int, helib::Ctxt, helib::Ptxt<helib::BGV>, int);
92 
101  int processResult(Encryptor &, helib::Ctxt, int, int);
102 };
103 
104 #endif /*PRIVPOINTLOC_PRIVPOINTUTIL_H*/
helib::Ctxt secureGT(Encryptor &, int, int, helib::Ctxt, helib::Ptxt< helib::BGV >)
Definition: PrivPointUtil.cpp:38
Definition: Encryptor.h:12
helib::Ctxt binaryMult(Encryptor &, int, int, helib::Ctxt, helib::Ptxt< helib::BGV >, int)
Definition: PrivPointUtil.cpp:313
std::vector< long > encodePoint(int, int, int)
Definition: PrivPointUtil.cpp:9
int processResult(Encryptor &, helib::Ctxt, int, int)
Definition: PrivPointUtil.cpp:452
helib::Ctxt binaryAdd(Encryptor &, int, int, helib::Ctxt, helib::Ptxt< helib::BGV >)
Definition: PrivPointUtil.cpp:394
Definition: PrivPointUtil.h:11
helib::Ctxt secureLT(Encryptor &, int, int, helib::Ctxt, helib::Ptxt< helib::BGV >)
Definition: PrivPointUtil.cpp:111