[Paper Review] Towards Reverse Engineering Reversible Logic
This paper proposes a security metric—number of embeddings—for reverse engineering reversible logic circuits, demonstrating that functional synthesis yields more secure circuits than structural synthesis. It introduces input/output scrambling to increase embedding ambiguity, significantly raising reverse engineering difficulty, especially for BDD-based circuits, while quantifying trade-offs in quantum cost and resilience using real benchmarks.
Reversible logic has two main properties. First, the number of inputs is equal to the number of outputs. Second, it implements a one-to-one mapping; i.e., one can reconstruct the inputs from the outputs. These properties enable its applications in building quantum computing architectures. In this paper, we study reverse engineering of reversible logic circuits, including reverse engineering of non-reversible functions embedded into reversible circuits. We propose the number of embeddings of non-reversible functions into a reversible circuit as the security metric for reverse engineering. We analyze the security benefits of automatic synthesis of reversible circuits. We use our proposed security metric to show that the functional synthesis approaches yield reversible circuits that are more resilient to reverse engineering than the structural synthesis approaches. Finally, we propose scrambling of the inputs and outputs of a reversible circuit to thwart reverse engineering.
Motivation & Objective
- To analyze the vulnerability of reversible logic circuits to reverse engineering, particularly for non-reversible functions embedded within them.
- To introduce the number of possible embeddings as a novel security metric to quantify resistance against reverse engineering.
- To evaluate and compare the security resilience of reversible circuits synthesized via functional vs. structural synthesis approaches.
- To propose and evaluate input/output scrambling techniques that increase embedding ambiguity and hinder reverse engineering.
- To quantify the trade-offs between security, quantum cost, and circuit complexity in obfuscated reversible circuits.
Proposed method
- The number of embeddings is defined as the number of distinct ways a non-reversible function can be mapped into a reversible circuit, serving as the core security metric.
- An attack is designed to reverse engineer BDD-based reversible circuits by exploiting their structural decomposition and Shannon decomposition properties.
- Input scrambling is implemented by adding extra ancillary inputs before synthesis, increasing the number of potential input assignments an attacker must consider.
- Output scrambling is applied by adding extra garbage outputs, increasing the number of possible output mappings and thus embedding ambiguity.
- The security of QMDD- and BDD-based synthesis approaches is compared using real benchmarks, measuring both embedding count and quantum cost.
- Experiments evaluate the impact of scrambling on embedding count and quantum cost across multiple benchmark functions and circuit sizes.
Experimental results
Research questions
- RQ1How does the number of possible embeddings of a reversible circuit vary based on the synthesis approach used?
- RQ2To what extent can an attacker reverse engineer a BDD-based reversible circuit using structural analysis?
- RQ3How does input or output scrambling affect the number of embeddings and the quantum cost of a reversible circuit?
- RQ4Which synthesis approach—functional or structural—provides better resistance to reverse engineering under realistic threat models?
- RQ5Can scrambling techniques be effectively used to increase the complexity of reverse engineering without incurring prohibitive overhead?
Key findings
- Functional synthesis approaches produce reversible circuits with significantly more embeddings than structural synthesis, making them more resilient to reverse engineering.
- BDD-based reversible circuits are more vulnerable to reverse engineering due to their structural decomposition, resulting in fewer embeddings compared to QMDD-based circuits.
- Input scrambling increases the number of embeddings substantially, especially for BDD-based circuits, by expanding the number of potential input assignments.
- Output scrambling leads to a higher number of embeddings than input scrambling but incurs a higher quantum cost, particularly in BDD-based circuits.
- The addition of extra ancillary inputs or garbage outputs can dramatically inflate the embedding count, making reverse engineering computationally infeasible for large circuits.
- QMDD-based reversible circuits exhibit higher quantum cost but greater resistance to reverse engineering due to a larger number of embeddings compared to BDD-based circuits.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.