mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-10 07:08:03 -05:00
chore(tfhe): dump non deterministic key and use deterministic when required
This commit is contained in:
@@ -36,7 +36,7 @@ fn client_server_keys() {
|
||||
|
||||
let start = std::time::Instant::now();
|
||||
|
||||
let _ = KEY_CACHE.get_from_param(params.with_deterministic_execution());
|
||||
let _ = KEY_CACHE.get_from_param(params.with_non_deterministic_execution());
|
||||
|
||||
let stop = start.elapsed().as_secs();
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ pub struct MultiBitPBSParameters {
|
||||
impl MultiBitPBSParameters {
|
||||
pub const fn with_deterministic_execution(self) -> Self {
|
||||
Self {
|
||||
deterministic_execution: false,
|
||||
deterministic_execution: true,
|
||||
..self
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user