Implementing BP-Obfuscation Using Graph-Induced Encoding
Shai Halevi, Tzipora Halevi, Victor Shoup, Noah Stephens-Davidowitz
Abstract
We implemented (a simplified version of) the branching-program obfuscator due to Gentry et al. (GGH15), which is itself a variation of the first obfuscation candidate by Garg et al. (GGHRSW13). To keep within the realm of feasibility, we had to give up on some aspects of the construction, specifically the "multiplicative bundling" factors that protect against mixedinput attacks. Hence our implementation can only support read-once branching programs. To be able to handle anything more than just toy problems, we developed a host of algorithmic and code-level optimizations. These include new variants of discrete Gaussian sampler and lattice trapdoor sampler, efficient matrix-manipulation routines, and many tradeoffs. We expect that these optimizations will find other uses in lattice-based cryptography beyond just obfuscation. Our implementation is the first obfuscation attempt using the GGH15 graded encoding scheme, offering performance advantages over other graded encoding methods when obfuscating finite-state machines with many states. In out most demanding setting, we were able to obfuscate programs with input length of 20 nibbles (80 bits) and over 100 states, which seems out of reach for prior implementations. Although further optimizations are surely possible, we do not expect any implementation of current schemes to be able to handle much larger parameters.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- 5Gen-C: Multi-input Functional Encryption and Program Obfuscation for Arithmetic Circuits cites 5Gen: A Framework for Prototyping Applications Using Multilinear Maps and Matrix Branching Programs
- Implementing Conjunction Obfuscation Under Entropic Ring LWE cites 5Gen: A Framework for Prototyping Applications Using Multilinear Maps and Matrix Branching Programs
Cited by top-tier papers2
- Implementing Conjunction Obfuscation Under Entropic Ring LWEDavid Bruce Cousins, Giovanni Di Crescenzo, Kamil Doruk Gür, Kevin King et al.S&P 2018 · 27 citations
- 5Gen-C: Multi-input Functional Encryption and Program Obfuscation for Arithmetic CircuitsBrent Carmer, Alex J. Malozemoff, Mariana RaykovaCCS 2017 · 17 citations
Builds on1
Related papers
- Better Concrete Security for Half-Gates Garbling (in the Multi-instance Setting)Chun Guo, Jonathan Katz, Xiao Wang, Chenkai Weng et al.CRYPTO 2020 · 32 citations
- Counterexamples to New Circular Security Assumptions Underlying iOSamuel B. Hopkins, Aayush Jain, Huijia LinCRYPTO 2021 · 28 citations
- Suffix-Invariant Programmable PRFs and Applications to Stacked GarblingVipul Goyal, David Heath, Abhishek Jain, Yibin YangCRYPTO 2026
- Maskaglia: A New, Efficient Approach to Masked Discrete Gaussian SamplingCalvin Abou Haidar, Thomas Espitau, Clément Hoffmann, Mehdi TibouchiCRYPTO 2026
- A Unified Framework for Succinct Garbling from Homomorphic Secret SharingYuval Ishai, Hanjun Li, Huijia LinCRYPTO 2025 · 11 citations
