Address-Based Memory Encryption Using Region-Specific Keys

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computer systems face significant security vulnerabilities due to the potential for hackers to access and exploit data stored in system memory, particularly in non-volatile random access memory (NVRAM), which retains data even when power is interrupted.

Innovation Solution

A memory encryption and decryption technology (MET) is implemented in processors, where keys for encryption and decryption are selected based on the system memory's address, using multiple keys to alternately encrypt and decrypt data, ensuring that the keys are securely stored within the hardware and not exposed to software.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If plaintext is stored in system memory for easy access and operation, then ease of operation is improved, but security is worsened due to potential hacker attacks

Engineering Contradiction:
Improvedata accessibilityVSAvoidsecurity risk
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The system memory is divided into multiple memory regions, each associated with a different key. This segmentation allows different encryption keys to be applied to different portions of memory, enabling selective encryption that maintains accessibility for authorized operations while protecting sensitive data from unauthorized access.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different memory regions are assigned different security characteristics through the use of region-specific keys. The root cause value in the address determines which key to use, creating local quality variations in security protection across the memory space, allowing critical areas to be heavily protected while less sensitive areas remain more accessible.

Inventive Principle:
Principle #3Local quality

2Device complexity

If a single key is used for encryption across the entire system memory, then device complexity is reduced, but security is worsened due to potential key compromise

Engineering Contradiction:
Improvekey management complexityVSAvoidsecurity vulnerability
Core Design Contradiction:
Device complexityVSObject-affected harmful factors

Solution Approach 1:

Instead of using a single key for the entire memory space, the system segments the key set into multiple region-specific keys. The key selection is automatically determined by the root cause value of the memory address, providing distributed key management that reduces security vulnerability without requiring complex external key management infrastructure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs self-service key selection based on the memory address itself. The root cause value embedded in the address automatically determines which key to use for encryption/decryption operations, eliminating the need for external key management systems and reducing overall device complexity while maintaining enhanced security.

Inventive Principle:
Principle #25Self-service

3Object-affected harmful factors

If encryption is applied to all system memory operations, then security is improved, but processing speed is worsened due to additional encryption/decryption overhead

Engineering Contradiction:
Improvesecurity protectionVSAvoiddata processing speed
Core Design Contradiction:
Object-affected harmful factorsVSSpeed

Solution Approach 1:

The encryption/decryption function is extracted and integrated directly into the memory control logic. By incorporating the encryption/decryption capability within the memory controller itself, the patent eliminates the need for separate processing steps, allowing security operations to occur in parallel with memory access operations and minimizing speed penalty.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The encryption/decryption function is merged with the memory control logic. The key selection and encryption/decryption operations are combined with the existing memory read/write control pathways, allowing security processing to occur simultaneously with data transfer operations rather than as separate sequential steps.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12613809B2Computer system and method for system memory encryption and decryption
Publication Date: 2026.04.28 VIA ALLIANCE SEMICON CO LTD
  • US12613809B2 patent drawing
  • US12613809B2 patent drawing
  • US12613809B2 patent drawing

AI summary

A computer system with data encryption and decryption on system memory is shown. The computer system has a system memory storing data, and a processor coupled to the system memory. The processor has key registers storing multiple keys. Based on the access address on the system memory, the processor selects a target key from the key registers, to apply the target key to perform data encryption and decryption on the system memory.