chore(tfhe): correct docstrings

This commit is contained in:
Arthur Meyre
2023-01-04 10:30:45 +01:00
parent d065e98888
commit 702360c03f
5 changed files with 7 additions and 7 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);
///