29 #ifndef DGK_COMPARISON_SERVER_HEADER_GUARD
30 #define DGK_COMPARISON_SERVER_HEADER_GUARD
42 namespace PrivateRecommendationsUtils {
44 class DgkComparisonClient;
64 size_t GetMSBPosition ()
const;
67 void SetClient (
const std::shared_ptr<DgkComparisonClient> &dgkComparisonClient);
83 Dgk::Ciphertext computeTau (
const BigInteger &a,
const BigInteger &tSP)
const;
94 #endif//DGK_COMPARISON_SERVER_HEADER_GUARD
PaillierCiphertext Ciphertext
Provide public access to the T_Ciphertext type.
Implementation of the public-key DGK Cryptosystem.
Definition of class Config.
Implementation of the public-key Paillier Cryptosystem.
~DgkComparisonServer()
Destructor - void implementation.
Definition of class Paillier.
std::weak_ptr< const DgkComparisonClient > dgkComparisonClient
A reference to the DgkComparisonClient.
const Dgk & dgkCryptoProvider
Reference to the DGK crypto provider.
const Paillier & paillierCryptoProvider
Reference to the Paillier crypto provider.
size_t l
Bitsize of comparison operands.