# US 2017/0255591 A1 · Processing System with a Secure Set of Executable Instructions and/or Addressing Scheme

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

- Number: US 2017/0255591 A1
- Document ID: US20170255591A1
- Status: Published application
- Kind: A1
- Application number: 15/600,006
- Filed: 2017-05-19
- Published: 2017-09-07
- Earliest claimed: 2013-10-17
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMicroelectronics SA
- Inventors: Philippe Escalona
- Web page: https://patentgrep.com/patent/US20170255591A1

## CPC

- G06F 15/76: Architectures of general purpose stored program computers (with program plugboard G06F15/08; multicomputers G06F15/16)
- G06F 9/30156: {Special purpose encoding of instructions, e.g. Gray coding}
- G06F 21/00: Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for securing a data processing system having a processing unit is disclosed. At least a group of N1 digital words of m1 bits is selected from among the set of M1 digital words. N1 is less than M1. These words are selected in such a way that each selected digital word differs from all the other selected digital words by a number of bits at least equal to an integer p which is at least equal to 2. The group of N1 digital words of m1 bits forms at least one group of N1 executable digital instructions. The processing unit is configured to make it capable of executing each instruction of the at least one group of N1 executable digital instructions.

## Claims

### Claim 1

A smartcard comprising:
a controller configured to execute instructions from a set of secured instructions, the set of secured instructions comprising
a first set of N1 instructions of m1 bits, wherein
m1 is a positive integer number,
N1 is a positive integer number,
2m1 is greater than N1, and
each instruction of the first set differ from all other instructions of the first set by a number of bits greater than or equal to p1, p1 being a positive integer number greater than or equal to 2.

### Claim 2 (depends on 1)

The smartcard of claim 1, further comprising an integrated circuit, the integrated circuit comprising the controller.

### Claim 3 (depends on 1)

The smartcard of claim 1, further comprising a storage unit configured to store program instructions compatible with the set of secured instructions.

### Claim 4 (depends on 1)

The smartcard of claim 1, wherein the set of secured instructions further comprises a set of invalid instructions, the set of invalid instructions being non-overlapping with the first set.

### Claim 5 (depends on 4)

The smartcard of claim 4, wherein the controller is further configured to issue an alert when the controller executes an instruction of the set of invalid instructions.

### Claim 6 (depends on 1)

The smartcard of claim 1, wherein the set of secured instructions further comprises a second set of N2 instructions of m2 bits, wherein
m2 is a positive integer number,
N2 is a positive integer number,
2m2 is greater than N2, and
each instruction of the second set differ from all other instructions of the second set by a number of bits greater than or equal to p2, p2 being a positive integer number greater than or equal to 9.

### Claim 7 (depends on 6)

The smartcard of claim 6, wherein instructions of the second set are instructions of a same type of operation.

### Claim 8 (depends on 7)

The smartcard of claim 7, wherein flipping a bit of an instruction of the second set results in an instruction of the first set.

### Claim 9

A method for securing a smartcard, the method comprising:
generating a first set of N1 instructions of m1 bits, wherein
m1 is a positive integer number,
N1 is a positive integer number,
2m1 is greater than N1, and
each instruction of the first set differ from all other instructions of the first set by a number of bits greater than or equal to pi, pi being a positive integer number greater than or equal to 2; and
configuring a controller to make it capable of executing each instruction of the first set.

### Claim 10 (depends on 9)

The method of claim 9, further comprising storing program instructions compatible with the first set in a storage unit coupled to the controller.

### Claim 11 (depends on 10)

The method of claim 10, further comprising generating a set of invalid instructions, the set of invalid instructions being non-overlapping with the first set.

### Claim 12 (depends on 11)

The method of claim 11, further comprising issuing an alert when executing an instruction of the set of invalid instructions.

### Claim 13 (depends on 11)

The method of claim 11, further comprising blocking the smartcard when executing an instruction of the set of invalid instructions.

### Claim 14 (depends on 9)

The method of claim 9, further comprising generating a second set of N2 instructions of m2 bits, wherein
m2 is a positive integer number,
N2 is a positive integer number,
2m2 is greater than N2, and
each instruction of the second set differ from all other instructions of the second set by a number of bits greater than or equal to p2, p2 being a positive integer number greater than or equal to 2.

### Claim 15 (depends on 14)

The method of claim 14, wherein instructions of the second set are instructions of a same type of operation.

### Claim 16 (depends on 15)

The method of claim 15, wherein flipping a bit of an instruction of the second set results in an instruction of the first set.

### Claim 17

A method comprising:
selecting a first set of N1 codes from a first group of 2m1 codes, wherein
m1 is a positive integer number,
N1 is a positive integer number,
2m1 is greater than N1, and
each code of the first set differ from all other codes of the first set by a number of bits greater than or equal to p, p being a positive integer number greater than or equal to 2;
selecting a second set of N2 codes from the first group, wherein the first set and the second set are non-overlapping; and
storing codes of the first set into a storage device.

### Claim 18 (depends on 17)

The method of claim 17, further comprising configuring a controller to make it capable of executing instructions having instruction codes corresponding to codes of the first set.

### Claim 19 (depends on 17)

The method of claim 17, wherein N2 is zero.

### Claim 20 (depends on 17)

The method of claim 17, wherein the second set corresponds to a set of invalid instructions.

### Claim 21

A method of operating a smartcard, the method comprising:
retrieving a first instruction from a storage device, wherein
the first instruction is an instruction from a set of secured instruction,
the set of secured instructions comprising a first set of N1 instructions of m1 bits,
m1 is a positive integer number,
N1 is a positive integer number,
2m1 is greater than N1, and
each instruction of the first set differ from all other instructions of the first set by a number of bits greater than or equal to p1, p1 being a positive integer number greater than or equal to 2; and
executing the secured instruction.

### Claim 22 (depends on 21)

The method of claim 21, wherein the set of secured instructions further comprises a set of invalid instructions, the set of invalid instructions being non-overlapping with the first set, the method further comprising:
executing a second instruction from the set of invalid instructions; and
issuing an alert after executing the second instruction.
