helayers::AbstractBitwiseEvaluator Class Referenceabstract

For internal use. More...

#include <AbstractBitwiseEvaluator.h>

Public Member Functions

virtual std::shared_ptr< AbstractCiphertextgetMSB (const AbstractCiphertext &c) const =0
 
virtual std::shared_ptr< AbstractCiphertextgetFlippedMSB (const AbstractCiphertext &c) const =0
 
virtual std::shared_ptr< AbstractCiphertexthamming (const AbstractCiphertext &c, int from=0, int to=-1) const =0
 
virtual void setIsSigned (AbstractCiphertext &c, bool val) const =0
 
virtual bool getIsSigned (const AbstractCiphertext &c) const =0
 
virtual std::vector< std::shared_ptr< AbstractCiphertext > > split (const AbstractCiphertext &c) const =0
 
virtual std::shared_ptr< AbstractCiphertextcombine (const std::vector< std::shared_ptr< AbstractCiphertext >> &cs, int from=0, int to=-1, int bitsPerElement=1) const =0
 
virtual std::shared_ptr< AbstractCiphertextisEqual (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0
 
virtual std::shared_ptr< AbstractCiphertextmultiply (const AbstractCiphertext &c1, const AbstractCiphertext &c2, int targetBits=-1) const =0
 
virtual std::shared_ptr< AbstractCiphertextadd (const AbstractCiphertext &c1, const AbstractCiphertext &c2, int targetBits=-1) const =0
 
virtual std::shared_ptr< AbstractCiphertextsub (const AbstractCiphertext &c1, const AbstractCiphertext &c2, int targetBits=-1) const =0
 
virtual std::shared_ptr< AbstractCiphertextmultiplyBit (const AbstractCiphertext &c, const AbstractCiphertext &bit) const =0
 
virtual std::shared_ptr< AbstractCiphertextbitwiseXor (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0
 
virtual int getNumBits (const AbstractCiphertext &c) const =0
 
virtual void setNumBits (AbstractCiphertext &c, int bits) const =0
 
virtual int getDefaultNumBits () const =0
 
virtual void debugPrintWithBinary (const AbstractCiphertext &c, const std::string &title, int maxElements=4, int verbose=0, std::ostream &out=std::cout) const =0
 
virtual double getScale (const AbstractCiphertext &c) const =0
 
virtual std::shared_ptr< AbstractCiphertextmax (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0
 
virtual std::shared_ptr< AbstractCiphertextmin (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0
 
virtual std::shared_ptr< AbstractCiphertextisGreater (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0
 
virtual std::shared_ptr< AbstractCiphertextisLess (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0
 
virtual std::shared_ptr< AbstractCiphertextisGreaterEqual (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0
 
virtual std::shared_ptr< AbstractCiphertextisLessEqual (const AbstractCiphertext &c1, const AbstractCiphertext &c2) const =0
 

Detailed Description

For internal use.


The documentation for this class was generated from the following file: