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

A trait implemented by types embodying an LWE secret key.

An LWE secret key is associated with a KeyDistribution type, which conveys its distribution.

Formal Definition

Associated Types

The distribution of this key.

Required methods

Returns the LWE dimension of the key.

Implementors