diff --git a/tfhe/src/high_level_api/xof_key_set/mod.rs b/tfhe/src/high_level_api/xof_key_set/mod.rs index d530b6f6c..e17bd63c5 100644 --- a/tfhe/src/high_level_api/xof_key_set/mod.rs +++ b/tfhe/src/high_level_api/xof_key_set/mod.rs @@ -378,7 +378,7 @@ impl CompressedXofKeySet { } /// Decompress the KeySet - pub fn decompress(self) -> crate::Result { + pub fn decompress(&self) -> crate::Result { let tag = self.compressed_server_key.tag.clone(); let (mut public_key, expanded_server_key) = self.expand(); // Server key tag is the source of truth; sync public key