mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-15 07:05:09 -05:00
updates
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from estimator_new import *
|
||||
from sage.all import oo, save, load
|
||||
from sage.all import oo, save, load, ceil
|
||||
from math import log2
|
||||
import multiprocessing
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import numpy as np
|
||||
from sage.all import save, load
|
||||
from sage.all import save, load, ceil
|
||||
|
||||
|
||||
def sort_data(security_level):
|
||||
from operator import itemgetter
|
||||
@@ -15,6 +16,7 @@ def sort_data(security_level):
|
||||
|
||||
return X
|
||||
|
||||
|
||||
def generate_curve(security_level):
|
||||
|
||||
# step 1. get the data
|
||||
@@ -90,6 +92,6 @@ def generate_and_verify(security_levels, log_q, name = "verified_curves"):
|
||||
|
||||
return data
|
||||
|
||||
# To verify the curves we use
|
||||
generate_and_verify([80, 96, 112, 128, 144, 160, 176, 192, 256], log_q = 64)
|
||||
|
||||
data = generate_and_verify([80, 96, 112, 128, 144, 160, 176, 192, 256], log_q = 64)
|
||||
print(data)
|
||||
|
||||
Reference in New Issue
Block a user