# US 2022/0284132 A1 · Method for securing logic circuits

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

- Number: US 2022/0284132 A1
- Document ID: US20220284132A1
- Status: Published application
- Kind: A1
- Application number: 17/637,889
- Filed: 2020-08-28
- Published: 2022-09-08
- Earliest claimed: 2019-08-29
- Assignees: Carnegie Mellon University
- Applicants: Carnegie Mellon University
- Inventors: Ronald D. BLANTON
- Web page: https://patentgrep.com/patent/US20220284132A1

## CPC

- G06F 21/72: in cryptographic circuits
- G06F 21/75: by inhibiting the analysis of circuitry or operation
- 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/14: using a plurality of keys or algorithms
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The invention is directed to securing/obfuscating the design and operation of a logic circuit using standard encryption algorithms. The invention transforms the logic of the circuit to crypto logic which is capable of accepting encrypted input, producing encrypted output or a combination of accepting encrypted input and producing encrypted output.

## Claims

### Claim 1

A method of securing a logic circuit having a logic transfer function defining a relationship between one or more inputs to and one or more outputs from the logic circuit, the method comprising:
modifying the logic transfer function such that the logic circuit takes one or more of the inputs in encrypted form, produces one or more of the outputs in encrypted form, or a combination of taking one or more of the inputs in encrypted form and producing one or more of the outputs in encrypted form.

### Claim 2 (depends on 1)

The method of claim 1 wherein the one or more inputs comprise a string of input bits, further comprising:
encrypting one or more of bits of the string of input bits prior to inputting the string of input bits to the logic circuit.

### Claim 3 (depends on 2)

The method of claim 2, the logic circuit further comprising a stored state, the method further comprising:
encrypting the stored state prior to inputting the string of bits to the logic circuit;
wherein the logic transfer function has been further modified to use an encrypted version of the stored state.

### Claim 4 (depends on 1)

The method of claim 1 wherein the one or more outputs comprise a string of output bits and wherein the logic transfer function has been modified to produce the string of output bits having one or more of the bits in encrypted form, further comprising:
decrypting the output bits to produce a plaintext output.

### Claim 5 (depends on 4)

The method of claim 4, the logic circuit further comprising a stored state, wherein the logic transfer function has been further modified to encrypt the stored state, the method further comprising:
decrypting the encrypted stored state to produce a plaintext stored state.

### Claim 6 (depends on 1)

The method of claim 1, the logic circuit further comprise a stored state, wherein the one or more inputs comprise a string of input bits and further wherein the one or more outputs comprise a string of output bits, further comprising:
encrypting one or more of bits of the string of input bits prior to inputting the string of input bits to the logic circuit; and
decrypting one or more bits of the string of output bits.

### Claim 7 (depends on 6)

The method of claim 6 wherein the logic transfer function has been further modified to produce and use an encrypted version of the stored state.

### Claim 8 (depends on 6)

The method of claim 6 wherein the logic transfer function has been further modified to produce a plaintext stored state which must be encrypted before being used.

### Claim 9 (depends on 6)

The method of claim 6 wherein the logic transfer function has been further modified to produce an encrypted stored state which must be decrypted before being used.

### Claim 10 (depends on 1)

The method of claim 1 wherein the logic transfer function is embodied in hardware.

### Claim 11 (depends on 10)

The method of claim 10 wherein the encrypting of the one or more inputs occurs in the hardware.

### Claim 12 (depends on 10)

The method of claim 10 wherein the decrypting of the one or more outputs occurs in the hardware.

### Claim 13 (depends on 1)

The method of claim 1 where the logic transfer function, encryption logic and decryption logic are implemented in software.

### Claim 14 (depends on 1)

The method of claim 1 wherein the logic transfer function is embodied in a truth table, the modification of the logic transfer function comprising:
encrypting the truth table.

### Claim 15 (depends on 14)

The method of claim 14 wherein the logic circuit is embodied in hardware, further comprising:
designing a circuit implementing the encrypted truth table.

### Claim 16 (depends on 14)

The method of claim 14 wherein the some or all of an input side of the truth table is encrypted, wherein some or all of an output side of the truth table is encrypted, or wherein some or all of both the input side and the output side of the truth table are encrypted.

### Claim 17 (depends on 16)

The method of claim 16 wherein different portions of the truth table are encrypted using different encryption algorithms.

### Claim 18 (depends on 1)

The method of claim 1 wherein the encryption of the inputs and/or decryption of the outputs uses the Advanced Encryption Standard algorithm.

### Claim 19 (depends on 1)

The method of claim 1, further comprising:
providing a key to encrypt one or more of the inputs.

### Claim 20 (depends on 1)

The method of claim 1, further comprising:
providing a key to decrypt one or more of the outputs.

### Claim 21 (depends on 1)

The method of claim 1 further comprising:
providing a first key to encrypt one or more of the inputs; and
providing a second key to decrypt one or more of the outputs.

### Claim 22

An apparatus comprising:
a logic circuit, the logic circuit accepting one or more inputs in encrypted form, producing one or more outputs in encrypted form, or a combination of accepting one or more inputs in encrypted form and producing one or more outputs in encrypted form.

### Claim 23 (depends on 22)

The apparatus of claim 22, wherein the logic circuit accepts one or more inputs in encrypted form, further comprising:
encryption circuitry, coupled to the inputs of the logic circuit, the encryption circuitry accepting one or more plaintext inputs and producing one or more encrypted inputs;
wherein the encryption circuitry accepts a key used to encrypt the one or more inputs.

### Claim 24 (depends on 23)

The apparatus of claim 23:
wherein the logic circuit stores a current state in plaintext form;
wherein the logic circuit accepts a next state in encrypted form; and
wherein the encryption circuitry encrypts the current stored state as a next state for the logic circuitry.

### Claim 25 (depends on 22)

The apparatus of claim 22, wherein the logic circuit produces one or more outputs in encrypted form, further comprising:
decryption circuitry, coupled to one or more outputs of the logic circuit, the decryption circuitry accepting one or more encrypted outputs and producing one or more plaintext outputs;
wherein the decryption circuitry accepts a key used to decrypt the one or more inputs.

### Claim 26 (depends on 25)

The apparatus of claim 25:
wherein the logic circuit stores a current state in encrypted form;
wherein the logic circuit accepts a next state in plaintext form; and
wherein the decryption circuitry decrypts the current stored state as a next state for the logic circuitry.

### Claim 27 (depends on 22)

The apparatus of claim 22, wherein the logic circuit accepts one or more inputs in encrypted form and produces one or more outputs in encrypted form, further comprising:
encryption circuitry, coupled to the inputs of the logic circuit, the encryption circuitry accepting one or more plaintext inputs and producing one or more encrypted inputs, the encryption circuitry accepting an encryption key used to encrypt the one or more inputs; and
decryption circuitry, coupled to one or more outputs of the logic circuit, the decryption circuitry accepting one or more encrypted outputs and producing one or more plaintext outputs, the decryption circuitry accepting a decryption key used to decrypt the one or more outputs.

### Claim 28 (depends on 25)

The apparatus of claim 25:
wherein the logic circuit stores a current state in encrypted form; and
wherein the logic circuit accepts a next state in encrypted form.
