A New Approach for Practical Function-Private Inner Product Encryption

Sungwook Kim, Jinsu Kim, Jae Hong Seo

TL;DR

This paper introduces a more efficient way to build Inner Product Encryption (IPE) schemes that keep both the data and the underlying function secret. By generalizing the Brakerski-Segev transformation and avoiding complex "dual pairing vector spaces," the authors achieve significantly smaller master keys—reducing them from quadratic to linear size—while maintaining strong security under standard assumptions.

What Problem Does This Paper Address?

In standard Functional Encryption (FE), a user with a specific decryption key for a function $f$ can learn $f(x)$ from an encrypted message $x$, but nothing else about $x$. However, in many applications—like searching over encrypted medical records or performing statistical analysis on private data—the function $f$ itself might be sensitive.

Function Privacy ensures that the decryption key and the ciphertext don't leak information about the function being evaluated. While theoretical "all-purpose" solutions exist using heavy tools like indistinguishability obfuscation, they are too slow for real-world use. Existing "practical" schemes for Inner Product Encryption (where $f(x,y) = \langle x, y \rangle$) relied on a complex framework called Dual Pairing Vector Spaces (DPVS), which often leads to bulky master keys and complex implementations. This paper seeks a "middle way": a practical construction that is easier to implement and more efficient than DPVS-based methods.

Methods

The authors propose a two-step modular approach:

  1. General Transformations (Trans1 & Trans2): They generalize the Brakerski-Segev transformation. Originally, that method used symmetric encryption to hide functions; here, the authors show how to use a "message-private" FE scheme as a building block to create a "function-private" one.
  2. Trans1 achieves "weak" function privacy.
  3. Trans2 uses a "double encryption" methodology (Naor-Yung) to achieve "full" function privacy.
  4. Modified Building Blocks: To make these transformations work for inner products, they modify the Agrawal-Libert-Stehlé (ALS) IPE scheme. A key trick was modifying the decryption algorithm to output the result "in the exponent" (as a group element $e(g, \bar{g})^{\langle x, y \rangle}$) rather than a raw integer. This allows the result to be fed into a second FE scheme for "multi-exponentiation," which is necessary for the transformation to remain efficient.

By avoiding DPVS, the construction relies on simpler asymmetric bilinear maps and the Symmetric eXternal Diffie-Hellman (SXDH) assumption.

Datasets

Not discussed in the paper. As a theoretical cryptography paper, the evaluation is based on mathematical proofs of security and asymptotic complexity analysis rather than empirical testing on datasets.

Key Insights and Ideas

  • Modular Security: The paper proves that if your building blocks (FE1 and FE2) are message-private, their specific transformations (Trans1/Trans2) automatically yield function privacy. This separates the "function hiding" logic from the "inner product" logic.
  • Linear Master Keys: The most significant "aha moment" is realizing that you don't need the quadratic overhead ($O(n^2)$) of DPVS to achieve function privacy. By carefully nesting two simpler FE schemes, they keep the master key size proportional to the dimension of the vectors ($O(n)$).
  • Removing Branching Statements: For full function privacy, the authors found a way to represent a "branching" decryption process (if-then-else logic) as a simple multiplicative group operation, making it compatible with their multi-exponentiation FE building block.

Key Results

The paper compares its new schemes ("Ours 1" and "Ours 2") against existing state-of-the-art IPE schemes (BJK, DDM, TAO) in the standard model:

  • Master Key Size: Reduced from $O(n^2)$ to $O(n)$. For a vector of dimension $n$, the master key size in previous full-privacy schemes was roughly $8n^2$, while this approach requires only $6n + 4$ elements.
  • Ciphertext and Key Size: Comparable to existing practical schemes. For example, their full-private scheme uses $2n+8$ group elements for ciphertexts, which is significantly better than the $4n+8$ required by the DDM scheme.
  • Security: Achieves full function privacy under the SXDH assumption, which is a standard, well-studied hardness assumption in pairing-based cryptography.

Limitations and Future Work

  • Discrete Log Problem (DLP): Like many IPE schemes, the final decryption step requires solving a discrete logarithm. This means the result of the inner product $\langle x, y \rangle$ must fall within a relatively small range (polynomial in the security parameter) to be efficiently recoverable.
  • Private Key Setting: The focus is strictly on the private-key setting. While the authors mention that public-key function privacy is difficult (due to "inherent" attacks where an adversary can encrypt many $x$'s themselves), extending these efficiency gains to specialized public-key models remains an open area.
  • General Functionalities: While the transformations are general, the efficient "Step 2" building blocks are specific to inner products. Applying this approach to more complex functions (like quadratic forms) is a suggested direction for future research.

Summary updated

BibTeX
@article{kim2017new,
  author = {Sungwook Kim and Jinsu Kim and Jae Hong Seo},
  title = {{A New Approach for Practical Function-Private Inner Product Encryption}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2017},
  url = {https://openreview.net/forum?id=XsgcJQYMCW},
}
Figure