We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c59c1c commit b93c23eCopy full SHA for b93c23e
tfhe/src/integer/compression_keys.rs
@@ -49,6 +49,17 @@ impl CompressedDecompressionKey {
49
}
50
51
52
+impl CompressionPrivateKeys {
53
+ pub fn into_raw_parts(self) -> crate::shortint::list_compression::CompressionPrivateKeys {
54
+ let Self { key } = self;
55
+ key
56
+ }
57
+
58
+ pub fn from_raw_parts(key: crate::shortint::list_compression::CompressionPrivateKeys) -> Self {
59
+ Self { key }
60
61
+}
62
63
impl CompressionKey {
64
pub fn into_raw_parts(self) -> crate::shortint::list_compression::CompressionKey {
65
let Self { key } = self;
0 commit comments