Method, apparatus, and system for storing memory encryption realm key IDs

US12164441B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12164441-B2
Application numberUS-202318456683-A
CountryUS
Kind codeB2
Filing dateAug 28, 2023
Priority dateJan 9, 2018
Publication dateDec 10, 2024
Grant dateDec 10, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method, apparatus, and system for storing memory encryption realm key IDs is disclosed. A method comprises accessing a memory ownership table with a physical address to determine a realm ID associated with the physical address, accessing a key ID association structure with the realm ID to determine a realm key IS associated with the realm ID, and initiating a memory transaction based on the realm key ID. Once retrieved, the realm key ID may be stored in a translation lookaside buffer.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: accessing a memory ownership table with a physical address to determine a realm ID associated with the physical address; accessing a key ID association structure with the realm ID to determine a realm key ID associated with the realm ID, wherein the key ID association structure is a hash table indexed by a current hash function, and wherein accessing the key ID association structure with the realm ID comprises hashing with the current hash function based on the realm ID; in response to detecting that a number of collisions in an entry of the key ID association structure has exceeded a threshold, establishing a scratch key ID association scratch hash table having a new hash function different from the current hash function to evaluate for collisions; and initiating a memory transaction based on the determined realm key ID associated with the realm ID. 2. The method of claim 1 , wherein the threshold of the number of collisions is programmable. 3. The method of claim 1 , further comprising: evaluating the scratch hash function for collisions; and replacing the current hash function of the key ID association table with the scratch hash function if the number of collisions is below a second threshold; or selecting a new scratch hash function different from the current hash function and repeating the evaluation if the number of collisions is not below a second threshold. 4. The method of claim 1 , further comprising caching the realm key ID in a translation lookaside buffer. 5. The method of claim 1 , further comprising caching the realm key ID in a key association cache. 6. A non-transitory computer-readable medium comprising instructions which, when executed by a processor, cause the processor to: access a memory ownership table with a physical address to determine a realm ID associated with the physical address; access a key ID association structure with the realm ID to determine a realm key ID associated with the realm ID, wherein the key ID association structure is a hash table indexed by a current hash function, and wherein accessing the key ID association structure with the realm ID comprises hashing with the current hash function based on the realm ID; in response to detecting that a number of collisions in an entry of the key ID association structure has exceeded a threshold, establish a scratch key ID association scratch hash table having a new hash function different from the current hash function to evaluate for collisions; and initiate a memory transaction based on the determined realm key ID associated with the realm ID. 7. The non-transitory computer-readable medium of claim 6 , wherein the threshold of the number of collisions is programmable. 8. The non-transitory computer-readable medium of claim 6 , further comprising instructions which, when executed by the processor, cause the processor to cache the realm key ID in a translation lookaside buffer. 9. The non-transitory computer-readable medium of claim 6 , further comprising instructions which, when executed by the processor, cause the processor to cache the realm key ID in a key association cache.

Assignees

Inventors

Classifications

  • Hash functions, e.g. MD5, SHA, HMAC or f9 MAC · CPC title

  • in cryptographic circuits · CPC title

  • Encrypted data · CPC title

  • using a plurality of keys or algorithms · CPC title

  • Memory management, e.g. access or allocation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12164441B2 cover?
A method, apparatus, and system for storing memory encryption realm key IDs is disclosed. A method comprises accessing a memory ownership table with a physical address to determine a realm ID associated with the physical address, accessing a key ID association structure with the realm ID to determine a realm key IS associated with the realm ID, and initiating a memory transaction based on the r…
Who is the assignee on this patent?
Qualcomm Inc
What technology area does this patent fall under?
Primary CPC classification G06F12/1408. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 10 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).