Computational Diffie-Hellman
The Computational Diffie-Hellman (CDH) assumption states that, in a cyclic group output by a group generator, every efficient adversary given and for uniform exponents outputs with negligible probability. It is implied by the DDH assumption: an adversary which can solve the CDH problem can also solve DDH in the same group (DDH ⇒ CDH) — folklore.
Assumption
Informally, the CDH 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{cdh}}_{\GrGen,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\GG,g,p) \gets \GrGen(1^\secpar)$
\State $x \getsr [p]$ ; $y \getsr [p]$
\State $X \gets g^x$ ; $Y \gets g^y$
\State $\hat{Z} \gets \calA(1^\secpar, \GG, g, p, X, Y)$
\Return $[\hat{Z} = g^{xy}]$
\end{algorithmic}
\end{algorithm}
We say that CDH is hard for a group generation algorithm if for all efficient
is negligible.
Known Results
- DDH ⇒ CDH
- GGM ⇒ CDH
- In the Generic Group Model, for groups of prime order , , where is the number of queries that issues — Sho97
- DLOG hardness implies CDH hardness in groups of prime order with smooth — dB88 (credited by BPS25, abstract). A concretely efficient version of the reduction covers prime with somewhat smooth (every prime factor below , say), a class that includes BLS12-381 — BPS25. TODO: state den Boer’s theorem and its exact smoothness condition from dB88.
- In a group of prime order , Maurer and Wolf compute discrete logarithms with a CDH oracle and an auxiliary group over , such as an elliptic curve: if an algebraic algorithm computes discrete logarithms in the auxiliary group with group operations, discrete logarithms in take essentially oracle calls, which is polynomial when the auxiliary group’s order has no prime factor above a polynomial in . Assuming that the integers in the Hasse interval around factor like random integers, they show that such a curve exists, but finding it by complex multiplication may take exponential time — Eng07 (Section 1.2). TODO: state the theorems of Maurer (CRYPTO 1994) and Maurer–Wolf (CRYPTO 1996; SIAM J. Comput. 1999) from the papers.
- Against algebraic adversaries, DLOG hardness implies CDH hardness in every prime-order group (DLOG ⇒ CDH) — FKL18.
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.
CDH in prime-order groups
CDH is hard in prime-order groups for if every group outputs has prime order and CDH is hard for . Exponents then form the field , so a reduction may divide by any nonzero exponent.
Attacks
- Discrete-logarithm algorithms. An algorithm that computes from computes CDH by outputting (CDH ⇒ DLOG) — folklore. Every attack on DLOG is therefore an attack on CDH: baby-step giant-step and Pollard’s method in any group, Pohlig–Hellman in groups whose order has only small prime factors, and index calculus and the number field sieve in ; DLOG attacks gives their costs and sources.
- Orders with only small prime factors. Pohlig–Hellman reduces DLOG in a group of order to DLOG in its subgroups of prime-power order, by the Chinese remainder theorem, and each of those to DLOG in the subgroup of prime order , one base- digit of at a time — PH78, as described in Eng07 (Section 1.1). If is -smooth, trial division factors , and exhaustive search in each subgroup of prime order computes , and so , with group operations; CDH hardness therefore requires, for every polynomial , that be -smooth with negligible probability — standard.
- Generic algorithms. In groups of prime order , every generic algorithm making group-operation queries computes with probability , so solving CDH with constant probability takes queries (GGM ⇒ CDH) — Sho97. Baby-step giant-step meets this bound up to a constant factor; index calculus and the number field sieve in are not generic, so the bound does not apply to them.
- . DDH fails in for every odd prime , because Legendre symbols reveal exponents modulo (DDH attacks). CDH, in contrast, is conjectured hard in for large primes such that has a large prime factor, and in subgroups of of large prime order, such as the quadratic residues modulo a safe prime (group generators) — standard.
Participates in
Builds on Computational Diffie-Hellman
- CDH ⇒ KE with bit-string keys (hashed Diffie–Hellman)
- CDH ⇒ DLOG
- CDH ⇒ IND-CPA KEM (hashed ElGamal)
- CDH ⇒ IBE (Döttling–Garg)
- CDH ⇒ NIKE (Diffie–Hellman with a hard-core bit)
- CDH ⇒ One-way KE (Diffie–Hellman)
- CDH ⇒ Two-round UC-secure OT (DGHMW)
- Prime-order CDH ⇒ CDH (via CDH in prime-order groups)
- Prime-order CDH ⇒ EDL signatures (via CDH in prime-order groups)
- Prime-order CDH ⇒ prime-order DLOG (via CDH in prime-order groups)
- Type 1 pairing + CDH ⇒ Waters signatures
- Type 1 pairing + CDH ⇒ Multi-signatures in the KOSK model (Boldyreva)
- Type 1 pairing + CDH ⇒ Multi-signatures with proofs of possession
Produces Computational Diffie-Hellman
- BDH ⇒ CDH
- DDH ⇒ CDH
- DLOG ⇒ CDH
- GGM ⇒ CDH
- Prime-order CDH ⇒ CDH
- Prime-order DDH ⇒ prime-order CDH (via CDH in prime-order groups)
Barriers
Footnotes
-
Succinct means that the tuple is at most -bits, but may be super-polynomial in ↩