On Evaluating Circuits with Inputs Encrypted by Different Fully Homomorphic Encryption Schemes

Zhizhou Li, Ten-Hwang LaiIACR ePrint 2013

Abstract

Traditional Fully Homomorphic Encryption (FHE) requires all inputs to share the same scheme and key, limiting its utility in heterogeneous environments. This paper introduces Multi-Scheme Fully Homomorphic Encryption (MS-FHE), a novel construction that allows for the evaluation of circuits on data encrypted under entirely different FHE schemes. By utilizing "ciphertext trees" and a recursive "nested evaluation" approach—where the evaluation algorithm of one scheme is itself evaluated as a circuit by another—we prove that heterogeneous encrypted inputs can be combined into a single result without prior coordination between data owners. This work establishes the theoretical feasibility of stateless multiparty computation across disparate cryptographic protocols.

Introduction

Fully Homomorphic Encryption (FHE) is a cornerstone of privacy-preserving computation, enabling third parties to process encrypted data without accessing the underlying plaintext. Despite its potential, standard FHE is constrained by a requirement for homogeneity: all inputs must typically be encrypted using the same scheme and the same secret key. While "Multikey FHE" (MK-FHE) has relaxed the key requirement, it still necessitates the use of a uniform underlying algorithm.

This paper addresses the more complex challenge of evaluating circuits where inputs are encrypted under different FHE schemes (e.g., lattice-based vs. integer-based). Previously considered "seemingly impossible," we provide a constructive solution for MS-FHE. This enables "stateless" multiparty computation (MPC), where participants can independently upload data encrypted with their preferred schemes and keys, allowing a server to perform computations without an interactive setup phase.

Methods

The proposed MS-FHE construction relies on three fundamental concepts to bridge the cryptographic divide between different FHE schemes.

Trivial Encryptions (TE-FHE)

To facilitate the initial handling of bits, the authors modify standard FHE schemes into "Trivial Encryption" FHE (TE-FHE). In these schemes, plaintext bits 0 and 1 are treated as valid, albeit weak, ciphertexts of themselves. This allows the system to "lift" plaintext values into a ciphertext structure without requiring the data owner's secret key, serving as a base layer for further transformations.

Ciphertext Trees and Nested Evaluation

The core of the MS-FHE framework is the representation of ciphertexts as rooted trees rather than flat bit strings. In this model, leaf nodes represent the encrypted bits, while internal nodes represent the hierarchical structure of multiple encryption layers.

The most significant innovation is the "Nested Evaluation" approach. Since an FHE scheme can evaluate any circuit, it can be used to evaluate the Eval algorithm of another FHE scheme. By recursively nesting these evaluations, the system can "wrap" a ciphertext from Scheme A inside a ciphertext from Scheme B. This process effectively translates disparate cryptographic "languages" into a common, evaluatable tree structure.

Visualization of the transformation from a single bit to a complex ciphertext tree through nested encryption layers.

As shown in the figure, a bit $b$ is encrypted under $pk_1$ to produce $x$, which is then further encrypted or processed under $pk_2$. The resulting tree structure captures the nested dependencies, allowing the final evaluation algorithm to traverse these layers and compute the desired function across all inputs.

Key Insights and Results

The central breakthrough of this work is the realization that the evaluation algorithm of an FHE scheme is itself a circuit that can be homomorphically evaluated. This "Eval of Eval" concept allows for a recursive translation between schemes.

Theoretical Proof

The authors provide a formal proof (Theorem 1) demonstrating that an Evaluate algorithm exists for any $t$ different FHE schemes. This algorithm can take a circuit and $t$ heterogeneous inputs to produce a single ciphertext that, when decrypted through the appropriate sequence of keys, yields the correct result.

Statelessness and Coordination

Unlike traditional MPC, which requires complex handshakes or parameter synchronization, MS-FHE is stateless. A cloud provider can perform "offline" computation on any stored FHE ciphertexts. Data owners only need to participate at the final stage to decrypt the result, applying their secret keys in reverse order of the nested encryption.

Discussion and Limitations

While MS-FHE represents a theoretical milestone, it introduces significant computational trade-offs. The primary bottleneck is the "exponential explosion" of the ciphertext tree: the size of the output ciphertext grows exponentially with the number of different schemes or keys ($t$) involved. Although the complexity remains polynomial relative to the security parameter ($\lambda$), reducing the dependency on $t$ to polynomial size remains a major open problem.

Furthermore, the current construction is generic. Future research will focus on identifying algebraic shortcuts within specific FHE schemes to optimize performance and developing more efficient joint decryption protocols to simplify the final retrieval of results.

Summary updated

BibTeX
@article{li2013evaluating,
  author = {Zhizhou Li and Ten-Hwang Lai},
  title = {{On Evaluating Circuits with Inputs Encrypted by Different Fully Homomorphic Encryption Schemes}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2013},
}
Figure