# US 2017/0373831 A1 · Methods and devices against side-channel analysis

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

- Number: US 2017/0373831 A1
- Document ID: US20170373831A1
- Status: Published application
- Kind: A1
- Application number: 15/636,242
- Filed: 2017-06-28
- Published: 2017-12-28
- Earliest claimed: 2016-06-28
- Assignees: Eshard
- Applicants: Eshard
- Inventors: Antoine WURCKER
- Web page: https://patentgrep.com/patent/US20170373831A1

## CPC

- H04L 9/002: {Countermeasures against attacks on cryptographic mechanisms (network architectures or network communication protocols for protection against malicious traffic H04L63/1441)}
- G09C 1/00: Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system (cryptographic typewriters G09C3/00)
- H04L 9/0631: {Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 2209/04: Masking or blinding
- H04L 2209/08: Randomization, e.g. dummy operations or using noise
- H04L 2209/12: Details relating to cryptographic hardware or logic circuitry
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G09C: CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY

## Abstract

A method for executing an operation whereby a first input data, may be combined with a second input data, may include: defining data pairs whereby each data of a first input set is associated with a respective data of a second input set, the data in the first and second input sets may be obtained by applying Exclusive OR (XOR) operations to the first and second input data and to all first and second mask parameters of first and second mask sets; and computing output data by applying the operation to each of the data pairs, to obtain an output set, the first and second mask sets being such that a combination by XOR operations of each pairs of corresponding first and second mask parameters may produce a third mask set, where each mask sets may include a word column having a same number of occurrences of all possible values of the words.

## Claims

### Claim 1

A method for executing by a circuit an operation whereby a first input data is combined with a second input data, the method comprising:
defining data pairs whereby each data of a first input set is associated with a respective data of a second input set, the first input set comprising the first input data, the data in the first input set being obtained by applying Exclusive OR (XOR) operations to the first input data and to all first mask parameters in a first mask set, each first mask parameter in the first mask set comprising at least one first word, the first words in the first mask set having a same size and forming a first word subset comprising a single word from each first mask parameter of the first mask set and a same number of occurrences of all possible values of the first words, the second input set comprising the second input data, the data in the second input set being obtained applying XOR operations to the second input data and to all second mask parameters in a second mask set, each second mask parameter in the second mask set comprising at least one second word, the second words in the second mask set having a same size and forming a second word subset comprising a single word from each second mask parameter of the second mask set and a same number of occurrences of all possible values of the second words; and
computing output data by applying the operation to each of the data pairs, an output set of the operation comprising all output data resulting from the application of the operation to one of the data pairs,
wherein the second mask set is generated so that a combination by XOR operations of each of the first mask parameters in the first mask set with a corresponding second mask parameter in the second mask set produces a third mask set comprising third mask parameters, each third mask parameter in the third mask set comprising at least one third word, the third words in the third mask set having a same size and forming a third word subset comprising a single word from each third mask parameter of the third mask set and a same number of occurrences of all possible values of the third words.

### Claim at position 2

-27. (canceled)
