-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hybrid attacks seems to be sevior issue.
- Loading branch information
1 parent
b864083
commit ee7a581
Showing
4 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "python/lattice-estimator"] | ||
path = python/lattice-estimator | ||
url = https://github.com/malb/lattice-estimator.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule lattice-estimator
added at
09e235
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/python3 | ||
import importlib | ||
estimator = importlib.import_module(".estimator","lattice-estimator") | ||
# param = estimator.schemes.TFHE630 | ||
param = estimator.lwe_parameters.LWEParameters( | ||
n=586, | ||
q=2 ** 32, | ||
Xs=estimator.nd.NoiseDistribution.UniformMod(2), | ||
Xe=estimator.nd.NoiseDistribution.DiscreteGaussian(stddev=0.000_092_511_997_467_675_6 * 2 ** 32), | ||
tag="TFHE586", | ||
) | ||
r = estimator.LWE.estimate(param) |