ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
maskingfunction.h
Go to the documentation of this file.
1 
19 #ifndef MASKINGFUNCTION_H_
20 #define MASKINGFUNCTION_H_
21 
22 #include "../util/cbitvector.h"
23 #include "../util/typedefs.h"
24 
26 
27 public:
28  MaskingFunction() {
29  }
30  ;
31  ~MaskingFunction() {
32  }
33  ;
34 
35  virtual void Mask(uint32_t progress, uint32_t len, CBitVector* values, CBitVector* snd_buf, BYTE protocol) = 0;
36  virtual void UnMask(uint32_t progress, uint32_t len, CBitVector& choices, CBitVector& output, CBitVector& rcv_buf, CBitVector& tmpmask, BYTE version) = 0;
37  virtual void expandMask(CBitVector& out, BYTE* sbp, uint32_t offset, uint32_t processedOTs, uint32_t bitlength, crypto* crypt) = 0;
38 
39 protected:
40 
41 };
42 
43 #endif /* MASKINGFUNCTION_H_ */
Definition: crypto.h:58
Definition: maskingfunction.h:25
Definition: cbitvector.h:123