mirror of
https://github.com/Sunscreen-tech/Sunscreen.git
synced 2026-04-19 03:00:06 -04:00
dependency updates
This commit is contained in:
@@ -89,8 +89,7 @@ where
|
||||
Self {
|
||||
operation,
|
||||
group_id,
|
||||
stack_id,
|
||||
}
|
||||
stack_id }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -349,7 +348,6 @@ where
|
||||
#[cfg(feature = "debugger")]
|
||||
{
|
||||
let group_id = self.group_counter;
|
||||
|
||||
let stack_id = self.stack_counter;
|
||||
|
||||
let node_index = self.graph.add_node(NodeInfo {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
use actix_cors::Cors;
|
||||
use actix_web::{get, web, App, HttpResponse, HttpServer, Responder};
|
||||
|
||||
use petgraph::Direction::Incoming;
|
||||
use semver::Version;
|
||||
use serde::Deserialize;
|
||||
use serde_json::{json, Value};
|
||||
@@ -136,10 +137,11 @@ pub async fn get_fhe_node_data(
|
||||
// let decrypted = runtime.decrypt(&sunscreen_ciphertext, pk).unwrap();
|
||||
|
||||
// you can get this with SEAL
|
||||
// TODO: does this accurately get the noise budget even if the `data_type` field in the ciphertext is wrong?
|
||||
let noise_budget = runtime
|
||||
.measure_noise_budget(&sunscreen_ciphertext, pk)
|
||||
.unwrap();
|
||||
// TODO: figure out how to update this
|
||||
|
||||
let multiplicative_depth = 0;
|
||||
// you can get this with SEAL
|
||||
let coefficients = vec![0];
|
||||
@@ -166,12 +168,10 @@ pub async fn get_fhe_node_data(
|
||||
name: "".to_owned(),
|
||||
version: Version::new(1, 1, 1),
|
||||
},
|
||||
|
||||
inner: InnerPlaintext::Seal(vec![with_context]),
|
||||
};
|
||||
|
||||
// TODO: how does the value work?
|
||||
let noise_budget = 0;
|
||||
// TODO: figure out how to update this
|
||||
let multiplicative_depth = 0;
|
||||
// you can get this with SEAL
|
||||
let coefficients = vec![0];
|
||||
|
||||
@@ -2,13 +2,14 @@ use crate::{InnerPlaintext, PrivateKey, SealData};
|
||||
use static_assertions::const_assert;
|
||||
use sunscreen_compiler_common::{GraphQuery, GraphQueryError};
|
||||
use sunscreen_fhe_program::{FheProgram, FheProgramTrait, Literal, Operation::*};
|
||||
use sunscreen_fhe_program::SchemeType::Bfv;
|
||||
use seal_fhe::SecurityLevel::TC128;
|
||||
|
||||
|
||||
|
||||
#[cfg(feature = "debugger")]
|
||||
use crate::debugger::sessions::{get_sessions, BfvSession};
|
||||
|
||||
|
||||
use crate::WithContext;
|
||||
|
||||
use crossbeam::atomic::AtomicCell;
|
||||
use petgraph::{stable_graph::NodeIndex, Direction};
|
||||
|
||||
Reference in New Issue
Block a user