Functional encryption

A public-key encryption scheme in which a master secret key issues functional keys , and a holder of learns from an encryption of and nothing more.

Syntax

An FE scheme for a class of functions is a tuple of efficient algorithms :

  • , a randomized algorithm that outputs public parameters and a master secret key ,
  • , a randomized algorithm that takes and the description of a function , such as a circuit, and outputs a functional key ,
  • , a randomized algorithm that takes and a message and outputs a ciphertext ,
  • , a deterministic algorithm that outputs or .

BSW11 phrase the functionality as a map with one functional key per , where contains an empty key whose value on , typically , is what a ciphertext is allowed to reveal by itself.

Properties

Correctness

is -correct if for all , and ,

over and the randomness of and . When , is perfectly correct.

Indistinguishability-based security

The adversary requests functional keys before and after the challenge. It is admissible if and for every it queries. The constraint is necessary: a key for with decrypts to a value that determines .

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{ind}}_{\mathsf{FE},\calA}(\secpar)$}
\begin{algorithmic}
\State $(\pp, \msk) \gets \Setup(1^\secpar)$; $b \getsr \bits$
\State $\calO_{\mathrm{key}}(f) := \KeyGen(\msk, f)$
\State $(m_0, m_1, \stA) \gets \calA^{\calO_{\mathrm{key}}}(1^\secpar, \pp)$
\Comment{$|m_0| = |m_1|$ and $f(m_0) = f(m_1)$ for every $f$ queried so far}
\State $c^* \gets \Enc(\pp, m_b)$
\State $b' \gets \calA^{\calO_{\mathrm{key}}}(c^*, \stA)$
\Comment{$\calA$ may query $\calO_{\mathrm{key}}(f)$ only if $f(m_0) = f(m_1)$}
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}

is IND-secure if for all efficient admissible ,

is negligible — BSW11.

As an object, FE denotes, for every pair of polynomials and , a -correct and IND-secure scheme with and the circuits of size at most on -bit inputs. Each variant below denotes a scheme with the same message space, function class and correctness, carrying the security notion its section names, or IND security where it names none, unless its section states otherwise. Without correctness the object is trivial: with , does not depend on — standard.

Variations

Selective security

The adversary announces before runs; admissibility is as in the IND game.

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{sel}}_{\mathsf{FE},\calA}(\secpar)$}
\begin{algorithmic}
\State $(m_0, m_1, \stA) \gets \calA(1^\secpar)$
\Comment{$\calA$ commits to the challenge messages before seeing $\pp$}
\State $(\pp, \msk) \gets \Setup(1^\secpar)$; $b \getsr \bits$
\State $\calO_{\mathrm{key}}(f) := \KeyGen(\msk, f)$
\State $c^* \gets \Enc(\pp, m_b)$
\State $b' \gets \calA^{\calO_{\mathrm{key}}}(\pp, c^*, \stA)$
\Comment{$\calA$ may query $\calO_{\mathrm{key}}(f)$ only if $f(m_0) = f(m_1)$}
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}

is selectively IND-secure if for all efficient admissible , is negligible. Every IND-secure scheme is selectively IND-secure (IND-secure FE ⇒ selectively secure FE) — standard.

Bounded-collusion FE

takes a collusion bound in addition to , and all algorithms run in time . is bounded-collusion IND-secure if for every polynomial and every efficient admissible that makes at most key queries in the IND game run with , the advantage is negligible — GVW12.

Compactness

Let consist of circuits of size at most on -bit inputs. is compact if runs in time , independent of and of the output length — AJ15 — and weakly compact if it runs in time for a constant — BV15.

Sub-exponentially secure weakly compact FE

is sub-exponentially secure if there is a constant such that every admissible adversary of size at most has advantage at most . A sub-exponentially secure weakly compact FE scheme is a perfectly correct (), weakly compact public-key FE scheme for that is sub-exponentially secure in the selective game against adversaries making one key query — BV15.

Simulation-based security

Adaptive simulation security

In the real game, ; receives , requests polynomially many keys for functions of its choice, outputs one challenge message , receives , requests polynomially many further keys, and produces an output. In the ideal game a stateful simulator plays the challenger: it outputs and answers ‘s key queries before the challenge without ; at the challenge it receives the empty key’s value on and for each queried so far, and outputs ; for each later query it receives and outputs the key. is adaptively simulation-secure if for every efficient there is an efficient such that ‘s output in the ideal game is computationally indistinguishable from its output in the real game — BSW11, ONe10.

The extension of adaptive simulation security to many challenge messages is impossible in the standard model already for IBE: against an adversary that receives encryptions of many messages before requesting a key, the simulator fixes the ciphertexts before learning the messages, and a key shorter than the messages cannot then decrypt them to arbitrary values — BSW11.

Non-adaptive simulation security

is non-adaptively simulation-secure if the condition of adaptive simulation security holds for every efficient that makes all its key queries before the challenge — BSW11, ONe10. For some function classes, non-adaptive simulation security cannot hold against an unbounded number of key queries: the ciphertext length must grow linearly with the number of key queries — AGVW13.

Special cases

In predicate encryption with public index, a message is a pair , the key for a predicate decrypts it to if and to otherwise, and the empty key reveals and ; equality predicates give IBE and Boolean access policies give ABE — BSW11. In predicate encryption the index is hidden as well; IPPE and HVE are instances — BSW11.

Other results

  • Sub-exponential weakly compact FE ⇒ iO: perfectly correct, single-key, sub-exponentially secure FE for gives iO for all polynomial-size circuits when it is compact — AJ15 — and already when it is weakly compact — BV15.
  • iO + PKE + SS-NIZK ⇒ FE: selectively IND-secure FE for all polynomial-size circuits from iO, a perfectly correct IND-CPA-secure PKE and a statistically simulation-sound NIZK proof system for — GGHRSW13.
  • OWF + iO ⇒ FE: IND-secure FE for all polynomial-size circuits from iO and one-way functions, with a polynomial security loss — Wat15.
  • Single-key FE for all circuits of depth from LWE, whose ciphertexts grow with and the output length but not with the circuit size; security extends to an a priori bounded number of keys. A ciphertext holds an FHE encryption of , a garbled circuit for FHE decryption, and ABE encryptions of its input labels with attribute ; the key for releases, for each bit of the homomorphic evaluation of on , the label matching that bit — GKPVZ13a.
  • For every bound fixed at setup, -bounded-collusion FE for all polynomial-size circuits from semantically secure PKE and PRGs computable by low-depth circuits, secure under an adaptive simulation-based definition; for -bounded-collusion predicate encryption with public index, semantically secure PKE alone suffices — GVW12.

Participates in

Builds on Functional encryption

Produces Functional encryption