pub trait GlweCiphertextVectorConversionEngine<Input, Output>: AbstractEnginewhere
    Input: GlweCiphertextVectorEntity,
    Output: GlweCiphertextVectorEntity,
{ fn convert_glwe_ciphertext_vector(
        &mut self,
        input: &Input
    ) -> Result<Output, GlweCiphertextVectorConversionError<Self::EngineError>>; unsafe fn convert_glwe_ciphertext_vector_unchecked(
        &mut self,
        input: &Input
    ) -> Output; }
Expand description

A trait for engines converting GLWE ciphertext vectors.

Semantics

This pure operation generates a GLWE ciphertext vector containing the conversion of the input GLWE ciphertext vector to a type with a different representation (for instance from cpu to gpu memory).

Formal Definition

Required Methods

Converts a GLWE ciphertext vector.

Unsafely converts a GLWE ciphertext vector.

Safety

For the general safety concerns regarding this operation, refer to the different variants of GlweCiphertextVectorConversionError. For safety concerns specific to an engine, refer to the implementer safety section.

Implementors