CXL Memory Region Key Management for Secure Data Encryption
Find Innovative SolutionsGenerate 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
Engineering Contradiction Analysis
1Reliability
If data encryption is implemented in CXL memory regions, then data security is improved, but key management complexity increases
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.
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.
2Reliability
If independent protection keys are generated for each CXL memory region, then security is improved, but system complexity increases
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.
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.
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
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.
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.
4Adaptability or versatility
If CXL memory protocol supports flexible memory configuration, then scalability is improved, but data memory security becomes more difficult to ensure
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.
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.
Data Source
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.


