Dynamic Key Encryption for Cache Structures

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing encryption methods for cache structures, such as branch prediction buffers, face challenges in maintaining security without increasing latency, particularly when using a fixed key that can be determined over time.

Innovation Solution

A data processing apparatus and method that employs storage circuitry, communication circuitry, coding circuitry, and update circuitry to perform encoding and updating operations using execution environment-specific keys, ensuring secure data access without significant latency increases.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a fixed key is used for encryption of cache structures, then the implementation is simple and latency is low, but the security is reduced because the key can be determined over time

Engineering Contradiction:
ImprovesecurityVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies dynamics by transitioning from a static fixed key to a dynamic key that changes based on execution context. The key is now derived from the combination of a base key and execution context identifier, allowing the encryption key to adapt to different execution environments while maintaining security without significantly increasing latency.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameters of the encryption key by incorporating the execution context identifier into the key derivation process. This parameter change allows the same base key to produce different effective keys for different execution contexts, improving security while keeping the implementation efficient.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If encryption is applied to cache structures, then security is improved, but the access latency increases

Engineering Contradiction:
ImprovesecurityVSAvoidaccess speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent applies preliminary action by pre-computing and storing the encoded index values in the cache structure. When access is needed, the system only needs to retrieve and decode the pre-encoded index rather than performing complex encryption operations in real-time, thus maintaining fast access speed while ensuring security.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts the encryption operation from the critical data access path by pre-encoding indices during cache insertion. The encryption/decryption operations are performed separately from the main access flow, allowing the cache to operate at full speed while still providing encrypted storage.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12244709B2Updating keys used for encryption of storage circuitry
Publication Date: 2025.03.04 ARM LTD
  • US12244709B2 patent drawing
  • US12244709B2 patent drawing
  • US12244709B2 patent drawing

AI summary

A data processing apparatus is provided that includes storage circuitry. Communication circuitry responds to an access request comprising a requested index with an access response comprising requested data. Coding circuitry performs a coding operation using a current key to: translate the requested index to an encoded index of the storage circuitry at which the requested data is stored or to translate encoded data stored at the requested index of the storage circuitry to the requested data. The current key is based on an execution environment. Update circuitry performs an update, in response to the current key being changed, of: the encoded index of the storage circuitry at which the requested data is stored or the encoded data.