#ifndef __CHIFFREMENT_HPP #define __CHIFFREMENT_HPP #include "BitChiffre.hpp" #include "BitEvalL1.hpp" #include "keygen.hpp" #include "representation.hpp" //template //void chiffrement(BitEvalL1& bit_chiffre,F2 bit_clair, PublicKey public_key, Type type); void chiffrement(BitEvalL1& bit_chiffre,F2 bit_clair, PublicKey public_key); void chiffrement(BitEvalL1& bit_chiffre,F2 bit_clair, PublicKey public_key); void chiffrement(BitChiffre& bit_chiffre,F2 bit_clair, PublicKey public_key, Type type); void chiffrement(Bipoint& ciphertext,F2 bit_clair, PublicKey public_key); void chiffrement(Bipoint& ciphertext,F2 bit_clair, PublicKey public_key); extern const scalar_t bn_n; extern const curvepoint_fp_t bn_curvegen; extern const twistpoint_fp2_t bn_twistgen; #endif /* __CHIFFREMENT_HPP */