pub trait LweCiphertextVectorFusingOppositeEngine<CiphertextVector>: AbstractEnginewhere
CiphertextVector: LweCiphertextVectorEntity,{
// Required methods
fn fuse_opp_lwe_ciphertext_vector(
&mut self,
input: &mut CiphertextVector,
) -> Result<(), LweCiphertextVectorFusingOppositeError<Self::EngineError>>;
unsafe fn fuse_opp_lwe_ciphertext_vector_unchecked(
&mut self,
input: &mut CiphertextVector,
);
}Expand description
Required Methods§
Sourcefn fuse_opp_lwe_ciphertext_vector(
&mut self,
input: &mut CiphertextVector,
) -> Result<(), LweCiphertextVectorFusingOppositeError<Self::EngineError>>
fn fuse_opp_lwe_ciphertext_vector( &mut self, input: &mut CiphertextVector, ) -> Result<(), LweCiphertextVectorFusingOppositeError<Self::EngineError>>
Computes the opposite of an LWE ciphertext vector.
Sourceunsafe fn fuse_opp_lwe_ciphertext_vector_unchecked(
&mut self,
input: &mut CiphertextVector,
)
unsafe fn fuse_opp_lwe_ciphertext_vector_unchecked( &mut self, input: &mut CiphertextVector, )
Unsafely computes the opposite of an LWE ciphertext vector.
§Safety
For the general safety concerns regarding this operation, refer to the different variants
of LweCiphertextVectorFusingOppositeError. For safety concerns specific to an
engine, refer to the implementer safety section.