Homomorphic Encryption Workflow Using TEE for Nonlinear Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing homomorphic encryption technologies struggle with inefficient and inaccurate nonlinear operations, leading to errors in computing tasks due to improper parameter settings and error propagation during Taylor expansion approximations.

Innovation Solution

A method is introduced that decomposes computing tasks into linear and nonlinear operations, utilizing a trusted execution environment (TEE) to perform nonlinear operations and homomorphic encryption services to handle linear operations, ensuring accurate task execution and reducing error propagation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If Taylor expansion approximation is used for nonlinear operations in homomorphic encryption, then nonlinear computing can be performed, but error propagation occurs leading to computing errors

Engineering Contradiction:
Improvenonlinear operation capabilityVSAvoidcomputing accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the computing task into linear operations and nonlinear operations. Linear operations are processed using homomorphic encryption while nonlinear operations are processed using plaintext computing in TEE. This segmentation resolves the contradiction by allowing each type of operation to be handled by the most appropriate method, avoiding error propagation from Taylor expansion while maintaining nonlinear operation capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces TEE (Trusted Execution Environment) as an intermediary for processing nonlinear operations. Instead of directly using error-prone Taylor expansion in homomorphic encryption, the system uses TEE to perform plaintext computing for nonlinear operations, then returns results to the homomorphic encryption system. This intermediary approach eliminates error propagation while maintaining versatility.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If all operations are processed using homomorphic encryption, then data security is maintained, but computing efficiency decreases due to approximation errors requiring parameter tuning

Engineering Contradiction:
Improvedata securityVSAvoidcomputing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments operations into two categories: linear operations processed via homomorphic encryption for security, and nonlinear operations processed via plaintext computing in TEE for efficiency. This segmentation resolves the contradiction by optimizing each operation type appropriately rather than applying a uniform approach.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different processing qualities to different parts of the computing task. Homomorphic encryption with its high security but lower efficiency is applied locally to linear operations, while plaintext computing with higher efficiency is applied locally to nonlinear operations in the TEE environment. This local quality differentiation resolves the efficiency-security tradeoff.

Inventive Principle:
Principle #3Local quality

3Productivity

If parameter settings are optimized for linear operations, then homomorphic encryption performance improves, but nonlinear operation accuracy deteriorates

Engineering Contradiction:
Improvehomomorphic encryption performanceVSAvoidnonlinear operation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent segments the computing workflow so that parameter optimization for homomorphic encryption only affects linear operations. Nonlinear operations are separated and processed in TEE where they don't suffer from the same parameter sensitivity issues. This segmentation allows independent optimization without mutual interference.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts nonlinear operations from the homomorphic encryption processing pipeline and handles them separately in the TEE environment. This extraction removes nonlinear operations from the parameter-sensitive homomorphic encryption path, allowing parameters to be optimized for linear operations without degrading nonlinear operation accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12580730B2Method and system for improving homomorphic encryption performance based on trusted execution environment
Publication Date: 2026.03.17 NANHU LAB
  • US12580730B2 patent drawing
  • US12580730B2 patent drawing
  • US12580730B2 patent drawing

AI summary

Provided are a method and system for improving homomorphic encryption performance based on a trusted execution environment (TEE) which includes: acquiring a computing task; decomposing the computing task into a group of subtasks according to a computing function list in the computing task; decomposing the subtasks in turn according to a list of provided basic homomorphic encryption operators (LoHEO) to obtain a suboperation set; labeling a suboperation as a “linear operation” or a “nonlinear operation” according to whether the suboperation can be directly implemented using an element in the LoHEO; processing each suboperation in turn: for a suboperation labeled as the linear operation, determining a homomorphic computing scheme according to a suboperation task, acquiring and using encrypted computing data for homomorphic encryption computing; for a suboperation labeled as the nonlinear operation, completing plaintext computing in a TEE; and returning an encrypted computing result to a user side.