# US 2021/0240861 A1 · Data processing device and method for processing secret data

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

- Number: US 2021/0240861 A1
- Document ID: US20210240861A1
- Status: Published application
- Kind: A1
- Application number: 17/136,044
- Filed: 2020-12-29
- Published: 2021-08-05
- Earliest claimed: 2020-02-04
- Assignees: Infineon Technologies AG
- Applicants: Infineon Technologies AG
- Inventors: Florian Mendel
- Web page: https://patentgrep.com/patent/US20210240861A1

## CPC

- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- G06F 21/72: in cryptographic circuits
- G06F 9/30029: {Logical and Boolean instructions, e.g. XOR, NOT}
- G06F 9/30101: {Special purpose registers}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/107: {License processing; Key processing}
- G06F 2221/2107: File encryption
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data processing device may include a processor, configured to combine a first data word and a second data word of a plurality of secret data words by storing, for each of the first data word and the second data word, for an Exclusive-Or sharing of the data word into multiple partial representatives, for at least one of the partial representatives, a transformed version of the partial representative in a processor register, and, if the combination of the data words requires a partial representative of the first data word to be combined with a partial representative of the second data word that is stored in a processor register after having been transformed, combining the partial representative of the first data word with the partial representative of the second data word with a processor operation that takes into consideration that the partial representative of the second data word has been transformed.

## Claims

### Claim 1

A data processing device comprising:
a memory configured to store secret data that contain a plurality of secret data words;
a processor configured to combine a first data word and a second data word of the plurality of secret data words
by storing, for each of the first data word and the second data word,
for an Exclusive-Or sharing of the data word into multiple partial representatives, and for at least one of the partial representatives, a transformed version of the partial representative in a processor register; and,
if the combination of the first data word with the second data word requires a partial representative of the first data word to be combined with a partial representative of the second data word that is stored in a processor register after having been transformed, combining the partial representative of the first data word with the partial representative of the second data word by means of a processor operation that takes into consideration that the partial representative of the second data word has been transformed.

### Claim 2 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor operation comprises the back transformation of the transformation of the second data word as a component.

### Claim 3 (depends on 1)

The data processing device as claimed in claim 1, wherein the secret data comprise a cryptographic key.

### Claim 4 (depends on 3)

The data processing device as claimed in claim 3, wherein the processor is configured to perform a program for performing a cryptographic operation by means of the cryptographic key and to perform the processor operation as part of the program.

### Claim 5 (depends on 4)

The data processing device as claimed in claim 4, wherein the cryptographic operation is decryption or signing of further data to be cryptographically processed or key generation.

### Claim 6 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor operation is a Boolean basic function having two operands.

### Claim 7 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor operation is a Boolean And operation, a Boolean Or operation, a Boolean Nand operation, a Boolean Nor operation or a Boolean Exclusive-Or operation.

### Claim 8 (depends on 1)

The data processing device as claimed in claim 1, wherein the transformation is a bit-by-bit cyclic rotation.

### Claim 9 (depends on 1)

The data processing device as claimed in claim 1, wherein the transformation is a bit-by-bit cyclic rotation through a stipulated number of bit positions that is coprime to the word length of the secret data words.

### Claim 10 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor operation is an operation from the instruction set of the processor.

### Claim 11 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor is a RISC processor.

### Claim 12 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor is an ARM processor.

### Claim 13 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor operation leaves the content of the processor register in which the partial representative of the second data word is stored unchanged or replaces it with the result of the combination of the partial representative of the first data word with the partial representative of the second data word.

### Claim 14 (depends on 1)

The data processing device as claimed in claim 1, wherein
the processor is configured so as, for each of the first data word and the second data word,
for an Exclusive-Or sharing of the data word into multiple partial representatives, to store, for all or all but one of the partial representatives, a transformed version of the partial representative in a processor register.

### Claim 15 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor is configured so as, for each of the first data word and the second data word, to store, for partial representatives of the data word, transformed versions in processor registers, wherein the transformed versions are produced according to different transformations.

### Claim 16 (depends on 1)

The data processing device as claimed in claim 1, wherein the memory stores the secret data words in the form of Exclusive-Or shares.

### Claim 17 (depends on 1)

The data processing device as claimed in claim 1, wherein the memory is configured to store the secret data words in the form of Exclusive-Or shares, wherein for each data word, for at least one partial representative, a transformed version of the partial representative is stored.

### Claim 18 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor is configured so as, for each of the first data word and the second data word, to produce the Exclusive-Or sharing and/or to transform the at least one partial representative to produce the transformed version of the partial representative.

### Claim 19 (depends on 1)

The data processing device as claimed in claim 1, wherein the processor is configured so as, if the combination of the first data word with the second data word requires a partial representative of the first data word to be combined with a partial representative of the second data word that is stored in a processor register after having been transformed, and the partial representative of the first data word is stored in a processor register after having been transformed, to combine the partial representative of the first data word with the partial representative of the second data word by means of a processor operation that takes into consideration that the partial representative of the first data word and the partial representative of the second data word have been transformed.

### Claim 20

A method for processing secret data, comprising:
for each data word of a first data word and a second data word from secret data,
breaking down the data word into multiple partial representatives according to an Exclusive-Or sharing of the data word;
transforming at least one of the partial representatives to produce a transformed version of the partial representative;
storing, for the at least one of the partial representatives, the transformed version of the partial representative in a processor register;
and
combining the first data word and the second data word, involving, if the combination of the first data word with the second data word requires a partial representative of the first data word to be combined with a partial representative of the second data word that is stored in a processor register after having been transformed, combining the partial representative of the first data word with the partial representative of the second data word by means of a processor operation that takes into consideration that the partial representative of the second data word has been transformed.
