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 is implied by the CDH assumption. In other words, an adversary which can solve the CDH problem can also solve DDH in the same group.
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
- It is easy to see that if can compute , then can easily distinguish between and a random group element. This establishes that CDH is not easier than DDH.
- In the Generic Group Model, , where is the number of queries that issues — Shoup97
- DDH implies PKE via the ElGamal encryption scheme: encrypt under public key as ; decryption uses to compute and recover — ElGamal85
- 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 bilinear pairings (e.g., certain supersingular elliptic curves): given , check whether
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.
Footnotes
-
Succinct means that the tuple is at most -bits, but may be super-polynomial in ↩