Decisional Diffie-Hellman
The Decisional Diffie-Hellman (DDH) assumption is a central assumption in cryptography, and one of the first used to construct key exchange DH76. It implies the CDH assumption: an adversary which can solve the CDH problem can also solve DDH in the same group (DDH ⇒ CDH) — folklore.
Assumption
Informally, the DDH assumption concerns a cyclic group generation algorithm which takes as input a security parameter and outputs a succinct1 description of a cyclic group where is the group set, is a generator for the group, and is the order of the group.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\text{ddh}}_{\GrGen,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\GG,g,p) \gets \GrGen(1^\secpar)$
\State $x \getsr [p]$ ; $y \getsr [p]$ ; $z \getsr [p]$
\State $X \gets g^x$ ; $Y \gets g^y$
\State $b \getsr \bits$
\State $Z_0 \gets g^{xy}$ ; $Z_1 \gets g^{z}$
\State $\hat{b} \gets \calA(1^\secpar, \GG, g, p, X, Y, Z_b)$
\Return $[\hat{b} = b]$
\end{algorithmic}
\end{algorithm}
We say that DDH is hard for a group generation algorithm if for all efficient
is negligible.
Known Results
- DDH ⇒ CDH
- GGM ⇒ DDH
- DDH ⇒ PKE
- DDH implies PRFs via the Naor-Reingold construction, which maps inputs in to group elements using a secret exponent vector — NR97
- DDH is easy in groups that admit efficient symmetric bilinear pairings (e.g., certain supersingular elliptic curves): given , check whether — JN03
- In the Generic Group Model, for groups of prime order , , where is the number of queries that issues — Sho97
Attacks
- Baby-step giant-step: a generic algorithm for the underlying discrete logarithm problem. Given , it finds in time and space by writing (where ) and matching across a hash table. Since DDH reduces to DLOG, this attack applies: any DDH distinguisher that computes by solving DLOG runs in .
- DDH is easy in groups with efficient pairings: in groups that admit an efficient bilinear pairing (symmetric/Type-1 pairings, e.g., certain supersingular elliptic curves), DDH is trivially broken. Given , check whether ; this holds iff . DDH is therefore not a reasonable assumption in Type-1 pairing groups — see bilinear map assumptions.
- Pohlig-Hellman: if the group order is smooth (factors into small primes), discrete log (and hence DDH) is easy via the Chinese Remainder Theorem on the prime-order subgroups. This is why DDH is only assumed in prime-order groups or carefully chosen subgroups.
Variations
In the above definition, we implicitly allow to choose a random generator for the group . However, BMZ19 has explored technical differences between this model and one where is selected deterministically.
DLIN
Given for and , distinguish from — BBS04.
k-Lin
The -Linear assumption is defined on Bilinear map assumptions.
Matrix Diffie-Hellman
TODO
SXDH (Symmetric External Diffie-Hellman)
Assumes DDH is hard in both and of an asymmetric (Type 3) pairing; used to instantiate Groth–Sahai proofs efficiently — GS08.
Participates in
Builds on Decisional Diffie-Hellman
- DBDH + DLIN ⇒ HIBE (via DLIN)
- DBDH + DLIN ⇒ IBE (via DLIN)
- SXDH + LWE + LPN + NC0-PRG ⇒ iO (via SXDH (Symmetric External Diffie-Hellman))
- DDH + Sparse Learning Parity with Noise ⇒ Somewhat homomorphic encryption (SHE)
- DDH ⇒ CDH
- DDH ⇒ Non-interactive key exchange (NIKE)
- DDH ⇒ Multiplicatively homomorphic encryption
- DDH ⇒ PKE
- DDH ⇒ PRF (Naor–Reingold)
- DDH ⇒ TDH
- DLIN ⇒ IPPE (via DLIN)
- DLIN ⇒ NIZK (via DLIN)
- SXDH (Symmetric External Diffie-Hellman) ⇒ NIZK (via SXDH (Symmetric External Diffie-Hellman))
Produces Decisional Diffie-Hellman
Footnotes
-
Succinct means that the tuple is at most -bits, but may be super-polynomial in ↩