MicrosoftPatent applicationSecurity & privacyInterest 6/10

Microsoft patents fast memory encryption using a single math step

Patent drawing
Patent drawing from the official filing.

Microsoft describes a method for encrypting data stored in computer memory by generating a unique key for each specific memory block. The system combines a master key with specific context details and runs them through a single, fast mathematical operation called a Keccak permutation to create the encryption key.

Why it mattersThis approach aims to make securing data in memory faster and more efficient by simplifying the key generation process to just one calculation step.

In the filing’s own words

The disclosed techniques provide a method for encrypting input data. A precomputed seed value is evaluated based on a master data key. A key derivation context value is evaluated based on at least one context value. An initial state value is evaluated by XORing the precomputed seed value with the key derivation context value. A data key is generated based on performing exactly one Keccak permutation based on the initial state value. The data key is unique to the target memory block. Performing the exactly one Keccak permutation on the initial state value enables generation of the data key with exactly one Keccak permutation invocation. Based, at least in part, on the data key, the input data is encrypted.

What exactly they claim (claim 1)

1. A method for encrypting input data, the method comprising: evaluating a precomputed seed value(s) based on a master data key; and initiating a write access to a target memory block of a plurality of memory blocks in a memory, comprising: evaluating a key derivation context value (KDC) based on at least one context value; evaluating an initial state value (IS) by XORing the precomputed seed value (s) with the key derivation context value (KDC); generating a data key based on performing exactly one Keccak permutation based on the initial state value (IS), wherein the data key is unique to the target memory block, and wherein performing the exactly one Keccak permutation on the initial state value (IS) enables generation of the data key with exactly one Keccak permutation invocation; and using, at least in part, the data key to encrypt the input data.

Facts

Company
Microsoft (MICROSOFT TECHNOLOGY LICENSING, LLC)
Official title
MEMORY ENCRYPTION WITH DYNAMIC KEY DIVERSIFICATION
Publication number
US20260361527A1
Application number
19204384
Filed
May 9, 2025
Published
Nov 12, 2026
Inventors
2
Claims
20

Classified under

H04L 9/0861 Electricity & electronics

More from Microsoft in Security & privacy

Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.