PRG ⇒ PRF (GGM)

Fully-black-box reduction · standard model · GGM86 · security loss: factor for queries on -bit inputs: a hybrid over the tree levels, each step a hybrid over the at most nodes queried at that level

Statement

If is a length-doubling PRG, written with , then the following is a PRF with key space and range and domain : outputs , and — GGM86.

Sketch

walks a binary tree of depth from the root , keeping the left or right half of ‘s output on each input bit. A hybrid over the tree levels reduces any -query PRF distinguisher to a PRG distinguisher with a factor loss — standard.

\begin{algorithm}
\algname{Algorithm}
\caption{$\Eval(k, x_1 \cdots x_\ell)$}
\begin{algorithmic}
\State $y \gets k$
\Comment{$G(s) = G_0(s) \,\|\, G_1(s)$ with $|G_0(s)| = |G_1(s)| = |s|$}
\For{$i = 1, \ldots, \ell$}
\State $y \gets G_{x_i}(y)$
\EndFor
\Return $y$
\end{algorithmic}
\end{algorithm}