refactor(jit): Use PublicArguments instead of JitLambda::Argument to call the lambda (uniform calling to ServerLambda and JitLambda)

This commit is contained in:
Quentin Bourgerie
2022-03-02 14:50:02 +01:00
parent 8a52cdaaf5
commit 0d1f041323
20 changed files with 485 additions and 325 deletions

View File

@@ -53,10 +53,6 @@ std::size_t ClientParameters::hash() {
return currentHash;
}
LweSecretKeyParam ClientParameters::lweSecretKeyParam(CircuitGate gate) {
return secretKeys.find(gate.encryption->secretKeyID)->second;
}
llvm::json::Value toJSON(const LweSecretKeyParam &v) {
llvm::json::Object object{
{"dimension", v.dimension},