CXL Memory Region Key Management for Secure Data Encryption

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The CXL memory protocol lacks data encryption and protection capabilities for data stored in the memory, leading to security risks, despite supporting data encryption and protection during communication links.

Innovation Solution

A key management method is implemented to generate data keys and independent protection keys for CXL memory regions, using device and address information to ensure each region has unique protection keys, and random numbers for data keys, enhancing security by isolating data keys from the system root key.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data encryption is implemented in CXL memory regions, then data security is improved, but key management complexity increases

Engineering Contradiction:
Improvedata securityVSAvoidkey management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the CXL memory system into multiple independent memory regions, each with its own dedicated data key and protection key. This segmentation isolates security management for each region, preventing key management complexity from affecting the entire system while maintaining strong security through region-specific encryption.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a key manager as an intermediary component that automatically handles key generation, distribution, and protection. This intermediary abstracts the complex key management operations from the memory controller and host system, reducing perceived complexity while enabling robust security through systematic key handling.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If independent protection keys are generated for each CXL memory region, then security is improved, but system complexity increases

Engineering Contradiction:
ImprovesecurityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements independent protection keys for each CXL memory region by segmenting the key generation process. Each region receives unique device identification and address information that feeds into distinct protection key generation, ensuring security isolation while the modular architecture prevents overall system complexity from becoming unmanageable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses parameter changes in the form of unique device identification and address information for each memory region to generate distinct protection keys. By varying these input parameters, the system automatically creates region-specific security credentials without requiring manual configuration or complex key management infrastructure.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If data keys are generated using random numbers instead of system root key, then security is improved by isolating data keys, but key generation complexity increases

Engineering Contradiction:
ImprovesecurityVSAvoidkey generation complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the data key generation process from dependence on the system root key, using random number generation instead. This extraction isolates data keys from the master system key, preventing compromise propagation while the randomness-based approach simplifies key generation by eliminating complex key derivation chains.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent implements self-service key generation where each CXL memory region generates its own data key through random number generation within the key manager. This self-service approach eliminates the need for centralized key distribution and reduces key generation complexity by allowing each region to independently establish its security credentials.

Inventive Principle:
Principle #25Self-service

4Adaptability or versatility

If CXL memory protocol supports flexible memory configuration, then scalability is improved, but data memory security becomes more difficult to ensure

Engineering Contradiction:
Improvememory configuration flexibilityVSAvoiddata memory security
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the CXL memory space into multiple addressable regions, each with independent security credentials. This segmentation allows flexible configuration and allocation of memory regions while maintaining security through region-specific encryption keys, enabling both scalability and security to coexist.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a universal security framework that works across all CXL memory regions regardless of their specific configuration or usage. The key manager provides multi-functional security services including key generation, protection, and management that adapt to any memory region configuration, ensuring security remains effective as the system scales and flexes.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12475266B2Key management method, data protection method, system, chip, and computer device
Publication Date: 2025.11.18 CHENGDU HAIGUANG INTEGRATED CIRCUIT DESIGN CO LTD
  • US12475266B2 patent drawing
  • US12475266B2 patent drawing
  • US12475266B2 patent drawing

AI summary

Embodiments of the present disclosure provide a key management method, a data protection method, a system, a chip, and a computer device, and the key management method includes: determining a plurality of memory regions that need to be encrypted and protected in a memory and a memory protocol of each memory region; determining, for each CXL memory region, a device identification and address information of the CXL memory region; generating protection key generation information of the CXL memory region; according to the device identification and the address information of the CXL memory region; generating a protection key of the CXL memory region according to a system root key predetermined and the protection key generation information of the CXL memory region.