ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
naor-pinkas.h
Go to the documentation of this file.
1 
19 #ifndef __Naor_Pinkas_H_
20 #define __Naor_Pinkas_H_
21 
22 #include "baseOT.h"
23 
24 class NaorPinkas: public BaseOT {
25 
26 public:
27 
28  NaorPinkas(crypto* crypt, field_type ftype) :
29  BaseOT(crypt, ftype) {
30  }
31  ;
32  //TODO call super class to delete the pkcrypto object
33  ~NaorPinkas() {
34  }
35  ;
36 
37  void Receiver(uint32_t nSndVals, uint32_t nOTs, CBitVector& choices, CSocket& sock, BYTE* ret);
38  void Sender(uint32_t nSndVals, uint32_t nOTs, CSocket& sock, BYTE* ret);
39 
40 };
41 
42 #endif
Definition: naor-pinkas.h:24
baseOT implementation
Definition: crypto.h:58
Definition: socket.h:24
Definition: baseOT.h:33
Definition: cbitvector.h:123