Confidential Computing Probe Filter for Key Mixing Hazards
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Confidential computing environments face hazards due to the mixing of encryption keys, which can compromise data coherence and integrity when write operations attempt to store data using incorrect encryption keys without properly evicting stale data.
Innovation Solution
Implementing a probe filter within the cache hierarchy that detects access requests using a new encryption key, verifies the use of a previous encryption key at a memory address, and evicts references to the previous key to maintain data coherence and integrity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If write operations store data using a new encryption key without evicting stale data, then encryption key flexibility is improved, but data coherence and integrity deteriorate
Solution Approach 1:
The probe filter performs preliminary action by detecting and evicting stale data references to previous encryption keys before the write operation completes. This ensures that when new data is written with a new encryption key, any stale references to the old key are removed in advance, preventing data coherence issues while allowing key flexibility.
Solution Approach 2:
The probe filter acts as an intermediary component between the write operation and the cache hierarchy. It intercepts write requests, checks for stale data using previous encryption keys, and mediates by evicting those stale references before allowing the new write to proceed, thus maintaining data integrity without restricting key changes.
2Productivity
If stale data is not evicted before write operations, then write operation speed is improved, but data integrity deteriorates
Solution Approach 1:
The probe filter implements a streamlined eviction mechanism that quickly identifies and removes stale data references without blocking the write operation. By using probe-based detection and rapid reference removal, the system achieves fast write operations while still ensuring data integrity through effective stale data eviction.
3Reliability
If a probe filter is implemented to detect and evict stale data, then data integrity is improved, but device complexity increases
Solution Approach 1:
The probe filter is designed to serve multiple functions within the cache hierarchy: it detects stale data, evicts references to previous encryption keys, and enables secure key mixing. By consolidating these functions into a single filter mechanism, the system improves data integrity without proportionally increasing complexity.
Data Source
AI summary
A disclosed method can include (i) detecting, by a probe filter in a coherent fabric interconnect, an access request to a specific memory address of a cache hierarchy using a new encryption key, (ii) verifying, by the probe filter, that the specific memory address stores data encrypted using a previous and distinct encryption key, and (iii) evicting, by the probe filter in response to the verifying, references to the previous and distinct encryption key from the cache hierarchy. Various other methods, systems, and computer-readable media are also disclosed.


