Dual-Regev public-key encryption and preimage-sampleable trapdoors #
The dual of Regev's scheme [GentryPeikertVaikuntanathan2008, Section 7.1] in the presentation of
[Peikert2016, Section 5.2.2], at modulus q = 2 ^ w. We store the public matrix in the
orientation of LWE.publicMatrix: A has m rows of n residues (it is the transpose of the
papers' n × m matrix). The secret key is a short integer vector e, and the public key is
(A, u) with syndrome u = eᵀ A. With a secret s, integer errors x and x₀, a bit μ is
encrypted as (A s + x, ⟨u, s⟩ + x₀ + μ * 2 ^ (w - 1)), and decryption rounds
c₀ - ⟨e, b⟩ = μ * 2 ^ (w - 1) + x₀ - ⟨e, x⟩.
GPVTrapdoor is the interface of a preimage-sampleable trapdoor function
[GentryPeikertVaikuntanathan2008, Section 5]: trapdoor generation together with a preimage
sampler that returns a short preimage e of any syndrome u. Only the support condition used
for correctness is part of GPVTrapdoor.SamplesShortPreimages; the distributional requirements of
a preimage-sampleable function (near-uniform public matrices and the discrete-Gaussian law of
preimages) are not formalized here. Dual-Regev keys extracted with such a sampler, as in the
identity-based encryption scheme of [GentryPeikertVaikuntanathan2008, Section 7.2], decrypt with
zero error under the stated noise margin.
The key generator keyGen draws a uniform binary secret. Its public key is statistically close to
a uniform pair by the leftover hash lemma for e ↦ eᵀ A. Native serialized codecs, PPT
certificates, and the IND-CPA security reduction to decision LWE with m + 1 samples are in
LWE.DualRegev.Security.
Main definitions #
DualRegev.PublicKey,DualRegev.Ciphertext: keys(A, u)and ciphertexts(b, c₀).DualRegev.publicKeyOf,DualRegev.encryptWithCoins,DualRegev.decrypt: the deterministic algorithms.DualRegev.noise: the integer decryption noisex₀ - ⟨e, x⟩.DualRegev.keyGen,DualRegev.encrypt: programs with a binary secret and centered-binomial errors.DualRegev.GPVTrapdoor,DualRegev.GPVTrapdoor.SamplesShortPreimages,DualRegev.GPVTrapdoor.extract: the trapdoor interface, its correctness condition, and key extraction for a syndrome.
Main results #
DualRegev.encryptWithCoins_residual: the exact decryption residual.DualRegev.decrypt_encryptWithCoins,DualRegev.keyGen_encrypt_correct: zero decryption error.DualRegev.GPVTrapdoor.decrypt_encryptWithCoins_extract: zero decryption error for keys extracted with a short-preimage sampler.DualRegev.dist_keyGen_uniform_le: the generated public key is withinsqrt(2 ^ (w * n) / 2 ^ m) / 2of uniform.
References #
- C. Gentry, C. Peikert and V. Vaikuntanathan, Trapdoors for Hard Lattices and New Cryptographic Constructions, Sections 5 and 7; section numbers follow the full version, IACR ePrint 2007/432.
- C. Peikert, A Decade of Lattice Cryptography, Section 5.2.2
A public key (A, u): m rows of n residues and a syndrome in n residues.
Public matrix
Awithmrows ofnresidues modulo2 ^ w.Syndrome
u = eᵀ Ainnresidues modulo2 ^ w.
Instances For
A ciphertext (b, c₀): m vector residues and one message-carrying scalar residue.
Ciphertext vector
b = A s + xinmresidues modulo2 ^ w.Message-carrying scalar
c₀ = ⟨u, s⟩ + x₀ + μ * 2 ^ (w - 1)modulo2 ^ w.
Instances For
Decrypt by rounding c₀ - ⟨e, b⟩.
The decryption residual: c₀ - ⟨e, b⟩ = μ * 2 ^ (w - 1) + x₀ - ⟨e, x⟩ modulo 2 ^ w.
Zero decryption error under the strict margin 4 * (m * (β * η) + η) < 2 ^ w.
Encrypt with a uniform secret and independent centered-binomial errors of parameter η.
Supported ciphertexts are encryptions with errors bounded by η.
Every generated key and supported ciphertext decrypt correctly when
4 * (m * η + η) < 2 ^ w.
Preimage-sampleable trapdoors #
The algorithm interface of a preimage-sampleable trapdoor function
[GentryPeikertVaikuntanathan2008, Section 5]: trapGen outputs a public matrix with a trapdoor,
and samplePre uses the trapdoor to sample an integer preimage e of a syndrome u, meaning
eᵀ A = u. No one-wayness or distributional requirement is imposed.
Generate a public matrix together with its trapdoor.
Sample a preimage of a syndrome using the trapdoor.
On every generated matrix and every syndrome, each sampled preimage e satisfies eᵀ A = u
and has entries of magnitude at most bound.
Extract the dual-Regev secret key for syndrome u: the key-extraction step of the
identity-based scheme, where u is the hash of an identity.
Extracted keys decrypt every dual-Regev encryption under (A, u) with zero error when
4 * (m * (bound * η) + η) < 2 ^ w.