CDH ⇒ IND-CPA KEM (hashed ElGamal)

Fully-black-box reduction · random oracle model · folklore · security loss: a factor for random-oracle queries: the KEM advantage is at most times the CDH advantage of a solver that outputs a uniformly chosen query

Statement

In the random oracle model with oracle , for a polynomial-time computable with , let be a group generator as in the CDH game. The hashed ElGamal KEM has output and for , and ; samples and outputs , and , with applied to the encoding of a group element. It is perfectly correct, since , and its key is uniform on over the choice of . For every adversary in the IND-CPA game relative to that makes at most queries to , the CDH adversary of the Sketch runs once, answering its queries from a table, and has

so if CDH is hard for , hashed ElGamal is an IND-CPA-secure KEM in the random oracle model — folklore.

Sketch

Let be the event that queries at , and let be the game in which the oracle answers a query at with a uniform string independent of the encapsulated key . In the shown key is uniform and independent of everything else whatever is, so is independent of ‘s view; the real game and proceed identically until , so in both, and . runs on its CDH instance , with , and outputs a uniformly chosen one of the queries, which is with probability at least .

\begin{algorithm}
\algname{Algorithm}
\caption{$\calB(1^\secpar, \GG, g, p, X, Y)$}
\begin{algorithmic}
\State $k \getsr \bits^{\ell(\secpar)}$; $T \gets$ empty table
\State $\calO(z) := T[z]$, after $T[z] \getsr \bits^{\ell(\secpar)}$ if $T[z]$ is undefined
\Comment{Lazily sampled random oracle}
\State $b' \gets \calA^{\calO}((\GG, g, p, X), Y, k)$
\State $i \getsr [q_H]$
\Return the $i$-th query of $\calA$ to $\calO$, or $g$ if $\calA$ made fewer than $i$ queries
\end{algorithmic}
\end{algorithm}

Notes

  • With the one-time pad as DEM, encrypting as , this is hashed ElGamal encryption, IND-CPA-secure in the random oracle model under CDH by IND-CPA KEM ⇒ IND-CPA PKE: its KEM adversary forwards the PKE adversary’s oracle queries and makes no others, so the PKE advantage is at most times the CDH advantage of a solver that runs the PKE adversary once — folklore.
  • The unhashed key is a group element, outside the KEM key space ; ElGamal encryption uses it as a multiplicative mask instead (DDH ⇒ CPA-secure PKE (ElGamal)).