mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-10 15:18:33 -05:00
chore(tfhe): correct docstrings
This commit is contained in:
@@ -16,7 +16,7 @@ use rayon::prelude::*;
|
||||
///
|
||||
/// // DISCLAIMER: these toy example parameters are not guaranteed to be secure or yield correct
|
||||
/// // computations
|
||||
/// // Define parameters for LweCiphertext creation
|
||||
/// // Define parameters for LweBootstrapKey creation
|
||||
/// let input_lwe_dimension = LweDimension(742);
|
||||
/// let lwe_modular_std_dev = StandardDev(0.000007069849454709433);
|
||||
/// let output_lwe_dimension = LweDimension(2048);
|
||||
|
||||
@@ -64,7 +64,7 @@ use crate::core_crypto::entities::*;
|
||||
///
|
||||
/// // DISCLAIMER: these toy example parameters are not guaranteed to be secure or yield correct
|
||||
/// // computations
|
||||
/// // Define parameters for LweCiphertext creation
|
||||
/// // Define parameters for LweKeyswitchKey creation
|
||||
/// let input_lwe_dimension = LweDimension(742);
|
||||
/// let lwe_modular_std_dev = StandardDev(0.000007069849454709433);
|
||||
/// let output_lwe_dimension = LweDimension(2048);
|
||||
|
||||
@@ -15,7 +15,7 @@ use crate::core_crypto::entities::*;
|
||||
///
|
||||
/// // DISCLAIMER: these toy example parameters are not guaranteed to be secure or yield correct
|
||||
/// // computations
|
||||
/// // Define parameters for LweCiphertext creation
|
||||
/// // Define parameters for LweKeyswitchKey creation
|
||||
/// let input_lwe_dimension = LweDimension(742);
|
||||
/// let lwe_modular_std_dev = StandardDev(0.000007069849454709433);
|
||||
/// let output_lwe_dimension = LweDimension(2048);
|
||||
@@ -161,7 +161,7 @@ where
|
||||
///
|
||||
/// // DISCLAIMER: these toy example parameters are not guaranteed to be secure or yield correct
|
||||
/// // computations
|
||||
/// // Define parameters for LweCiphertext creation
|
||||
/// // Define parameters for LweKeyswitchKey creation
|
||||
/// let input_lwe_dimension = LweDimension(742);
|
||||
/// let lwe_modular_std_dev = StandardDev(0.000007069849454709433);
|
||||
/// let output_lwe_dimension = LweDimension(2048);
|
||||
@@ -327,7 +327,7 @@ mod test {
|
||||
fn test_seeded_lwe_ksk_gen_equivalence<Scalar: UnsignedTorus>() {
|
||||
// DISCLAIMER: these toy example parameters are not guaranteed to be secure or yield correct
|
||||
// computations
|
||||
// Define parameters for LweCiphertext creation
|
||||
// Define parameters for LweKeyswitchKey creation
|
||||
let input_lwe_dimension = LweDimension(742);
|
||||
let lwe_modular_std_dev = StandardDev(0.000007069849454709433);
|
||||
let output_lwe_dimension = LweDimension(2048);
|
||||
|
||||
@@ -42,7 +42,7 @@ impl<Scalar, C: Container<Element = Scalar>> SeededGlweCiphertextList<C> {
|
||||
///
|
||||
/// // DISCLAIMER: these toy example parameters are not guaranteed to be secure or yield correct
|
||||
/// // computations
|
||||
/// // Define parameters for LweCiphertext creation
|
||||
/// // Define parameters for SeededGlweCiphertextList creation
|
||||
/// let glwe_size = GlweSize(2);
|
||||
/// let polynomial_size = PolynomialSize(1024);
|
||||
/// let glwe_ciphertext_count = GlweCiphertextCount(2);
|
||||
|
||||
@@ -42,7 +42,7 @@ impl<Scalar, C: Container<Element = Scalar>> SeededLweCiphertextList<C> {
|
||||
///
|
||||
/// // DISCLAIMER: these toy example parameters are not guaranteed to be secure or yield correct
|
||||
/// // computations
|
||||
/// // Define parameters for LweCiphertext creation
|
||||
/// // Define parameters for SeededLweCiphertextList creation
|
||||
/// let lwe_dimension = LweDimension(742);
|
||||
/// let lwe_ciphertext_count = LweCiphertextCount(2);
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user