Polynomial Shamir t-private information retrieval #
Chor, Goldreich, Kushilevitz and Sudan, Section 1.1, pp. 1–2, and Section 2.2,
pp. 4–5 note that polynomial-interpolation PIR extends to
coalitions of up to t colluding servers (t < k): in the headline summary of Section 1.1 (whose
construction was omitted from the April 21, 1998 journal version and referred back to the FOCS 1995
preliminary version), for an integer function t(n) and integer constant c > 1, they state a
t(n)-private scheme for c · t(n) servers with communication O(t(n) · n ^ (1 / c)).
This module formalizes an explicit finite-field polynomial construction built on Shamir secret
sharing (Shamir; Cslib.Crypto.Protocols.SecretSharing.Shamir):
- Linear Shamir PIR (
PIR.shamir). Over any finite fieldFwithShamir.Params F S(params.threshold = t < |S|distinct nonzero evaluation points, so|F| > |S|), the user shares the standard basis indicatoreᵢ : ι → Fentrywise with independent degree-tShamir sharings, each server returns the linear inner product∑ j, x j * q s jinF, and the user interpolates the constant term viaShamir.Polynomial.reconstruct. Applying the generic matrix balancing transformationScheme.rows(CGKS, Section 3.4, p. 11) gives(t + 1)-servert-private PIR onn ≤ m ^ 2bits using|S| * (2 m * ⌈log₂ |F|⌉)bits (hasTPrivateScheme_of_le_mul_self). - Degree-
dhypercube polynomial PIR (PIR.shamirCube). Indexing the database by a cubeD → ι(d = |D|), the user shares thedcoordinate indicators independently with degreet, and each server evaluates∑ j, x j * ∏ l, q s l (j l), a polynomial of degree at mostd * twhose constant term is1ifx i = trueand0otherwise (isCorrect_shamirCubewhend * t < |S|). Unauthorized coalitions of size≤ tsee uniform coordinate tables (eval_coalitionQuery_shamirCube, proved fromShamir.uniformOfFintype_map_restrict_share_pi), yielding unbalanced(d t + 1)-server PIR (hasTPrivateScheme_of_le_pow) and, after applyingScheme.rows (Fin ℓ), balanced|S|-server PIR communicating at most|S| * ((d + 1) * ℓ * ⌈log₂ |F|⌉)bits forn ≤ ℓ ^ (d + 1)whend * t < |S|(hasTPrivateScheme_rows_of_le_pow, instantiated overZMod pfor primesp > kviazmodShamirParamsinhasTPrivateScheme_prime_of_le_powandhasTPrivateScheme_prime_rows_of_le_pow). - Sharpness of the collusion threshold (
not_isTPrivate_succ_shamir,not_isTPrivate_succ_shamirCube). Anyt + 1colluding servers are authorized in Shamir secret sharing and reconstruct coordinate indicators, breaking(t + 1)-privacy when|ι| ≥ 2(and[Nonempty D], i.e.d ≥ 1, on the cubeD → ι; whenDis empty,D → ιis a singleton so privacy holds trivially).
Source adaptation and model boundaries #
- Weaker finite-field communication variant: at
d = c - 1(c ≥ 2,t ≥ 1),hasTPrivateScheme_rows_of_le_powandhasTPrivateScheme_prime_rows_of_le_powmatch CGKS Section 1.1's exact server countk = c · tand fixed-tdatabase exponentn ^ (1 / c), but retain the field bit-width factor⌈log₂ |F|⌉with|F| > c · t. This is a weaker finite-field communication bound than CGKS Section 1.1's varying-t(n)O(t(n) · n ^ (1 / c))headline bound. The checked endpoints impose no upper bound on|F|in terms ofc · t, so they do not replace the field factor bylog(c t). - Computation and randomness model: CGKS Section 2.4 (p. 6) requires polynomial-time user and
server computations over uniform bit strings
r ∈ {0, 1}^{ℓ_rnd}. As inPIR.Basic, this module certifies exactProbCompcorrectness, coalition privacy, and fixed-length communication bit counts without machine runtime bounds or fair-coin implementations of uniform sampling overF.
Main definitions #
Cslib.Crypto.Protocols.PIR.shamir: linear Shamirt-private PIR over a finite fieldF.Cslib.Crypto.Protocols.PIR.shamirCube: degree-dpolynomialt-private PIR onD → ι.Cslib.Crypto.Protocols.PIR.zmodShamirParams: canonicalShamir.Params (ZMod p) (Fin k)fort < k < pwithpprime.
Main results #
Cslib.Crypto.Protocols.PIR.isCorrect_shamir,Cslib.Crypto.Protocols.PIR.isTPrivate_shamir,Cslib.Crypto.Protocols.PIR.not_isTPrivate_succ_shamir: correctness,t-privacy, and(t + 1)threshold sharpness ofPIR.shamir.Cslib.Crypto.Protocols.PIR.isCorrect_shamirCube,Cslib.Crypto.Protocols.PIR.isTPrivate_shamirCube,Cslib.Crypto.Protocols.PIR.not_isTPrivate_succ_shamirCube: correctness for|D| * t < |S|,t-privacy, and(t + 1)threshold sharpness (under[Nonempty D]and[Nontrivial ι]) ofPIR.shamirCube.Cslib.Crypto.Protocols.PIR.hasTPrivateScheme_of_le_mul_self,Cslib.Crypto.Protocols.PIR.hasTPrivateScheme_of_le_pow,Cslib.Crypto.Protocols.PIR.hasTPrivateScheme_rows_of_le_pow,Cslib.Crypto.Protocols.PIR.hasTPrivateScheme_prime_of_le_pow,Cslib.Crypto.Protocols.PIR.hasTPrivateScheme_prime_rows_of_le_pow: communication bounds for matrix-balanced linear and unbalanced/rows-balanced degree-dpolynomialt-private PIR.
References #
- B. Chor, O. Goldreich, E. Kushilevitz, M. Sudan, Private information retrieval, Sections 1.1, 2.2, 2.4 and 3.4 (pp. 1–2, 4–6 and 11); numbering of the authors' journal version of April 21, 1998
- A. Shamir, How to Share a Secret
Linear Shamir t-private PIR over a finite field F ([Sha79]; adapting
CGKS, Sections 1.1 and 2.2, pp. 1–2 and 4–5): to read x i,
the user shares the indicator vector j ↦ (if j = i then 1 else 0) entrywise with independent
degree-t Shamir sharings, each server returns the field inner product with x, and the user
reconstructs at 0.
Degree-d polynomial t-private PIR on the cube D → ι ([Sha79]; adapting
CGKS, Sections 1.1 and 2.2, pp. 1–2 and 4–5): the user shares
each coordinate indicator u ↦ (if u = i l then 1 else 0) with degree t = params.threshold, each
server returns ∑ j, x j * ∏ l, a l (j l) in F (evaluating a polynomial of degree at most
|D| * t whose constant term is x i), and the user interpolates the constant term from the
|S| > |D| * t server answers.
Any coalition T of at most params.threshold servers in PIR.shamir sees a uniform family
of query vectors, independent of the queried index.
Linear Shamir PIR is t-private for t = params.threshold.
On every supported query draw of PIR.shamir, Lagrange interpolation at 0 of the honest
server answers equals 1 if x i = true and 0 if x i = false.
Linear Shamir PIR is perfectly correct: Lagrange reconstruction at 0 recovers 1 when
x i = true and 0 when x i = false.
Sharpness of the collusion threshold: (params.threshold + 1) servers are authorized in
Shamir secret sharing and can reconstruct the target index, so PIR.shamir is not
(params.threshold + 1)-private on any nontrivial database index type (|ι| ≥ 2).
Any coalition T of at most params.threshold servers in PIR.shamirCube sees uniform
coordinate query tables, independent of the target cube point.
Degree-d polynomial PIR is t-private for t = params.threshold.
Sharpness of the collusion threshold for PIR.shamirCube: even when |S| > |D| * t
servers are used for degree-d t reconstruction, any params.threshold + 1 colluding servers can
reconstruct coordinate indicators and learn i, so PIR.shamirCube is not
(params.threshold + 1)-private whenever D is nonempty (d ≥ 1) and ι is nontrivial
(|ι| ≥ 2).
On every supported query draw of PIR.shamirCube, when |D| * params.threshold < |S|,
Lagrange interpolation at 0 of the honest server answers equals 1 if x i = true and 0 if
x i = false.
Degree-d polynomial PIR is perfectly correct whenever |D| * params.threshold < |S|:
each server evaluates a polynomial of degree at most |D| * t whose constant term is 1 if x i
and 0 otherwise.
Communication upper bound for shamirCube: each server receives |D| * |ι| field elements and
sends 1 field element.
Communication upper bound for rows-balanced shamirCube
(CGKS, Section 3.4, p. 11): each server receives |D| * |ι|
field elements and sends |ρ| field elements.
Communication upper bound for matrix-balanced linear Shamir PIR ((shamir ι params).rows ρ).
(t + 1)-server O(√n) t-private PIR: applying Scheme.rows to PIR.shamir solves any
n ≤ m ^ 2 with |S| servers (params.threshold < |S|) and |S| * 2 m * ⌈log₂ |F|⌉ bits.
Unbalanced (d t + 1)-server O(n ^ (1 / d)) t-private PIR: whenever
d * params.threshold < |S| and n ≤ ℓ ^ d, PIR.shamirCube gives a perfectly correct t-private
scheme communicating at most |S| * ((d * ℓ + 1) * ⌈log₂ |F|⌉) bits.
Balanced c t-server finite-field t-private PIR (weaker finite-field communication
variant of CGKS, Section 1.1, pp. 1–2, via Section 3.4, p. 11):
applying Scheme.rows (Fin ℓ) to PIR.shamirCube (Fin d) (Fin ℓ) solves any n ≤ ℓ ^ (d + 1)
whenever d * params.threshold < |S|, using |S| * ((d + 1) * ℓ * ⌈log₂ |F|⌉) bits. For
c = d + 1 ≥ 2 and t = params.threshold ≥ 1, (c - 1) * t < c * t holds with exact
|S| = c * t servers, retaining the field bit-width factor ⌈log₂ |F|⌉ (|F| > c * t).
Concrete prime-field rows-balanced t-private k-server polynomial PIR for d * t < k < p
and n ≤ ℓ ^ (d + 1) (weaker finite-field communication variant of
CGKS, Section 1.1, pp. 1–2, via Section 3.4, p. 11, achieving
exact k = c * t servers at d = c - 1 when 1 < c and 0 < t with factor ⌈log₂ p⌉).