# US 2015/0312226 A1 · Method for including an implicit integrity or authenticity check into a white-box implementation

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

- Number: US 2015/0312226 A1
- Document ID: US20150312226A1
- Status: Published application
- Kind: A1
- Application number: 14/263,429
- Filed: 2014-04-28
- Published: 2015-10-29
- Earliest claimed: 2014-04-28
- Assignees: NXP B.V.
- Applicants: NXP B.V.
- Inventors: Wil Michiels; Jan Hoogerbrugge
- Web page: https://patentgrep.com/patent/US20150312226A1

## CPC

- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of performing a cryptographic operation using a cryptographic implementation in a cryptographic system, including: receiving, by the cryptographic system, an identifying string value; receiving, by the cryptographic system, an input message; performing, by the cryptographic system, a keyed cryptographic operation mapping the input message into an output message wherein the output message is the correct result when the indentifying string value equals a binding string value

## Claims

### Claim 1

A non-transitory machine-readable storage medium encoded with instructions for execution by a cryptographic implementation in a cryptographic system for performing a cryptographic operation, the non-transitory machine-readable storage medium comprising:
instructions for receiving, by the cryptographic system, an identifying string value;
instructions for receiving, by the cryptographic system, an input message;
instructions for performing, by the cryptographic system, a keyed cryptographic operation mapping the input message into an output message wherein the output message is the correct result when the indentifying string value equals a binding string value.

### Claim 2 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the output message is an incorrect result when the indentifying string does not equal the binding string value.

### Claim 3 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the identifying string value is based upon an identification of the cryptographic implementation.

### Claim 4 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the identifying string value is based upon a hash of a portion of code in the cryptographic system.

### Claim 5 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the identifying string value is based upon an identification of the cryptographic system.

### Claim 6 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the identifying string value is based upon a user password.

### Claim 7 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and the non-transitory machine-readable storage medium further comprises:
instructions for encoding an output of the first function based upon the indentifying string value; and
instructions for instructions for performing the second function on the encoded output of the first function wherein the second function includes decoding the encoded output of the first function using the binding string value.

### Claim 8 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein cryptographic implementation includes a plurality of functions including a first function and a second function, and the non-transitory machine-readable storage medium further comprises:
instructions for perturbing an output of the first function using the indentifying string value; and
instructions for performing the second function on the perturbed output of the first function wherein the second function includes compensating for the perturbation of the output of the first function using the binding string value.

### Claim 9 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and the non-transitory machine-readable storage medium further comprises:
instructions for introducing a perturbation in the calculation of the first function based upon the identifying string value;
instructions for compensating for the perturbation in the calculation of the first function during calculation of the second function based upon the binding string value.

### Claim 10 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and the non-transitory machine-readable storage medium further comprises:
instructions for introducing a perturbation in the calculation of the first function based upon the binding string value;
instructions for compensating for the perturbation in the calculation of the first function during calculation of the second function based upon the identifying string value.

### Claim 11 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the cryptographic system includes a network of finite state machines.

### Claim 12 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the cryptographic system includes a network of lookup tables.

### Claim 13 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the cryptographic operation is one of advanced encryption system (AES) or data encryption standard (DES).

### Claim 14

A method of producing a cryptographic implementation of a cryptographic operation mapping an input message to an output message in a cryptographic system that binds the cryptographic implementation to a binding string value, comprising:
receiving information specifying the binding string value;
modifying a cryptographic implementation to receive a indentifying string value;
modifying the cryptographic implementation based upon the received information specifying the binding string value so that:
when a received indentifying string value is equal to the binding string value, the cryptographic implementation outputs a correct output message.

### Claim 15 (depends on 14)

The method of claim 14, wherein when a received indentifying string value is not equal to the binding string value, the cryptographic implementation outputs an incorrect output message.

### Claim 16 (depends on 14)

The method of claim 14, wherein the identifying string value is based upon an identification of the cryptographic implementation.

### Claim 17 (depends on 14)

The method of claim 14, wherein the identifying string value is based upon a hash of a portion of the cryptographic implementation.

### Claim 18 (depends on 14)

The method of claim 14, wherein the identifying string value is based upon an identification of the cryptographic system.

### Claim 19 (depends on 14)

The method of claim 14, wherein the identifying string value is based upon a user password.

### Claim 20 (depends on 14)

The method of claim 14, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and modifying the cryptographic implementation so that:
the output of one of the first function is encoded based upon the indentifying string value; and
a second function is performed on the encoded output of the first function wherein the second function includes decoding the encoded output of the first function using the binding string value.

### Claim 21 (depends on 14)

The method of claim 14, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and modifying the cryptographic implementation so that:
the output of one of the first function is perturbed using the indentifying string value; and a second function is performed on the encoded output of the first function wherein the second function includes compensating for the perturbation of the output of the first function using the binding string value with.

### Claim 22 (depends on 14)

The method of claim 14, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and modifying the cryptographic implementation so that: a perturbation is introduced in the calculation of the first function based upon the identifying string value;
the perturbation is compensated for in the calculation of the first function during calculation of the second function based upon the binding string value.

### Claim 23 (depends on 14)

The method of claim 14, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and modifying the cryptographic implementation so that: a perturbation is introduced in the calculation of the first function based upon the binding string value;
the perturbation is compensated for in the calculation of the first function during calculation of the second function based upon the identifying string value.

### Claim 24 (depends on 14)

The method of claim 14, wherein the cryptographic system includes a network of finite state machines.

### Claim 25 (depends on 14)

The method of claim 14, wherein the cryptographic system includes a network of lookup tables.

### Claim 26 (depends on 14)

The method of claim 14, wherein the cryptographic operation is one of advanced encryption system (AES) or data encryption standard (DES).

### Claim 27

A method of performing a cryptographic operation using a cryptographic implementation in a cryptographic system, comprising:
receiving, by the cryptographic system, an identifying string value;
receiving, by the cryptographic system, an input message;
performing, by the cryptographic system, a keyed cryptographic operation mapping the input message into an output message wherein the output message is the correct result when the indentifying string value equals a binding string value.

### Claim 28 (depends on 27)

The method of claim 27, wherein the output message is an incorrect result when the indentifying string does not equal the binding string value.

### Claim 29 (depends on 27)

The method of claim 27, wherein the identifying string value is based upon an identification of the cryptographic implementation.

### Claim 30 (depends on 27)

The method of claim 27, wherein the identifying string value is based upon a hash of a portion of code in the cryptographic system.

### Claim 31 (depends on 27)

The method of claim 27, wherein the identifying string value is based upon an identification of the cryptographic system.

### Claim 32 (depends on 27)

The method of claim 27, wherein the identifying string value is based upon a user password.

### Claim 33 (depends on 27)

The method of claim 27, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and the method further comprises:
encoding an output of the first function based upon the indentifying string value; and
performing the second function on the encoded output of the first function wherein the second function includes decoding the encoded output of the first function using the binding string value.

### Claim 34 (depends on 27)

The method of claim 27, wherein cryptographic implementation includes a plurality of functions including a first function and a second function, and the method further comprises:
perturbing an output of the first function using the indentifying string value; and
performing the second function on the perturbed output of the first function wherein the second function includes compensating for the perturbation of the output of the first function using the binding string value.

### Claim 35 (depends on 27)

The method of claim 27, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and the method further comprises:
introducing a perturbation in the calculation of the first function based upon the identifying string value;
compensating for the perturbation in the calculation of the first function during calculation of the second function based upon the binding string value.

### Claim 36 (depends on 27)

The method of claim 27, wherein cryptographic implementation includes a plurality of functions including a first function and second function, and the method further comprises:
introducing a perturbation in the calculation of the first function based upon the binding string value;
compensating for the perturbation in the calculation of the first function during calculation of the second function based upon the identifying string value.

### Claim 37 (depends on 27)

The method of claim 27, wherein the cryptographic system includes a network of finite state machines.

### Claim 38 (depends on 27)

The method of claim 27, wherein the cryptographic system includes a network of lookup tables.

### Claim 39 (depends on 27)

The method of claim 27, wherein the cryptographic operation is one of advanced encryption system (AES) or data encryption standard (DES).
