Reusable fuzzy extractors: definitions and the reduction steps for the common-matrix scheme #
A fuzzy extractor (Gen, Rep) is reusable if its extracted key r* remains indistinguishable
from uniform even when the adversary observes multiple enrollments Gen(w* + δ_i) on correlated
readings derived from the same biometric source w* ← W. Following Apon, Cho, Eldefrawy, and Katz
([ACEK17], Sections 2.1–2.2, Definitions 2 and 3), we define the reusability
experiments in the public-parameters model over the Hamming space Fin m → ZMod q:
- A scheme is a family
fe : PP → FuzzyExtractor (Fin m → ZMod q) Key Helperparameterized by public parameterspp : PPdrawn by a setup programsetup : ProbComp PPand given to all parties. - An adaptive adversary (
ReuseAdversary) receives(pp, p*)from the challenge enrollment(r*, p*) ← (fe pp).gen w*and runs an oracle program: each query is a shiftδ : Fin m → ZMod q, answered with a leakage value from a fresh enrollment(r_i, p_i) ← (fe pp).gen (w* + clampShift t δ).clampShift tenforces the boundhammingNorm δ ≤ tof Definitions 2 and 3 by replacing an out-of-range shift with0. The program returns a saved state, and the challenge key (real or uniform) is given only after the queries, as in step 3 of Definitions 2 and 3. The number of queries is not fixed. - In weak reusability (Definition 2), the leakage on each shift query is the helper
p_ialone (Leak = Helper,weakReuseOracle). - In strong reusability (Definition 3), the leakage on each shift query is both the helper and
the extracted key
(p_i, r_i)(Leak = Helper × Key,strongReuseOracle). - Advantages (
weakReuseAdvantage,strongReuseAdvantage) are defined asGame.advantage realGame idealGame = |Pr[real] - Pr[ideal]|, which is equivalent up to a factor of2to the paper's1/2 + εguessing-game formulation.
This file defines the experiments and advantages at fixed parameters. The asymptotic notions
WeaklyReusable and StronglyReusable, against efficient adversaries, and Theorem 1 in that form
are in FuzzyExtractor.Reusable.Security; the Section 5 scheme and its strong reusability are in
FuzzyExtractor.Reusable.Encrypt.
In Section 3.3 ([ACEK17], Theorem 1), Apon et al. modify the Fuller–Meng–Reyzin
construction (lweFuzzyExtractor) by placing the random matrix A ∈ Z_q^{m × (k + l)} into the
common public parameters so that Gen samples only the secret s and outputs c = A s + w. We
formalize this construction as commonMatrixFuzzyExtractor and prove the reduction step of the
proof of Theorem 1 as an exact identity: for every source W, threshold t and weak-reuse
adversary adv, the weak-reuse advantage equals the single-enrollment securityAdvantage of
lweFuzzyExtractor against an explicit simulator commonMatrixSimulator t adv that answers each
shift δ with c* + A s' + clampShift t δ for a fresh uniform secret s'. Combining this
identity with securityAdvantage_lweFuzzyExtractor_le bounds the weak-reuse advantage of each
adversary by two decisional LWE advantages of explicit reductions. These are concrete reduction
lemmas; Theorem 1 against efficient adversaries is weaklyReusable_commonMatrixFuzzyExtractor in
FuzzyExtractor.Reusable.Security.
Correctness is stated averaged over the public parameters (SetupCorrectHammingWithError), and is
derived as a decoder-relative step from a caller-supplied average-case decoder hypothesis
DecoderCorrectWithError over a uniform matrix; no concrete random-subset LWE decoder
([FMR20], Construction 4.9 / Lemma 4.10) is formalized yet (#6040).
Finally, we formalize the observation of Section 3.3 (p. 10 of ePrint 2017/755) that
commonMatrixFuzzyExtractor is not strongly reusable: a 1-query strong-reuse attacker
(commonMatrixStrongAttack) querying δ = 0 decodes c* - c₁ = A (s* - s₁) and adds r₁ to
recover r*. Relative to a caller-supplied decoder that fails with probability at most δ on
error 0 (DecoderCorrectWithError decode 0 δ, #6040), the attacker's strong-reuse advantage is
at least 1 - δ - 1 / q ^ k.
Main definitions #
Cslib.Crypto.FuzzyExtractor.ReuseAdversary,Cslib.Crypto.FuzzyExtractor.WeakReuseAdversary,Cslib.Crypto.FuzzyExtractor.StrongReuseAdversary: adaptive reusability adversaries, whose query stage is an oracle program over shifts.Cslib.Crypto.FuzzyExtractor.clampShift: Hamming weight enforcement (hammingNorm δ ≤ t).Cslib.Crypto.FuzzyExtractor.weakReuseOracle,Cslib.Crypto.FuzzyExtractor.weakReuseRealGame,Cslib.Crypto.FuzzyExtractor.weakReuseIdealGame,Cslib.Crypto.FuzzyExtractor.weakReuseAdvantage: the experiment of Definition 2.Cslib.Crypto.FuzzyExtractor.strongReuseOracle,Cslib.Crypto.FuzzyExtractor.strongReuseRealGame,Cslib.Crypto.FuzzyExtractor.strongReuseIdealGame,Cslib.Crypto.FuzzyExtractor.strongReuseAdvantage: the experiment of Definition 3.Cslib.Crypto.FuzzyExtractor.setupReproduceGame,Cslib.Crypto.FuzzyExtractor.SetupCorrectHammingWithError: reproduction correctness with errorδ, averaged over the public parameters.Cslib.Crypto.FuzzyExtractor.commonMatrixFuzzyExtractor,Cslib.Crypto.FuzzyExtractor.commonMatrixSimulator: the common-matrix FMR construction of Section 3.3 and the simulator from the proof of Theorem 1.Cslib.Crypto.FuzzyExtractor.commonMatrixStrongAttack: the 1-query strong-reusability attack oncommonMatrixFuzzyExtractor(Section 3.3).
Main results #
Cslib.Crypto.FuzzyExtractor.weakReuseAdvantage_ofDistinguisher_eq_securityAdvantage: a single-enrollment distinguisher, run as a weak-reuse adversary that makes no query, has its basic security advantage (the remark after Definition 2).Cslib.Crypto.FuzzyExtractor.setupCorrect_commonMatrixFuzzyExtractor_of_decoderCorrectWithError: a decoder-relative step establishingδ-error setup reproduction correctness ofcommonMatrixFuzzyExtractorover a uniform matrix fromDecoderCorrectWithError decode t δ(#6040).Cslib.Crypto.FuzzyExtractor.weakReuseAdvantage_commonMatrixFuzzyExtractor_eq: the reduction step of Theorem 1 as an exact advantage identity.Cslib.Crypto.FuzzyExtractor.weakReuseAdvantage_commonMatrixFuzzyExtractor_le: a step bounding the weak-reuse advantage of each adversary by two decisional LWE advantages of explicit reductions.Cslib.Crypto.FuzzyExtractor.strongReuseAdvantage_commonMatrixStrongAttack_ge: relative toDecoderCorrectWithError decode 0 δ(#6040), the Section 3.3 attack has strong-reuse advantage at least1 - δ - 1 / q ^ k.
What is not proved #
- The Section 3.2 attack on independent-matrix FMR (
lweFuzzyExtractorwith freshA_iper enrollment), which relies on the concreteDecode_talgorithm analysis. - The Section 4 random-oracle transformation from weak to strong reusability (Theorem 2).
- Hardness of decisional LWE and the concrete random-subset LWE decoder
Decode_t([FMR20], Construction 4.9 / Lemma 4.10, #6040) and its running time.
References #
- D. Apon, C. Cho, K. Eldefrawy, and J. Katz, Efficient, Reusable Fuzzy Extractors from LWE, Sections 2.1, 2.2, and 3.3 (Definitions 1–3, Theorem 1).
- B. Fuller, X. Meng, and L. Reyzin, Computational Fuzzy Extractors, Section 4 (Construction 4.9, Lemma 4.10, Theorem 4.11).
Adaptive shift-query adversaries (Sections 2.1–2.2) #
An adaptive reusability adversary against a public-parameter fuzzy extractor over
Fin m → ZMod q, with saved state σ ([ACEK17], Definitions 2 and 3):
query pp p*receives the public parameterppand the challenge helper stringp*, queries the shift oracle adaptively, each queryδ : Fin m → ZMod qanswered with the leakageLeakof a fresh enrollment onw* + δ(the helper string in weak reusability, the helper string and the key in strong reusability), and returns a saved state;guess st rreceives the saved state and the challenge key candidaterand outputs a bit.
The key arrives only after the queries, as in step 3 of Definitions 2 and 3. The number of
queries is not fixed; a query bound is a property of query (ProbOracleComp.IsQueryBounded).
Receive the public parameter and the challenge helper, query the shift oracle, and return a saved state.
Distinguish the real key
r*from a uniform key, given the saved state.
Enforce the Hamming weight bound hammingNorm δ ≤ t required by Definitions 2 and 3: a shift
within the bound is kept unchanged, and an out-of-range shift is replaced by 0.
Every clamped shift has Hamming weight at most t.
A shift whose Hamming weight is already at most t is unchanged by clampShift.
Clamping the zero shift always returns 0.
Definition 2: Weak reusability #
The weak-reusability shift oracle on public parameter pp and reading w*
([ACEK17], Definition 2, step 2): on shift δ, run
(fe pp).gen (w* + clampShift t δ) and return the helper string.
The real weak-reusability experiment on fixed public parameter pp and source reading w*
([ACEK17], Definition 2): sample (r*, p*) ← (fe pp).gen w*, run the query
stage of adv on (pp, p*) against weakReuseOracle, and pass r* to adv.guess.
The ideal weak-reusability experiment on fixed public parameter pp and source reading w*
([ACEK17], Definition 2): as weakReuseRealExperiment, except adv.guess
receives an independent uniform key u ← ProbComp.uniform Key in place of r*.
The real weak-reusability game over setup law setup and source W, built with
Game.withSetup W ([ACEK17], Definition 2).
The ideal weak-reusability game over setup law setup and source W, built with
Game.withSetup W ([ACEK17], Definition 2).
The weak-reusability distinguishing advantage of adv on source W with shift queries of
Hamming weight at most t ([ACEK17], Definition 2).
Definition 3: Strong reusability #
The strong-reusability shift oracle on public parameter pp and reading w*
([ACEK17], Definition 3, step 2): on shift δ, run
(r, p) ← (fe pp).gen (w* + clampShift t δ) and return both (p, r).
The real strong-reusability experiment on fixed public parameter pp and source reading w*
([ACEK17], Definition 3): sample (r*, p*) ← (fe pp).gen w*, run the query
stage of adv on (pp, p*) against strongReuseOracle, and pass r* to adv.guess.
The ideal strong-reusability experiment on fixed public parameter pp and source reading w*
([ACEK17], Definition 3): as strongReuseRealExperiment, except adv.guess
receives an independent uniform key u ← ProbComp.uniform Key in place of r*.
The real strong-reusability game over setup law setup and source W, built with
Game.withSetup W ([ACEK17], Definition 3).
The ideal strong-reusability game over setup law setup and source W, built with
Game.withSetup W ([ACEK17], Definition 3).
The strong-reusability distinguishing advantage of adv on source W with shift queries of
Hamming weight at most t ([ACEK17], Definition 3).
Weak reusability and basic security #
Embed a single-enrollment distinguisher D : Key → Helper → Experiment as a weak-reusability
adversary that makes no shift query and saves the challenge helper string p*.
For a parameter-independent fuzzy extractor fe₀ and any setup law setup, the
weak-reusability advantage of WeakReuseAdversary.ofDistinguisher D equals
fe₀.securityAdvantage W D: weak reusability implies security in the sense of Definition 1
([ACEK17], remark after Definition 2).
Correctness averaged over the public parameters #
The reproduction game averaged over the public parameters: sample pp ← setup, enroll w
with (fe pp).gen, reproduce from w' with (fe pp).rep, and test whether the keys agree.
Hamming reproduction correctness with error δ, averaged over the public parameters: for all
readings w, w' with hammingDist w w' ≤ t, setupReproduceGame setup fe w w' fails with
probability at most δ. This is the public-parameters form of CorrectHammingWithError; the
average over setup matches how [FMR20] and [ACEK17] use an
average-case decoder over a uniform matrix.
Section 3.3: Common-matrix FMR construction and Theorem 1 #
The modified FMR fuzzy extractor of [ACEK17], Section 3.3, parameterized by
the common public matrix A : Matrix (Fin m) (Fin (k + l)) (ZMod q):
A step after [ACEK17] Section 3.3 (p. 9) establishing δ-error Hamming
setup correctness of commonMatrixFuzzyExtractor over a uniform common matrix A relative to a
caller-supplied decoder (hdec : DecoderCorrectWithError decode t δ), not the unconditional
correctness inherited from [FMR20] Theorem 4.11 (p. 17) that
[ACEK17] Theorem 1 (p. 9) presupposes, because no non-toy
DecoderCorrectWithError instance (such as the random-subset LWE decoder of
[FMR20] Construction 4.9 / Lemma 4.10, pp. 15–16) is formalized yet (#6040).
The simulator of [ACEK17], Theorem 1 (Section 3.3), as a single-enrollment
distinguisher against lweFuzzyExtractor m k l q decode: given key candidate r and helper
p = ⟨A, c*, ()⟩, it runs the query stage of adv on (A, c*), answering each shift query δ
by sampling a fresh uniform s' : Fin (k + l) → ZMod q and returning c* + A s' + clampShift t δ,
and passes r to adv.guess. The simulator never sees the secret s or reading w*.
The weak-reusability real game of commonMatrixFuzzyExtractor (over a uniform public matrix
A) equals the single-enrollment realGame of lweFuzzyExtractor against
commonMatrixSimulator t adv. This is the real-game half of the reduction step in the proof of
[ACEK17], Theorem 1.
The weak-reusability ideal game of commonMatrixFuzzyExtractor (over a uniform public matrix
A) equals the single-enrollment idealGame of lweFuzzyExtractor against
commonMatrixSimulator t adv. This is the ideal-game half of the reduction step in the proof of
[ACEK17], Theorem 1.
The reduction step in the proof of [ACEK17], Theorem 1 (Section 3.3), as an
exact identity: for every source W, distance threshold t and weak-reusability adversary
adv, the weak-reusability advantage against commonMatrixFuzzyExtractor (under a uniform common
matrix A) equals the single-enrollment securityAdvantage of lweFuzzyExtractor against
commonMatrixSimulator t adv. This is a reduction lemma, not the security theorem: adv is
unrestricted. weaklyReusable_commonMatrixFuzzyExtractor applies it with the efficiency
certificate LWEFamily.isPPT_commonMatrixSimulator.
A step of [ACEK17], Theorem 1, not the theorem: combining
weakReuseAdvantage_commonMatrixFuzzyExtractor_eq with securityAdvantage_lweFuzzyExtractor_le,
for every source W, distance threshold t and weak-reusability adversary adv, the
weak-reusability advantage against commonMatrixFuzzyExtractor is at most the sum of the
decisional LWE advantages (secret dimension l, error law W) of two explicit reductions built
from adv. Theorem 1 itself, against efficient adversaries, is
weaklyReusable_commonMatrixFuzzyExtractor in FuzzyExtractor.Reusable.Security.
Section 3.3 (p. 10): Non-strong-reusability of common-matrix FMR #
Deterministic key recovery from one zero-shift enrollment in commonMatrixFuzzyExtractor
([ACEK17], Section 3.3, p. 10): if c* = A s* + w* and c₁ = A s₁ + w*
share the same matrix A and reading w*, then c* - c₁ = A (s* - s₁) has zero residual error,
and adding r₁ = (s₁)_{1..k} to the first k coordinates of s* - s₁ recovers the challenge key
r* = (s*)_{1..k}.
The 1-query strong-reusability attacker against commonMatrixFuzzyExtractor
([ACEK17], Section 3.3, p. 10): it queries shift δ = 0, receives
(c₁, r₁), runs decode A (c* - c₁) to recover Δs = s* - s₁, saves the candidate key
(Δs)_{1..k} + r₁ (or 0 if decoding fails), and checks whether the challenge key equals it.
Decoder-relative step for the Section 3.3 attack ([ACEK17], p. 10):
relative to a caller-supplied decoder that fails with probability at most δ on error 0 over a
uniform matrix (hdec : DecoderCorrectWithError decode 0 δ), the 1-query attack
commonMatrixStrongAttack decode outputs false in the real strong-reusability game against
commonMatrixFuzzyExtractor (uniform common matrix) with probability at most δ, for every
source W. Instantiating hdec beyond toy dimensions awaits the concrete LWE decoder of
[FMR20] Construction 4.9 / Lemma 4.10 (#6040).
In the ideal strong-reusability game against commonMatrixFuzzyExtractor, the attack
commonMatrixStrongAttack decode outputs true with probability exactly 1 / q ^ k: the uniform
key u is independent of the attacker's recovered key. This holds for every setup program and
every source W.
Decoder-relative step for the Section 3.3 attack ([ACEK17], p. 10):
relative to a caller-supplied decoder (hdec : DecoderCorrectWithError decode 0 δ) that fails
with probability at most δ on error 0 over a uniform matrix, the 1-query attack
commonMatrixStrongAttack decode has strong-reusability advantage at least 1 - δ - 1 / q ^ k
against commonMatrixFuzzyExtractor, for every source W. Instantiating hdec beyond toy
dimensions awaits the concrete LWE decoder of [FMR20] Construction 4.9 /
Lemma 4.10 (#6040).