# US 2026/0227961 A1 · Detecting and addressing power side channels in semiconductor architecture and microarchitechture

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

- Number: US 2026/0227961 A1
- Document ID: US20260227961A1
- Status: Published application
- Kind: A1
- Application number: 19/044,835
- Filed: 2025-02-04
- Published: 2026-08-06
- Earliest claimed: 2025-02-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Naorin Hossain; Ramon Bertran Monfort; William Santiago-Fernandez; Alper Buyuktosunoglu; Pradip Bose
- Web page: https://patentgrep.com/patent/US20260227961A1

## CPC

- G06F 8/30: Creation or generation of source code
- H04L 9/003: {for power analysis, e.g. differential power analysis [DPA] or simple power analysis [SPA]}
- G06F 21/755: {with measures against power attack}
- G06F 30/3323: using formal methods, e.g. equivalence checking or property checking
- G06F 2119/06: Power analysis or power optimisation
- H04L 2209/12: Details relating to cryptographic hardware or logic circuitry
- 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

An embodiment includes determining a power side channel of the hardware representative system. The embodiment includes constructing a power consumption relation based in part on the instruction. The embodiment includes generating executable code based on the power consumption relation wherein an output of executing the executable code comprises the power side channel of the hardware representative system. The embodiment includes extracting a power consumption result of the instruction of the hardware representative system according to an output of executing code based on a power consumption relation of the instruction. The embodiment also includes adjusting an architecture and a microarchitecture of the hardware representative system according to the power leakage metric.

## Claims

### Claim 1

A computer-implemented method comprising:
determining a power consumption result of a hardware representative system comprising:
constructing a power consumption relation based in part on an instruction; and
generating executable code based on the power consumption relation wherein an output of executing the executable code comprises the power consumption result of the hardware representative system.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the power consumption relation is based on a power consumption difference during an operand change.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein constructing the power consumption relation comprises the power consumption relation according to a microarchitecture of a hardware system.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the hardware representative system represents a pre-silicon hardware and wherein the executable code is used to adjust a design of the pre-silicon hardware.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein generating executable code uses a Boolean satisfiability solver to generate the executable code wherein the executable code is a counterexample that determines whether a power side channel of the hardware representative system exists.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the power consumption result outputted by executing the executable code comprises a power consumption of an architecturally defined instruction.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising constructing the power consumption relation according to an operand of the instruction.

### Claim 8

A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by a processor to cause the processor to perform operations comprising:
determining a power consumption result of a hardware representative system comprising:
constructing a power consumption relation based in part on an instruction; and
generating executable code based on the power consumption relation wherein an output of executing the executable code comprises the power consumption result of the hardware representative system.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the power consumption relation is based on a power consumption difference during an operand change.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein constructing the power consumption relation comprises the power consumption relation according to a microarchitecture of a hardware system.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the hardware representative system represents a pre-silicon hardware system and wherein the executable code is used to adjust a design of the pre-silicon hardware.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein generating executable code uses a Boolean satisfiability solver to generate the executable code wherein the executable code is a counterexample that determines whether a power side channel of the hardware representative system exists.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the power consumption result outputted by executing the executable code comprises a power consumption of an architecturally defined instruction.

### Claim 14 (depends on 8)

The computer program product of claim 8, further comprising constructing the power consumption relation according to an operand of the instruction.

### Claim 15

A computer system comprising a processor and one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by the processor to cause the processor to perform operations comprising:
determining a power consumption result of a hardware representative system comprising:
constructing a power consumption relation based in part on an instruction; and
generating executable code based on the power consumption relation wherein an output of executing the executable code comprises the power consumption result of the hardware representative system.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein the power consumption relation is based on a power consumption difference during an operand change.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein constructing the power consumption relation comprises the power consumption relation according to a microarchitecture of a hardware system.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein the hardware representative system represents a pre-silicon hardware system and wherein the executable code is used to adjust a design of the pre-silicon hardware.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein generating executable code uses a Boolean satisfiability solver to generate the executable code wherein the executable code is a counterexample that determines whether a power side channel of the hardware representative system exists.

### Claim 20 (depends on 15)

The computer system of claim 15, further comprising constructing the power consumption relation according to an operand of the instruction.

### Claim 21

A computer-implemented method comprising:
determining a power leakage metric of a hardware representative system comprising:
extracting a power consumption result of an instruction of the hardware representative system according to an output of executing code based on a power consumption relation of the instruction; and
determining the power leakage metric according to a correlation between the power consumption result and a reference metric.

### Claim 22 (depends on 21)

The computer-implemented method of claim 21, wherein determining the power leakage metric further comprises computing a power leakage probability according to power consumption results of a set of instructions.

### Claim 23 (depends on 21)

The computer-implemented method of claim 21, the reference metric is based on a side channel vulnerability factor.

### Claim 24

A computer-implemented method comprising:
determining a power leakage metric of a hardware representative system comprising:
extracting a power consumption result of an instruction of the hardware representative system based on an output of executing code based on a power consumption relation of the instruction;
determining the power leakage metric according to a correlation between the power consumption result and a reference metric; and
adjusting an architecture and a microarchitecture of the hardware representative system according to the power leakage metric.

### Claim 25 (depends on 24)

The computer-implemented method of claim 24, further comprising validating that the hardware representative system is secure against a power side channel leakage by determining if a secret key is extractable from a power side channel while executing a known cryptographic algorithm on the hardware representative system.
