mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-15 15:15:06 -05:00
match calls
This commit is contained in:
@@ -35,7 +35,7 @@ def estimate_security_with_lattice_estimator(lwe_dimension, std_dev, log_q):
|
||||
params = LWE.Parameters(
|
||||
n=lwe_dimension, q=2 ** log_q, Xs=ND.DiscreteGaussian(0.50, -0.50), Xe=ND.DiscreteGaussian(std_dev), m=oo, tag="params"
|
||||
)
|
||||
costs = estimate(params)
|
||||
costs = estimate(params, red_cost_model = RC.BDGL16)
|
||||
return get_security_level(costs, 2)
|
||||
|
||||
def get_minimal_lwe_dimension(curve, security_level, log_q):
|
||||
|
||||
Reference in New Issue
Block a user