AES S-Box Using Variable LFSR Seeds for Side-Channel Resilience

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

AES cryptographic systems are vulnerable to side-channel attacks, particularly due to side-channel leakage from the S-box operation during encryption, which can reveal the secret key.

Innovation Solution

The implementation of an AES cryptographic system using two forward-reverse linear-feedback shift registers (LFSRs) pairs for the S-box, with different initialization seeds for each pair, to perform multiplicative inversion and reduce side-channel leakage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional S-box implementation is used in AES, then the encryption function is achieved, but side-channel leakage occurs that reveals secret key information

Engineering Contradiction:
Improvesecurity against side-channel attacksVSAvoidside-channel leakage
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The patent changes the initialization seed parameter of the LFSR from a fixed value to a variable value that changes with each encryption operation. This parameter change causes the S-box computation to complete in variable time, preventing correlation between fixed-time power consumption patterns and secret key data, thereby eliminating side-channel leakage

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces dynamic behavior to the S-box implementation by using variable initialization seeds that cause the LFSR to execute for different numbers of clock cycles. This dynamic execution time prevents attackers from using fixed-time correlation analysis, as the timing relationship between secret key operations and power consumption measurements becomes unpredictable

Inventive Principle:
Principle #15Dynamics

2Device complexity

If LFSR-based S-box with fixed initialization seed is used, then hardware complexity is reduced, but side-channel vulnerability remains due to fixed execution time

Engineering Contradiction:
Improvehardware complexityVSAvoidside-channel attack resilience
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent maintains the simple LFSR hardware structure but changes the initialization seed parameter from fixed to variable. This allows the system to achieve variable execution time and side-channel resistance without increasing hardware complexity, as the same LFSR circuit can operate with different seed values

Inventive Principle:
Principle #35Parameter changes

3Reliability

If variable initialization seeds are used in LFSR pairs, then side-channel attack resilience is enhanced, but computation latency varies

Engineering Contradiction:
Improveside-channel attack resilienceVSAvoidcomputation latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent converts the harmful variable latency into a beneficial security feature. The variable execution time, which could be seen as a performance drawback, actually prevents side-channel attacks by ensuring that power consumption patterns cannot be correlated with secret key data through timing analysis. The harm of variable time is transformed into the benefit of enhanced security

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Data Source

PatentUS20250047467A1AES cryptographic system and method
Publication Date: 2025.02.06 AGENCY FOR SCI TECH & RES
  • US20250047467A1 patent drawing
  • US20250047467A1 patent drawing
  • US20250047467A1 patent drawing

AI summary

An Advanced Encryption Standard (AES) cryptographic system and a method of performing Advanced Encryption Standard (AES) cryptography. The method comprises the steps of performing multiplicative inversion for SubBytes transformation using two forward-reverse linear-feedback shift registers, LFSRs, pairs; and using different respective initialization seeds for the pairs of forward-reverse LFSRs.