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

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.

Sub-exponential DDH

DDH is sub-exponentially hard for if there is a constant such that for all sufficiently large , every adversary of size at most has — standard. The weaker form that bounds only polynomial-time adversaries by advantage suffices for NIZK arguments for , and no pairing is needed — JJ21.

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.

Sub-exponential SXDH

SXDH is sub-exponentially hard if there is a constant such that for all sufficiently large , every adversary of size at most has advantage at most against DDH in each of and .

Participates in

Builds on Decisional Diffie-Hellman

Produces Decisional Diffie-Hellman

Barriers

Footnotes

  1. Succinct means that the tuple is at most -bits, but may be super-polynomial in ↩