Function concrete_core::crypto::cross::constant_sample_extract [−][src]
pub fn constant_sample_extract<LweCont, RlweCont, Scalar>(
lwe: &mut LweCiphertext<LweCont>,
glwe: &GlweCiphertext<RlweCont>
) where
LweCiphertext<LweCont>: AsMutTensor<Element = Scalar>,
GlweCiphertext<RlweCont>: AsRefTensor<Element = Scalar>,
Scalar: UnsignedTorus,
Extracts the constant term of a GLWE ciphertext into an LWE ciphertext.