Documentation

CslibFrontier.Crypto.Computational.FuzzyExtractor.DecodeThenExtract.Security

Asymptotic security of the LWE fuzzy extractor at power-of-two modulus #

Fuller, Meng and Reyzin's LWE fuzzy extractor lweFuzzyExtractor ([FMR20]) uses the noisy reading w as the error of an LWE sample. Its secret has k + l coordinates, of which the first k are the key. This module makes it a family in the security parameter κ, with m κ samples, key length k κ, l κ further secret coordinates and modulus 2 ^ w κ, and proves it secure from DecisionLWEWithErrors, decision LWE in dimension l κ whose error law is the source itself, an assumption novel to this library. This is a step toward the security part of [FMR20] Theorem 4.11, not that theorem: see "Deviations and limitations".

A distinguisher family reads the security parameter in unary, the key, and the helper matrix [c | A], each residue as w κ binary digits (LWEFamily.encInput). It is admissible when one uniform strict PPT machine realizes it on these encodings (LWEFamily.Distinguisher.IsPPT), as for LWE.Distinguisher.IsPPT.

The two reductions behind the fixed-parameter bound securityAdvantage_lweFuzzyExtractor_le are the explicit programs hardcoreKeyReduction and hardcoreUniformReduction. Given a dimension-l sample (A₂, c₂), each draws A₁ and x₁ and hands the distinguisher the helper ([A₁ | A₂], A₁ x₁ + c₂). LWEFamily.isPPT_keyReduction and LWEFamily.isPPT_uniformReduction prove that, run at every parameter, they are uniform strict PPT LWE distinguishers whenever the distinguisher is, provided m, k, l, w are computable in polynomial time in unary. The certificate samples the coins as w-bit naturals and computes the helper word entry by entry; that word program has the same output law as the typed reduction.

Main definitions #

Main results #

Deviations and limitations #

References #

Distinguishers #

The input of a distinguisher against the LWE fuzzy-extractor family: the security parameter κ, a key of k κ residues modulo 2 ^ w κ, and a helper whose matrix has m κ rows and k κ + l κ columns.

The binary word of a key: its residues in order, each as w digits, least significant first.

The binary word of a helper: the matrix [c | A] row by row, as for an LWE sample.

The words a machine reads for a distinguisher input: the security parameter, the key word and the helper word.

A distinguisher input is determined by its words.

The encoding of a distinguisher input: the framed unary security parameter, then the framed key word and helper word.

@[reducible, inline]

A distinguisher family against the LWE fuzzy extractor: at each security parameter κ, a program reading a key and a helper and outputting a bit.

A distinguisher family is PPT when one uniform strict PPT machine reads encInput and writes its output bit.

The reductions at every parameter #

noncomputable def Cslib.Crypto.FuzzyExtractor.LWEFamily.keyReduction {m k l w : ℕ → ℕ} (D : Distinguisher m k l w) :

hardcoreKeyReduction at every security parameter: an LWE distinguisher in dimension l κ with m κ samples.

hardcoreUniformReduction at every security parameter: an LWE distinguisher in dimension l κ with m κ samples.

Coins as natural numbers #

The distinguisher input built by the reductions #

Polynomial-time computation of the input words #

Certificates for the reductions #

Asymptotic security #

A step toward the security part of [FMR20] Theorem 4.11 at power-of-two modulus, not that theorem: after Fuller, Meng and Reyzin, the LWE fuzzy extractor at modulus 2 ^ w κ is asymptotically secure from DecisionLWEWithErrors. Let m, k, l, w be computable in polynomial time in unary, and let sources be a set of source ensembles such that, for every source ∈ sources, decision LWE in dimension l κ with m κ samples, modulus 2 ^ w κ and error law source κ holds against uniform strict PPT distinguishers (DecisionLWEWithErrors l m w source, an assumption novel to this library). Then the family κ ↦ lweFuzzyExtractor (m κ) (k κ) (l κ) (2 ^ w κ) (decode κ) is ComputationallySecure for sources against uniform strict PPT distinguisher families: on each source ensemble, the key is indistinguishable from uniform given the helper.

Theorem 4.11 is about Construction 4.1, which needs a prime q (p. 11 of the ePrint revision of June 23, 2020), and assumes Definition 4.5 at a prime q = poly(n, m) that it sets. Since 2 ^ w κ is prime only when w κ = 1, apart from modulus 2 this covers no instance of Theorem 4.11, and FMR's prime-modulus assumption is not proved or cited to imply DecisionLWEWithErrors. Theorem 4.11 at a prime modulus stays open (#5293).

The proof bounds the advantage at each κ by the LWE advantages of LWEFamily.keyReduction D and LWEFamily.uniformReduction D (securityAdvantage_lweFuzzyExtractor_le), which are PPT by LWEFamily.isPPT_keyReduction and LWEFamily.isPPT_uniformReduction. The decoder affects only correctness.