Cryptographic Circuit Metadata Encryption Latency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing memory systems face latency penalties when using Inline Memory Encryption (IME) algorithms like AES-XTS for encrypting both cache line data and metadata, which is critical for secure and efficient data processing in emerging applications like AI and ML.
Innovation Solution
Implementing a cryptographic circuit that uses different modes of AES, such as AES-XTS for cache line data and AES-CTR for metadata, allowing for parallel encryption and decryption operations, thereby reducing latency and improving energy efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If AES-XTS algorithm is used to encrypt both cache line data and metadata, then data security is improved, but decryption latency increases significantly
Solution Approach 1:
The patent divides the encryption/decryption process into two separate segments: one for cache line data using AES-XTS algorithm and another for metadata using AES-CTR algorithm. This segmentation allows each part to be processed with the most appropriate algorithm, reducing overall decryption latency while maintaining security.
Solution Approach 2:
The patent applies different cryptographic properties to different parts of the data structure. AES-XTS is applied to cache line data where strong security is paramount, while AES-CTR is applied to metadata where faster access is critical. This local optimization resolves the contradiction between security and latency.
2Reliability
If AES-XTS algorithm is used for metadata encryption, then security is improved, but energy consumption increases
Solution Approach 1:
The patent optimizes energy consumption by applying the most energy-efficient algorithm to each data type. AES-CTR requires fewer computational resources for metadata encryption/decryption compared to AES-XTS, reducing overall energy consumption while maintaining adequate security for metadata.
Solution Approach 2:
The patent changes the cryptographic algorithm parameter (from AES-XTS to AES-CTR) for metadata processing, which fundamentally alters the computational complexity and energy requirements of the operation, achieving lower energy consumption.
3Productivity
If separate encryption algorithms are used for metadata and cache line data, then processing speed is improved, but device complexity increases
Solution Approach 1:
The patent employs a universal cryptographic circuit capable of performing multiple functions: it can execute both AES-XTS and AES-CTR algorithms, and can process both cache line data and metadata. This multi-functionality achieves high processing speed without proportionally increasing device complexity.
Data Source
AI summary
Techniques for providing reduced latency metadata encryption and decryption are described herein. A memory buffer device having a cryptographic circuit to receive a first data and a first metadata associated with the first data. The cryptographic circuit can encrypt or decrypt the first metadata using a first cryptographic algorithm. The cryptographic circuit can encrypt or decrypt the first data using a second cryptographic algorithm. The first data and the first metadata can be stored at a same location, within a memory device, corresponding to a memory address.


