# US 2023/0412370 A1 · Processing of Cryptographic Data

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

- Number: US 2023/0412370 A1
- Document ID: US20230412370A1
- Status: Published application
- Kind: A1
- Application number: 18/207,906
- Filed: 2023-06-09
- Published: 2023-12-21
- Earliest claimed: 2022-06-17
- Assignees: Infineon Technologies AG
- Applicants: Infineon Technologies AG
- Inventors: Bernd Meyer; Wieland Fischer
- Web page: https://patentgrep.com/patent/US20230412370A1

## CPC

- H04L 9/003: {for power analysis, e.g. differential power analysis [DPA] or simple power analysis [SPA]}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 2209/046: of operations, operands or results of the operations
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Solutions described herein refer to cryptographic data processing, utilizing a first masking scheme of a shared secret and a second masking scheme of the shared secret, wherein a transformation from the first masking scheme to the second masking scheme is conducted by forcing one type of calculation among at least two types of calculations.

## Claims

### Claim 1

A method for cryptographic data processing, the method comprising:
utilizing a first masking scheme of a shared secret and a second masking scheme of the shared secret,
wherein a transformation from the first masking scheme to the second masking scheme is conducted by forcing one type of calculation among at least two types of calculations.

### Claim 2 (depends on 1)

The method of claim 1, wherein statistics over the occurrences of the at least two types of calculations provide side channel information on the shared secret.

### Claim 3 (depends on 1)

The method of claim 1, wherein the at least two types of calculations comprise the following types of calculations:
a first type of calculation that leads to a set carry bit and
a second type of calculation that does not lead to a set carry bit,
wherein the first type of calculation or the second type of calculation is forced to be executed.

### Claim 4 (depends on 1)

The method of claim 1, wherein one of the following applies:
the first masking scheme is a Boolean masking scheme and the second masking scheme is an arithmetic masking scheme; or
the first masking scheme is an arithmetic masking scheme and the second masking scheme is a Boolean masking scheme.

### Claim 5 (depends on 4)

The method of claim 4, wherein the shared secret is encoded in the Boolean masking scheme such that the transformed arithmetic masking scheme of the shared secret always leads to a set carry bit.

### Claim 6 (depends on 5)

The method of claim 5, wherein the result of the arithmetic masking scheme is determined by subtracting a constant from one of the arithmetic components that are used to determine the shared secret.

### Claim 7 (depends on 4)

The method of claim 4,
wherein the Boolean masking scheme uses parameters x and r to define the shared secret s according to
s=x⊕r;
wherein the arithmetic masking scheme uses a parameter a and the parameter r to define the shared secret s according to
s=a+r mod 2n,
wherein n is the bit-length of the parameters.

### Claim 8 (depends on 7)

The method of claim 7,
wherein at least one of the parameters a, s, x and r is extended by at least one bit from the length n to the length n+1, and
wherein each of the parameters x and r is prepended by at least one “1”.

### Claim 9 (depends on 8)

The method of claim 8, wherein the transformation to the arithmetic masking scheme is conducted such that the equation
s=A+R mod 2n+1
is fulfilled.

### Claim 10 (depends on 1)

The method of claim 1, wherein the transformation is based on Goubin's “Algorithm 1”.

### Claim 11 (depends on 1)

The method of claim 1, wherein the method is used or executed on a security device, wherein such security device comprises at least one of the following:
an integrated circuit,
a hardware security module,
a trusted platform module,
a crypto unit,
a FPGA,
a processing unit,
a controller,
a smartcard.

### Claim 12

A device for cryptographic data processing, the device comprising a processing circuit configured to:
utilize a first masking scheme of a shared secret and a second masking scheme of the shared secret,
wherein a transformation from the first masking scheme to the second masking scheme is conducted by forcing one type of calculation among at least two types of calculations.

### Claim 13 (depends on 12)

The device of claim 12, wherein said device is a security device comprising at least one of the following:
an integrated circuit,
a hardware security module,
a trusted platform module,
a crypto unit,
a FPGA,
a processing unit,
a controller,
a smartcard.

### Claim 14 (depends on 1)

A non-transitory computer-readable medium comprising, stored thereupon, a computer program product directly loadable into a memory of a digital processing device, the computer program product comprising software code portions for performing the steps of the method of claim 1.
