# US 2021/0240863 A1 · Integrated circuit configured to perform symmetric encryption operatoins with secret key protection

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

- Number: US 2021/0240863 A1
- Document ID: US20210240863A1
- Status: Published application
- Kind: A1
- Application number: 17/161,544
- Filed: 2021-01-28
- Published: 2021-08-05
- Earliest claimed: 2020-01-31
- Assignees: STMicroelectronics (Grenoble 2) SAS; STMicroelectronics (Alps) SAS
- Applicants: STMicroelectronics (Grenoble 2) SAS; STMicroelectronics (Alps) SAS
- Inventors: Gilles PELISSIER; Nicolas ANQUET; Delphine LE-GOASCOZ
- Web page: https://patentgrep.com/patent/US20210240863A1

## CPC

- G06F 21/72: in cryptographic circuits
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/06: the encryption apparatus using shift registers or memories for block-wise {or stream} coding, e.g. DES systems {or RC4; Hash functions; Pseudorandom sequence generators}
- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- G06F 2221/2113: Multi-level security, e.g. mandatory access control
- 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

A unique hardware key is recorded a secure hardware environment. A first logic circuit of the secure hardware environment is configured to generate a unique derived key from said unique hardware key and at least one piece of information. The at least one piece of information relates to one or more of an execution context and a use of a secret key. The secure hardware environment further includes a first encryption device that performs a symmetric encryption of the secret key using the unique derived key. This symmetric encryption generates an encrypted secret key for use outside of the secure hardware environment.

## Claims

### Claim 1

An integrated circuit, comprising:
a secure hardware environment configured to record a unique hardware key and comprising:
a first logic circuit configured to generate a unique derived key from said unique hardware key and at least one piece of information, wherein said at least one piece of information relates to one or more of an execution context and a use of a secret key; and
a first encryption device configured to perform a symmetric encryption operation of said secret key using said unique derived key and to deliver an encrypted secret key outside the secure hardware environment which results from performance of the symmetric encryption operation.

### Claim 2 (depends on 1)

The integrated circuit according to claim 1, wherein the secure hardware environment further comprises a second encryption device configured to perform a further symmetric encryption operation of binary data using the secret key and to deliver encrypted binary data outside the secure hardware environment which results from performance of the further symmetric encryption operation.

### Claim 3 (depends on 2)

The integrated circuit according to claim 2, wherein the secure hardware environment further comprises a first decryption device configured to perform a decryption operation of an encrypted secret key using said unique derived key and to deliver a secret key resulting from performance of the operation decryption.

### Claim 4 (depends on 3)

The integrated circuit according to claim 3, wherein the second encryption device is also configured to perform an encryption operation of non-encrypted binary data using the secret key delivered by the first decryption device and to deliver encrypted binary data resulting from performance of the encryption operation.

### Claim 5 (depends on 4)

The integrated circuit according to claim 4, wherein the secure hardware environment further comprises a key register configured to record the secret key generated by the first decryption device and to enable transmission of the recorded secret key to the second encryption device in order to encrypt non-encrypted binary data.

### Claim 6 (depends on 3)

The integrated circuit according to claim 3, wherein the secure hardware environment further comprises a second decryption device configured to perform a further decryption operation of encrypted binary data using the secret key delivered by the first decryption device and to deliver non-encrypted binary data resulting from performance of the further decryption operation.

### Claim 7 (depends on 6)

The integrated circuit according to claim 6, wherein the secure hardware environment further comprises a key register configured to record each secret key generated by the first decryption device and to enable transmission of each recorded secret key to the second decryption device in order to decrypt encrypted binary data.

### Claim 8 (depends on 5)

A system-on-chip, comprising:
an integrated circuit according to claim 5;
wherein said system-on-chip is configured to execute software according to execution contexts having different levels of security or confidentiality; and
wherein the integrated circuit is configured to authorize a use of the secret key according to the execution contexts if a protection of the secret key is removed by software after the secret key is recorded in the key register and if the key is not exclusive to a single execution context.

### Claim 9 (depends on 8)

The system-on-chip according to claim 8, wherein the integrated circuit is configured to delete the secret key from the key register in response to one or more of:
when a new execution context is detected when the secret key is protected; and
when the secret key is exclusive to a given execution context and a new execution context is detected.

### Claim 10 (depends on 7)

A system-on-chip, comprising:
an integrated circuit according to claim 7;
wherein said system-on-chip is configured to execute software according to execution contexts having different levels of security or confidentiality; and
wherein the integrated circuit is configured to authorize a use of the secret key according to the execution contexts if a protection of the secret key is removed by software after the secret key is recorded in the key register and if the key is not exclusive to a single execution context.

### Claim 11 (depends on 10)

The system-on-chip according to claim 10, wherein the integrated circuit is configured to delete the secret key from the key register in response to one or more of:
when a new execution context is detected when the secret key is protected; and
when the secret key is exclusive to a given execution context and a new execution context is detected.

### Claim 12

A method, comprising:
encrypting a secret key in a secure hardware environment by:
generating a unique derived key from a unique hardware key recorded in said secure hardware environment and at least one piece of information, wherein said at least one piece of information relates to one or more of an execution context and a use of the secret key; and
symmetric encrypting of the secret key using the generated unique derived key.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
encrypting binary data in said secure hardware environment by:
symmetric encrypting of the binary data using the secret key so as to obtain encrypted binary data.

### Claim 14

A method, comprising:
decrypting an encrypted secret key in a secure hardware environment by:
generating a unique derived key from a unique hardware key recorded in said secure hardware environment and at least one piece of information, wherein said at least one piece of information relates to one or more of an execution context and a use of the secret key; and
decrypting the encrypted secret key using the generated unique derived key.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
decrypting binary data in the secure hardware environment, wherein said binary data is encrypted using the secret key by:
decrypting said encrypted secret key using said step of decrypting as recited in claim 14 so as to obtain a recovered secret key suitable for use in decrypting said encrypted binary data; and
decrypting the encrypted binary data using said recovered secret key
