GHASH IP Core Architecture for Side-Channel-Resistant GCM

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computer hardware is vulnerable to side channel attacks such as differential power analysis, simple power analysis, and fault injection, which can compromise cryptographic key extraction, and there is a need for improved resistance and performance in cryptographic operations.

Innovation Solution

Implementing IP cores and methods that enhance resistance to side channel attacks by preventing the learning stage in HMAC and block ciphers, defending GCM Authentication against such attacks, optimizing exponentiation algorithms, limiting polynomial degrees in finite field multiplications, and simulating fault injection responses in circuit design.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If cryptographic operations are implemented in hardware to improve performance, then processing speed increases, but vulnerability to side channel attacks increases

Engineering Contradiction:
Improveprocessing speedVSAvoidvulnerability to side channel attacks
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The cryptographic processing is divided into multiple independent shares or instances. Each share processes a portion of the cryptographic operation independently, and the final result is obtained by combining the shares. This segmentation prevents attackers from obtaining complete information through side channel measurements of a single processing instance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the operational parameters by introducing randomization into the cryptographic processing. Random values are injected into intermediate calculations, causing the power consumption patterns and timing characteristics to vary between operations even when processing the same data, thereby masking the actual cryptographic operations from side channel attackers.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If security measures are added to protect against side channel attacks, then resistance to attacks improves, but device complexity increases

Engineering Contradiction:
Improveresistance to side channel attacksVSAvoidhardware complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements security mechanisms that serve multiple functions simultaneously. The same shared structure that provides security against side channel attacks also enables parallel processing capabilities, improving both security and performance without proportionally increasing complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

Instead of creating completely separate secure processing units, the patent uses copying techniques where multiple shares replicate the same cryptographic algorithm structure. Each share is a simplified copy that processes a portion of the data, reducing the complexity of individual components while maintaining overall security through the collective system.

Inventive Principle:
Principle #26Copying

3Adaptability or versatility

If arbitrary data inputs are allowed in HMAC to improve functionality, then versatility increases, but resistance to template attacks decreases

Engineering Contradiction:
Improvefunctional versatilityVSAvoidresistance to template attacks
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent applies preliminary protective measures by restricting the input data to specific formats or pre-processing inputs before they reach the HMAC core. This preliminary action prevents attackers from using arbitrary inputs to perform template attacks, while still maintaining versatility for legitimate use cases through controlled input interfaces.

Inventive Principle:
Principle #9Preliminary anti-action

Data Source

PatentUS12562885B2Methods and IP cores for reducing vulnerability to hardware attacks and/or improving processor performance
Publication Date: 2026.02.24 FORTIFYIQ INC
  • US12562885B2 patent drawing
  • US12562885B2 patent drawing
  • US12562885B2 patent drawing

AI summary

In a general aspect, a GHASH semiconductor intellectual property (IP) core can include circuitry for calculating a GHASH function. The IP core can be configured to calculate the GHASH function by calculating the following quantities:X0=0;Xi+1=Hk⁢Xi+∑ j=0k-1⁢∑ n=0m-1⁢Cki+j⁢hijn,where for any i and j; and∑ n=0m-1⁢hi⁢j⁢n=Hj,where⁢ k>1⁢ and⁢ m>1.