Structure-Preserving Compilers from New Notions of Obfuscations

Matteo Campanelli, Danilo Francati, Claudio Orlandi

TL;DR

This paper introduces two new, intermediate notions of software obfuscation—odiO and oiO—that sit between the "ideal but impossible" Virtual Black-Box (VBB) and the "weak but achievable" Indistinguishability Obfuscation (iO). These tools enable "structure-preserving" compilers that generically transform secret-key primitives into public-key ones while maintaining original algorithm logic and output formats.

Introduction

In cryptography, the "holy grail" of obfuscation is Virtual Black-Box (VBB) obfuscation, which hides a program's inner workings such that an adversary learns no more than they would from oracle access. However, VBB is impossible for general circuits. Indistinguishability Obfuscation (iO) is a viable alternative but often requires redesigning primitives from scratch to be "iO-friendly."

This paper addresses a major gap: Can we build generic compilers that work on existing primitives? Specifically, the authors focus on "structure-preserving" transformations where original algorithms remain unchanged (function-preserving) and output formats are maintained (format-preserving).

New Notions of Obfuscation: The Oracle Hierarchy

The authors propose a hierarchy of obfuscation definitions based on oracle behavior:

  • odiO (Oracle-Differing-Input Obfuscation): A strengthening of standard Differing-Input Obfuscation (diO). It guarantees that if it's hard to find an input where two programs differ using only oracle access, then their obfuscations are indistinguishable.
  • oiO (Oracle-Indistinguishability Obfuscation): A further strengthening. If two programs are indistinguishable as oracles, their obfuscations remain indistinguishable.

The resulting hierarchy is: VBB > oiO > odiO > diO > iO. By shifting the requirement to oracle behavior, the authors capture a much wider class of useful programs than standard iO.

Structure-Preserving Compilers

The core philosophy of this work is "Design Once, Obfuscate Later." By using odiO/oiO, developers can use standard, highly optimized secret-key libraries and "lift" them to public-key versions without a total rewrite.

Overview of structure-preserving compilers for various cryptographic primitives.

Key Results

The paper provides several "structure-preserving" compilers:

  • dv-SNARG to pv-SNARG: Transforms designated-verifier succinct arguments into publicly verifiable ones while preserving the original Prove and Verify logic.
  • MAC to Digital Signatures: Converts a MAC into a signature scheme. They provide a function-preserving version (selective security) and a format-preserving version (adaptive security).
  • SKE to PKE: Converts symmetric encryption to public-key encryption.

To handle adaptive security in format-preserving cases, the authors employ puncturable Pseudorandom Functions (PPRFs). This allows the obfuscated program to "forget" specific challenge messages during security proofs, ensuring the adversary cannot exploit adaptive queries.

SKE to PKE transformation using odiO and PPRF to achieve adaptive security.

Conclusion and Future Work

While the paper demonstrates powerful new compilers, it also establishes impossibility results for "unobfuscatable" programs under odiO and oiO. A generic compiler for every possible SKE into a PKE remains impossible. Future work includes formalizing a general framework for these transformations and exploring other primitives, such as Proofs of Retrievability.

Summary updated

BibTeX
@inproceedings{campanelli2023structure,
  author = {Matteo Campanelli and Danilo Francati and Claudio Orlandi},
  title = {{Structure-Preserving Compilers from New Notions of Obfuscations}},
  booktitle = {Public Key Cryptography},
  year = {2023},
  doi = {10.1007/978-3-031-31371-4\_23},
}
Figure