Constrained Keys for Invertible Pseudorandom Functions

Dan Boneh, Sam Kim, David J. Wu

TL;DR

This paper introduces and constructs "constrained invertible pseudorandom functions" (CIPFs), a cryptographic primitive that allows for selective access to a function's evaluation and inversion capabilities. This work is significant because it extends the well-studied concept of constrained pseudorandom functions (CPRFs) to invertible pseudorandom functions (IPFs), which are crucial for applications like deterministic authenticated encryption. The authors provide constructions for both puncturing and arbitrary circuit constraints, relying on recent advancements in private constrained PRFs and public-key encryption.

What Problem Does This Paper Address?

In cryptography, pseudorandom functions (PRFs) are fundamental building blocks. A more advanced primitive, the invertible pseudorandom function (IPF), combines the properties of PRFs with efficient inversion capabilities. IPFs are particularly useful in scenarios like deterministic authenticated encryption (DAE), where the same message always produces the same ciphertext.

A key area of research has been "constrained" cryptographic primitives, where keys can be restricted to only operate on specific subsets of inputs or to perform specific computations. While constrained PRFs (CPRFs) are well-understood, extending this concept to IPFs presents a significant challenge. The core problem this paper addresses is how to construct secure constrained IPFs, especially for complex constraints like arbitrary circuits, and to understand the limitations of such constructions. The authors highlight that simply applying CPRF techniques to IPFs is not straightforward and often leads to insecure schemes.

Methods

The paper introduces two main constructions for constrained IPFs:

  1. Puncturable IPF: This construction, serving as a warm-up, allows for the "puncture" of an IPF at a specific point. It's built by combining two secure PRFs: an injective puncturable PRF ($F_1$) and a private puncturable PRF ($F_2$). The key idea is to puncture both $F_1$ at the input point and $F_2$ at the corresponding output of $F_1$. Crucially, $F_2$ must be a private puncturable PRF to hide information about the punctured point.
  2. Circuit-Constrained IPF: This more general construction supports arbitrary circuit constraints. It leverages a CCA-secure public-key encryption (PKE) scheme and two circuit-constrained PRFs ($F_1$ and $F_2$). $F_1$ is used to generate randomness for the PKE encryption, and $F_2$ is a private circuit-constrained PRF that operates on ciphertexts. The secret key of the PKE scheme is embedded within the constrained IPF key, allowing for efficient inversion via decryption. This construction is primarily single-key secure due to the impossibility of VBB obfuscation for general circuits.

Both constructions rely heavily on the concept of private constrained PRFs, where the constrained keys reveal minimal information about the underlying constraint function. The security proofs involve intricate hybrid arguments to bridge the gap between the security of the underlying primitives and the security of the constructed CIPFs, particularly in the presence of inversion oracles.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Constraining IPFs is Harder than CPRFs: The paper demonstrates that simply adapting CPRF techniques to IPFs is insufficient. The invertibility of IPFs introduces new security considerations, especially when dealing with inversion oracles.
  • The Importance of "Private" Constraints: For both puncturing and circuit constraints, the use of private constrained PRFs is essential. This privacy ensures that the constrained keys do not leak information about the constraint itself, which is crucial for security.
  • PKE as a Building Block for Circuit Constraints: The paper ingeniously uses public-key encryption to handle arbitrary circuit constraints. The PKE's secret key is embedded in the CIPF key, enabling efficient inversion by decryption, while the PKE's encryption function is used to mask the actual input.
  • Impossibility Results for Constrained PRPs: The paper shows that constrained pseudorandom permutations (PRPs) with certain types of constraints (e.g., those allowing evaluation on a non-negligible fraction of the domain) are impossible to construct securely, even for small domains. This highlights the advantage of IPFs, where the range can be larger than the domain.
  • Multi-Key CIPFs via Indistinguishability Obfuscation: The paper shows how to achieve multi-key CIPFs by obfuscating a puncturable IPF construction. This mirrors existing constructions for multi-key CPRFs and demonstrates the power of indistinguishability obfuscation.

Key Results

  • Constructions for Puncturable and Circuit-Constrained IPFs: The paper provides concrete constructions for both types of constrained IPFs, relying on private constrained PRFs and PKE.
  • Security Guarantees: The constructions are proven secure under standard assumptions, including the hardness of LWE for private constrained PRFs and CCA-security for PKE.
  • Impossibility of Certain Constrained PRPs: The paper proves that constrained PRPs supporting evaluation on a non-negligible fraction of the domain are insecure.
  • Multi-Key CIPF Construction: A construction for multi-key circuit-constrained IPFs is presented using indistinguishability obfuscation.

Limitations and Future Work

  • Single-Key Security for Circuit Constraints: The primary circuit-constrained IPF construction is single-key secure. The authors note that achieving multi-key security for general circuit constraints without strong assumptions like iO remains an open problem.
  • Constrained PRPs for Restricted Classes: While general constrained PRPs are shown to be impossible, the paper leaves open the possibility of constructing them for more restricted constraint classes, such as prefix-constrained PRPs.
  • Key Delegation: The paper discusses how to extend their constructions to support key delegation, but a formal treatment is left for future work.
  • Efficiency and Assumptions: The constructions rely on advanced primitives like private constrained PRFs and CCA-secure PKE, which can have significant computational overhead. Exploring more efficient constructions or weaker assumptions is a potential future direction.

Summary updated

BibTeX
@article{boneh2017constrained,
  author = {Dan Boneh and Sam Kim and David J. Wu},
  title = {{Constrained Keys for Invertible Pseudorandom Functions}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2017},
}

Loading related content...

Figure