arnaucube
arnaucube/poulpyPublic Self-hosted repository
poulpy/poulpy-schemes/src/tfhe/circuit_bootstrapping/key_compressed.rs
poulpy-schemes/src/tfhe/circuit_bootstrapping/key_compressed.rsRaw
 1use std::collections::HashMap;
 2
 3use poulpy_core::layouts::{GLWEAutomorphismKeyCompressed, GLWETensorKeyCompressed};
 4use poulpy_hal::layouts::Data;
 5
 6use crate::tfhe::blind_rotation::{BlindRotationAlgo, BlindRotationKeyCompressed};
 7
 8#[allow(dead_code)]
 9pub struct CircuitBootstrappingKey<D: Data, BRA: BlindRotationAlgo> {
10    pub(crate) brk: BlindRotationKeyCompressed<D, BRA>,
11    pub(crate) tsk: GLWETensorKeyCompressed<Vec<u8>>,
12    pub(crate) atk: HashMap<i64, GLWEAutomorphismKeyCompressed<Vec<u8>>>,
13}