**Fully Secure Functional Encryption for Inner Products, from Standard Assumptions**

*Shweta Agrawal and Benoit Libert and Damien Stehle*

**Abstract: **Functional encryption is a modern public-key paradigm where a master secret key can be used to derive sub-keys $SK_F$ associated with certain functions $F$ in such a way that the decryption operation reveals $F(M)$, if $M$ is the encrypted message, and nothing else. Recently, Abdalla et al. gave simple and efficient realizations of the primitive for the computation of linear functions on encrypted data: given an encryption of a vector $\vec{y}$ over some specified base ring, a secret key $SK_{\vec{x}}$ for the vector $\vec{x}$ allows computing $\langle \vec{x} ,\vec{y} \rangle$. Their technique surprisingly allows for instantiations under standard assumptions, like the hardness of the Decision Diffie-Hellman (DDH) and Learning-with-Errors (LWE) problems. Their constructions, however, are only proved secure against selective adversaries, which have to declare the challenge messages $M_0$ and $M_1$ at the outset of the game.
In this paper, we provide constructions that provably achieve security against more realistic adaptive attacks (where the messages $M_0$ and $M_1$ may be chosen in the challenge phase, based on the previously collected information) for the same inner product functionality. Our constructions are obtained from hash proof systems endowed with homomorphic properties over the key space. They are (almost) as efficient as those of Abdalla et al. and rely on the same hardness assumptions.

In addition, we obtain a solution based on Paillier's composite residuosity assumption, which was an open problem even in the case of selective adversaries. We also propose $\LWE$-based schemes that allow evaluation of inner products modulo a prime $p$, as opposed to the schemes of Abdalla et al. that are restricted to evaluations of integer inner products of short integer vectors. We finally propose a solution based on Paillier's composite residuosityassumption that enables evaluation of inner products modulo an RSA integer $N = pq$. We demonstrate that the functionality of inner products over a prime field is powerful and can be used to construct bounded collusion FE for all circuits.

**Category / Keywords: **Functional encryption, adaptive security, standard assumptions, DDH, LWE, extended LWE, composite residuosity

**Original Publication**** (with minor differences): **IACR-CRYPTO-2016

**Date: **received 20 Jun 2015, last revised 22 Nov 2016

**Contact author: **benoit libert at ens-lyon fr

**Available format(s): **PDF | BibTeX Citation

**Note: **Fixed a bug in Section 4. Added a new author and additional material in sections 5 and 6.

**Version: **20161122:083929 (All versions of this report)

**Short URL: **ia.cr/2015/608

[ Cryptology ePrint archive ]