From 96d230cf6f95ea310665aabff91b017db2cd6dcd Mon Sep 17 00:00:00 2001 From: David Palm Date: Mon, 13 Apr 2026 17:04:30 +0200 Subject: [PATCH] chore: make CompressedXofKeySet::decompress take a reference --- tfhe/src/high_level_api/xof_key_set/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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