dependency updates

This commit is contained in:
Matthew Liu
2023-07-20 00:46:19 -07:00
parent a59b0eb892
commit f563afe5d6
3 changed files with 8 additions and 9 deletions

View File

@@ -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 {

View File

@@ -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];

View File

@@ -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};