-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(compiler): Update security curves
security estimated using the MATZOV cost model in the lattice estimator commit: 60808bdc17f99b78bd1bbcd621af04bc6f0e98bb (see "Report on the Security of LWE: Improved Dual Lattice Attack", April 2022)
- Loading branch information
1 parent
2700f60
commit eba61f2
Showing
20 changed files
with
5 additions
and
720 deletions.
There are no files selected for viewing
Submodule lattice-estimator
updated
32 files
+0 −3 | .github/workflows/tests.yml | |
+57 −11 | README.rst | |
+7 −2 | docs/algorithms/lwe-dual.rst | |
+42 −0 | docs/algorithms/ntru.rst | |
+36 −0 | docs/algorithms/sis-lattice.rst | |
+6 −1 | docs/api_doc.rst | |
+9 −0 | docs/contributing.rst | |
+2 −0 | docs/index.rst | |
+5 −0 | docs/references.rst | |
+9 −9 | docs/schemes/nist-pqc-round-3.rst | |
+3 −1 | estimator/__init__.py | |
+7 −1 | estimator/conf.py | |
+1 −1 | estimator/gb.py | |
+1 −1 | estimator/io.py | |
+17 −30 | estimator/lwe.py | |
+12 −8 | estimator/lwe_bkw.py | |
+245 −53 | estimator/lwe_dual.py | |
+15 −11 | estimator/lwe_guess.py | |
+4 −0 | estimator/lwe_parameters.py | |
+88 −21 | estimator/lwe_primal.py | |
+179 −0 | estimator/ntru.py | |
+106 −0 | estimator/ntru_parameters.py | |
+429 −0 | estimator/ntru_primal.py | |
+82 −5 | estimator/prob.py | |
+73 −23 | estimator/reduction.py | |
+117 −4 | estimator/schemes.py | |
+234 −6 | estimator/simulator.py | |
+130 −0 | estimator/sis.py | |
+361 −0 | estimator/sis_lattice.py | |
+52 −0 | estimator/sis_parameters.py | |
+65 −13 | estimator/util.py | |
+472 −0 | param_sweep.py |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
tools/parameter-curves/concrete-security-curves-cpp/gen_header.py
This file was deleted.
Oops, something went wrong.
7 changes: 2 additions & 5 deletions
7
tools/parameter-curves/concrete-security-curves-cpp/include/concrete/curves.gen.h
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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
SecurityCurve curves[] = { | ||
SecurityCurve(80,-0.04045822621883835, 1.7183812000404686, 450, KeyFormat::BINARY), | ||
SecurityCurve(112,-0.029881371645803536, 2.6539316216894946, 450, KeyFormat::BINARY), | ||
SecurityCurve(128,-0.026599462343105267, 2.981543184145991, 450, KeyFormat::BINARY), | ||
SecurityCurve(192,-0.018894148763647572, 4.2700349965659115, 532, KeyFormat::BINARY), | ||
SecurityCurve(128, -0.025696778711484593, 2.675931372549016, 450, KeyFormat::BINARY), | ||
}; | ||
|
||
size_t curvesLen = 4; | ||
size_t curvesLen = 1; |
14 changes: 0 additions & 14 deletions
14
tools/parameter-curves/concrete-security-curves-rust/gen_table.py
This file was deleted.
Oops, something went wrong.
7 changes: 2 additions & 5 deletions
7
tools/parameter-curves/concrete-security-curves-rust/src/gaussian/curves_gen.rs
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 |
---|---|---|
@@ -1,7 +1,4 @@ | ||
use super::security_weights::SecurityWeights; | ||
pub const SECURITY_WEIGHTS_ARRAY: [(u64, SecurityWeights); 4] = [ | ||
(80, SecurityWeights { slope: -0.04045822621883835, bias: 1.7183812000404686, minimal_lwe_dimension: 450 }), | ||
(112, SecurityWeights { slope: -0.029881371645803536, bias: 2.6539316216894946, minimal_lwe_dimension: 450 }), | ||
(128, SecurityWeights { slope: -0.026599462343105267, bias: 2.981543184145991, minimal_lwe_dimension: 450 }), | ||
(192, SecurityWeights { slope: -0.018894148763647572, bias: 4.2700349965659115, minimal_lwe_dimension: 532 }), | ||
pub const SECURITY_WEIGHTS_ARRAY: [(u64, SecurityWeights); 1] = [ | ||
(128, SecurityWeights { slope: -0.025696778711484593, bias: 2.675931372549016, minimal_lwe_dimension: 450 }), | ||
]; |
This file was deleted.
Oops, something went wrong.
139 changes: 0 additions & 139 deletions
139
tools/parameter-curves/lattice-scripts/compare_curves_and_estimator.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.