Inner-product predicate encryption
Inner-product predicate encryption (IPPE) is a form of predicate encryption in which keys and ciphertexts are each associated with vectors over , for a prime in the public parameters. A key for vector can decrypt a ciphertext for vector if and only if . IPPE achieves full attribute-hiding: a ciphertext hides both the encrypted payload and the attribute vector . It gives selectively attribute-hiding HVE (IPPE ⇒ Selectively attribute-hiding HVE) and, via inner-product encodings, supports disjunctions, CNF/DNF formulas, and polynomial evaluation—making it the practical ceiling before full predicate encryption.
Syntax
An IPPE scheme is a tuple of efficient algorithms with respect to a message space , which may depend on , and a ciphertext space :
- is a randomized algorithm that takes the dimension in unary and outputs public parameters , which contain a prime and the description of , and a master secret key . The prime is large: for every polynomial , over the coins of is negligible in ,
- is a (possibly randomized) algorithm that takes and a predicate vector , for the prime in , outputting a secret key ,
- is a randomized algorithm that takes , an attribute vector , for the prime in , and , outputting ,
- is a deterministic algorithm that takes and , outputting or .
Correctness constrains only when ; it does not require otherwise.
Properties
Correctness
An IPPE scheme is -correct if for all , every in the support of , all with for the prime in , and all ,
over the randomness of and .
Full Attribute-Hiding Security
In the full attribute-hiding game, the adversary submits two ciphertext candidates and and receives an encryption of one of them. Admissibility requires that every queried key vector is consistent with both candidates: ; and if some queried has , then , since that key decrypts — KSW08.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{ah}}_{\mathsf{IPPE},\calA}(\secpar)$}
\begin{algorithmic}
\State $(\pp, \msk) \gets \Setup(1^\secpar, 1^{n(\secpar)})$; $b \getsr \bits$
\State $\calO_{\mathrm{key}}(v) := \KeyGen(\msk, v)$
\State $((x_0, m_0), (x_1, m_1), \stA) \gets \calA^{\calO_{\mathrm{key}}}(1^\secpar, \pp)$
\Comment{$x_0, x_1 \in \ZZ_p^n$; for all queried $v$: $\langle v, x_0 \rangle = 0$ iff $\langle v, x_1 \rangle = 0$ (mod $p$); if some queried $v$ has $\langle v, x_0 \rangle = 0$, then $m_0 = m_1$}
\State $c^* \gets \Enc(\pp, x_b, m_b)$
\State $b' \gets \calA^{\calO_{\mathrm{key}}}(c^*, \stA)$
\Comment{Same admissibility constraint holds throughout}
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
An IPPE scheme is attribute-hiding if for every polynomial and all efficient admissible ,
is negligible.
Every IPPE scheme on this page is -correct, as defined under Correctness for its predicate, for a negligible function , and for every in the support of its message space contains two distinct messages that an efficient algorithm outputs on input . Without correctness, meets every notion on this page, and without two such messages so does the scheme that outputs in the clear. As an object, IPPE denotes an attribute-hiding such scheme.
Variations
Payload-only hiding
In the payload-hiding game the adversary chooses a single attribute and two messages after it sees and its first keys, and tries to tell which message is encrypted; attribute-hiding implies it (IPPE ⇒ Payload-only hiding).
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{ph}}_{\mathsf{IPPE},\calA}(\secpar)$}
\begin{algorithmic}
\State $(\pp, \msk) \gets \Setup(1^\secpar, 1^{n(\secpar)})$; $b \getsr \bits$
\State $\calO_{\mathrm{key}}(v) := \KeyGen(\msk, v)$
\State $(x^*, m_0, m_1, \stA) \gets \calA^{\calO_{\mathrm{key}}}(1^\secpar, \pp)$
\Comment{$x^* \in \ZZ_p^n$; no queried $v$ has $\langle v, x^* \rangle = 0$ (mod $p$)}
\State $c^* \gets \Enc(\pp, x^*, m_b)$
\State $b' \gets \calA^{\calO_{\mathrm{key}}}(c^*, \stA)$
\Comment{No queried $v$ has $\langle v, x^* \rangle = 0$ (mod $p$)}
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
Here is the prime in and . No key queried before or after the challenge may have , since such a key decrypts . An IPPE scheme is payload-hiding if for every polynomial and all efficient admissible ,
is negligible.
Nonzero predicate and attribute vectors
An IPPE scheme as above whose and accept only nonzero vectors , with correctness quantified over nonzero vectors and an admissible attribute-hiding adversary restricted to nonzero challenge attributes and key queries. As an object, it denotes a -correct, attribute-hiding such scheme with the message pair required above. This is the domain of the dual-system schemes of OT12 (Definition 4). Padding gives full-domain IPPE (IPPE on nonzero vectors ⇒ IPPE): encode as and as in dimension , which are nonzero and have the same inner product — folklore.
Zero inner product vs. non-zero
Some formulations flip the predicate: decryption succeeds when — AL10.
Other results
- IPPE ⇒ Selectively attribute-hiding HVE
- The first IPPE scheme, over composite-order bilinear groups, shows that inner products encode disjunctions, polynomial equations, and CNF/DNF formulas; it is selectively attribute-hiding under two new assumptions justified in the generic group model — KSW08
- DLIN ⇒ IPPE
Participates in
Builds on Inner-product predicate encryption
- IPPE ⇒ Selectively attribute-hiding HVE
- IPPE ⇒ Payload-only hiding
- IPPE on nonzero vectors ⇒ IPPE (via Nonzero predicate and attribute vectors)
Produces Inner-product predicate encryption