pub trait LweCiphertextVectorEntity: AbstractEntity<Kind = LweCiphertextVectorKind> {
    type KeyDistribution: KeyDistributionMarker;
    fn lwe_dimension(&self) -> LweDimension;
fn lwe_ciphertext_count(&self) -> LweCiphertextCount; }
Expand description

A trait implemented by types embodying an LWE ciphertext vector.

An LWE ciphertext vector is associated with a KeyDistribution type, which conveys the distribution of the secret key it was encrypted with.

Formal Definition

Associated Types

The distribution of key the ciphertext was encrypted with.

Required methods

Returns the LWE dimension of the ciphertexts.

Returns the number of ciphertexts contained in the vector.

Implementors