tfhe 1.6.0

TFHE-rs is a fully homomorphic encryption (FHE) library that implements Zama's variant of TFHE.
Documentation
//! Module containing the definitions of the entities.
//!
//! Entities represent either mathematical or cryptographic objects. They contain usual methods
//! associated to the object, e.g., `get_mask` for the entity `LweCiphertext`.

pub mod cleartext;
pub mod compressed_modulus_switched_glwe_ciphertext;
pub mod compressed_modulus_switched_lwe_ciphertext;
pub mod compressed_modulus_switched_multi_bit_lwe_ciphertext;
pub mod ggsw_ciphertext;
pub mod ggsw_ciphertext_list;
pub mod glwe_ciphertext;
pub mod glwe_ciphertext_list;
pub mod glwe_keyswitch_key;
pub mod glwe_secret_key;
pub mod gsw_ciphertext;
pub mod lwe_bootstrap_key;
pub mod lwe_bootstrap_key_chunk;
pub mod lwe_ciphertext;
pub mod lwe_ciphertext_list;
pub mod lwe_compact_ciphertext_list;
pub mod lwe_compact_public_key;
pub mod lwe_keyswitch_key;
pub mod lwe_keyswitch_key_chunk;
pub mod lwe_multi_bit_bootstrap_key;
pub mod lwe_packing_keyswitch_key;
pub mod lwe_private_functional_packing_keyswitch_key;
pub mod lwe_private_functional_packing_keyswitch_key_list;
pub mod lwe_public_key;
pub mod lwe_secret_key;
pub mod modulus_switched_lwe_ciphertext;
pub mod ntt_ggsw_ciphertext;
pub mod ntt_ggsw_ciphertext_list;
pub mod ntt_lwe_bootstrap_key;
pub mod packed_integers;
pub mod plaintext;
pub mod plaintext_list;
pub mod polynomial;
pub mod polynomial_list;
pub mod seeded_ggsw_ciphertext;
pub mod seeded_ggsw_ciphertext_list;
pub mod seeded_glwe_ciphertext;
pub mod seeded_glwe_ciphertext_list;
pub mod seeded_lwe_bootstrap_key;
pub mod seeded_lwe_bootstrap_key_chunk;
pub mod seeded_lwe_ciphertext;
pub mod seeded_lwe_ciphertext_list;
pub mod seeded_lwe_compact_public_key;
pub mod seeded_lwe_keyswitch_key;
pub mod seeded_lwe_keyswitch_key_chunk;
pub mod seeded_lwe_multi_bit_bootstrap_key;
pub mod seeded_lwe_packing_keyswitch_key;
pub mod seeded_lwe_public_key;

pub use crate::core_crypto::fft_impl::fft128::crypto::bootstrap::{
    Fourier128LweBootstrapKey, Fourier128LweBootstrapKeyOwned,
};
pub use crate::core_crypto::fft_impl::fft128::crypto::ggsw::{
    Fourier128GgswCiphertext, Fourier128GgswLevelMatrix, Fourier128GgswLevelRow,
};
pub use crate::core_crypto::fft_impl::fft64::crypto::bootstrap::{
    FourierLweBootstrapKey, FourierLweBootstrapKeyOwned,
};
pub use crate::core_crypto::fft_impl::fft64::crypto::ggsw::{
    FourierGgswCiphertext, FourierGgswCiphertextList, FourierGgswLevelMatrix, FourierGgswLevelRow,
};
pub use crate::core_crypto::fft_impl::fft64::math::polynomial::FourierPolynomial;
#[cfg(feature = "zk-pok")]
pub use crate::zk::*;
pub use cleartext::*;
pub use compressed_modulus_switched_lwe_ciphertext::*;
pub use compressed_modulus_switched_multi_bit_lwe_ciphertext::*;
pub use ggsw_ciphertext::*;
pub use ggsw_ciphertext_list::*;
pub use glwe_ciphertext::*;
pub use glwe_ciphertext_list::*;
pub use glwe_keyswitch_key::*;
pub use glwe_secret_key::*;
pub use gsw_ciphertext::*;
pub use lwe_bootstrap_key::*;
pub use lwe_bootstrap_key_chunk::*;
pub use lwe_ciphertext::*;
pub use lwe_ciphertext_list::*;
pub use lwe_compact_ciphertext_list::*;
pub use lwe_compact_public_key::*;
pub use lwe_keyswitch_key::*;
pub use lwe_keyswitch_key_chunk::*;
pub use lwe_multi_bit_bootstrap_key::*;
pub use lwe_packing_keyswitch_key::*;
pub use lwe_private_functional_packing_keyswitch_key::*;
pub use lwe_private_functional_packing_keyswitch_key_list::*;
pub use lwe_public_key::*;
pub use lwe_secret_key::*;
pub use modulus_switched_lwe_ciphertext::*;
pub use ntt_ggsw_ciphertext::*;
pub use ntt_ggsw_ciphertext_list::*;
pub use ntt_lwe_bootstrap_key::*;
pub use plaintext::*;
pub use plaintext_list::*;
pub use polynomial::*;
pub use polynomial_list::*;
pub use seeded_ggsw_ciphertext::*;
pub use seeded_ggsw_ciphertext_list::*;
pub use seeded_glwe_ciphertext::*;
pub use seeded_glwe_ciphertext_list::*;
pub use seeded_lwe_bootstrap_key::*;
pub use seeded_lwe_bootstrap_key_chunk::*;
pub use seeded_lwe_ciphertext::*;
pub use seeded_lwe_ciphertext_list::*;
pub use seeded_lwe_compact_public_key::*;
pub use seeded_lwe_keyswitch_key::*;
pub use seeded_lwe_keyswitch_key_chunk::*;
pub use seeded_lwe_multi_bit_bootstrap_key::*;
pub use seeded_lwe_packing_keyswitch_key::*;
pub use seeded_lwe_public_key::*;