Trait concrete_core::specification::engines::LweSeededBootstrapKeyToLweBootstrapKeyTransformationEngine
source · [−]pub trait LweSeededBootstrapKeyToLweBootstrapKeyTransformationEngine<InputSeededBootstrapKey, OutputBootstrapKey>: AbstractEnginewhere
InputSeededBootstrapKey: LweSeededBootstrapKeyEntity,
OutputBootstrapKey: LweBootstrapKeyEntity,{
fn transform_lwe_seeded_bootstrap_key_to_lwe_bootstrap_key(
&mut self,
lwe_seeded_bootstrap_key: InputSeededBootstrapKey
) -> Result<OutputBootstrapKey, LweSeededBootstrapKeyToLweBootstrapKeyTransformationError<Self::EngineError>>;
unsafe fn transform_lwe_seeded_bootstrap_key_to_lwe_bootstrap_key_unchecked(
&mut self,
lwe_seeded_bootstrap_key: InputSeededBootstrapKey
) -> OutputBootstrapKey;
}
Expand description
A trait for engines transforming LWE seeded bootstrap keys into LWE bootstrap keys.
Semantics
This pure operation moves the existing LWE seeded bootstrap key into a LWE bootstrap key.
Formal Definition
LWE seeded bootstrap key to LWE bootstrap key transformation
TODO
Required Methods
sourcefn transform_lwe_seeded_bootstrap_key_to_lwe_bootstrap_key(
&mut self,
lwe_seeded_bootstrap_key: InputSeededBootstrapKey
) -> Result<OutputBootstrapKey, LweSeededBootstrapKeyToLweBootstrapKeyTransformationError<Self::EngineError>>
fn transform_lwe_seeded_bootstrap_key_to_lwe_bootstrap_key(
&mut self,
lwe_seeded_bootstrap_key: InputSeededBootstrapKey
) -> Result<OutputBootstrapKey, LweSeededBootstrapKeyToLweBootstrapKeyTransformationError<Self::EngineError>>
Does the transformation of the LWE seeded bootstrap key into an LWE bootstrap key
sourceunsafe fn transform_lwe_seeded_bootstrap_key_to_lwe_bootstrap_key_unchecked(
&mut self,
lwe_seeded_bootstrap_key: InputSeededBootstrapKey
) -> OutputBootstrapKey
unsafe fn transform_lwe_seeded_bootstrap_key_to_lwe_bootstrap_key_unchecked(
&mut self,
lwe_seeded_bootstrap_key: InputSeededBootstrapKey
) -> OutputBootstrapKey
Unsafely transforms an LWE seeded bootstrap key into an LWE bootstrap key
Safety
For the general safety concerns regarding this operation, refer to the different variants
of LweSeededBootstrapKeyToLweBootstrapKeyTransformationError
.
For safety concerns specific to an engine, refer to the implementer safety section.
Implementors
impl LweSeededBootstrapKeyToLweBootstrapKeyTransformationEngine<LweSeededBootstrapKey32, LweBootstrapKey32> for DefaultEngine
Description:
Implementation of LweSeededBootstrapKeyToLweBootstrapKeyTransformationEngine
for
DefaultEngine
that operates on 32 bits integers. It outputs a bootstrap key in the
standard domain.
impl LweSeededBootstrapKeyToLweBootstrapKeyTransformationEngine<LweSeededBootstrapKey64, LweBootstrapKey64> for DefaultEngine
Description:
Implementation of LweSeededBootstrapKeyToLweBootstrapKeyTransformationEngine
for
DefaultEngine
that operates on 64 bits integers. It outputs a bootstrap key in the
standard domain.