# US 2021/0081547 A1 · Protecting cryptographic keys stored in non-volatile memory

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081547 A1
- Document ID: US20210081547A1
- Status: Published application
- Kind: A1
- Application number: 16/963,724
- Filed: 2019-01-30
- Published: 2021-03-18
- Earliest claimed: 2018-01-31
- Assignees: Cryptography Research, Inc.
- Applicants: Cryptography Research, Inc.
- Inventors: Mark Evan MARSON; Michael A. HAMBURG
- Web page: https://patentgrep.com/patent/US20210081547A1

## CPC

- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/002: {Countermeasures against attacks on cryptographic mechanisms (network architectures or network communication protocols for protection against malicious traffic H04L63/1441)}
- G06F 1/24: Resetting means
- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 21/78: to assure secure storage of data (address-based protection against unauthorised use of memory G06F12/14; record carriers for use with machines and with at least a part designed to carry digital markings G06K19/00)
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- H04L 9/0822: {using key encryption key}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/14: using a plurality of keys or algorithms
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for protecting cryptographic keys stored in a non-volatile memory. An example method may comprise: storing a device root key in a non-volatile memory; storing a volatile key in a volatile memory; storing a masked cryptographic key in the non-volatile memory, wherein the masked cryptographic key is produced by combining a cryptographic key and the device root key; storing a masked device root key in the non-volatile memory, wherein the masked root key is produced by combining the device root key and the volatile key; and erasing the device root key from the non-volatile memory.

## Claims

### Claim 1

A method, comprising:
storing a device root key in a non-volatile memory;
storing a volatile key in a volatile memory;
storing a masked cryptographic key in the non-volatile memory, wherein the masked cryptographic key is produced by combining a cryptographic key and the device root key;
storing a masked device root key in the non-volatile memory, wherein the masked root key is produced by combining the device root key and the volatile key; and
erasing the device root key from the non-volatile memory.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
responsive to detecting a tampering event, erasing the volatile key from the volatile memory.

### Claim 3 (depends on 2)

The method of claim 2, wherein erasing the volatile key from the volatile memory further comprises at least one of:
sending a reset signal to the volatile memory or interrupting power supply to the volatile memory.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
restoring the device root key by combining the masked device root key and the volatile key;
restoring the cryptographic key by combining the masked cryptographic key and the device root key; and
utilizing the cryptographic key for performing a cryptographic data processing operation.

### Claim 5 (depends on 1)

The method of claim 1, wherein combining the cryptographic key and the device root key further comprises:
performing an exclusive disjunction operation of the cryptographic key and the device root key.

### Claim 6 (depends on 1)

The method of claim 1, wherein combining the device root key and the volatile key further comprises:
performing an exclusive disjunction operation of the device root key and the volatile key.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, from an external source, at least one of: the device root key, the volatile key, or the cryptographic key.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
generating at least one of: the device root key; the volatile key, or the cryptographic key.

### Claim 9

A system comprising:
a non-volatile memory;
a volatile memory;
a voltage control circuit configured to interrupt power supply to the volatile memory responsive to receiving a signal indicating a tampering event; and
a processor configured to:
store a device root key in the non-volatile memory;
store a volatile key in the volatile memory;
store a masked cryptographic key in the non-volatile memory, wherein the masked cryptographic key is produced by combining a cryptographic key and the device root key;
store a masked device root key in the non-volatile memory, wherein the masked root key is produced by combining the device root key and the volatile key; and
erase the device root key from the non-volatile memory.

### Claim 10 (depends on 9)

The system of claim 9, wherein the processor is further configured to:
restore the device root key by combining the masked device root key and the volatile key;
restore the cryptographic key by combining the masked cryptographic key and the device root key; and
utilize the cryptographic key for performing a cryptographic data processing operation.

### Claim 11 (depends on 9)

The system of claim 9, wherein combining the cryptographic key and the device root key further comprises:
performing an exclusive disjunction operation of the cryptographic key and the device root key.

### Claim 12

A method, comprising:
storing a device root key in a non-volatile memory;
storing a masked cryptographic key in the non-volatile memory, wherein the masked cryptographic key is produced by combining a cryptographic key and the device root key;
storing the device root key in a volatile memory;
erasing the device root key from the non-volatile memory; and
responsive to detecting a tampering event, erasing the device root key from the volatile memory.

### Claim 13 (depends on 11)

The method of claim 11, wherein erasing the device root key from the volatile memory further comprises:
sending a reset signal to the volatile memory or interrupting power supply to the volatile memory.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
restoring the cryptographic key by combining the masked cryptographic key and the device root key; and
utilizing the cryptographic key for performing a cryptographic data processing operation.

### Claim 15 (depends on 11)

The method of claim 11, wherein combining the cryptographic key and the device root key further comprises:
performing an exclusive disjunction operation of the cryptographic key and the device root key.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
receiving, from an external source, at least one of: the device root key or the cryptographic key.

### Claim 17 (depends on 11)

The method of claim 11, further comprising:
generating at least one of: the device root key or the cryptographic key.

### Claim 18

A system comprising:
a non-volatile memory;
a volatile memory;
a voltage control circuit configured to interrupt power supply to the volatile memory responsive to receiving a signal indicating a tampering event; and
a processor configured to:
store a device root key in the non-volatile memory;
store a masked cryptographic key in the non-volatile memory, wherein the masked cryptographic key is produced by combining a cryptographic key and the device root key;
store the device root key in the volatile memory; and
erase the device root key from the non-volatile memory.

### Claim 19 (depends on 18)

The system of claim 18, wherein the processor is further configured to:
restore the cryptographic key by combining the masked cryptographic key and the device root key; and
utilize the cryptographic key for performing a cryptographic data processing operation.

### Claim 20 (depends on 18)

The system of claim 18, wherein combining the cryptographic key and the device root key further comprises:
performing an exclusive disjunction operation of the cryptographic key and the device root key.
