RSA Key Processing Sliding Window Scrambling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing RSA encryption algorithms based on sliding window processing are vulnerable to simple power analysis (SPA) attacks, as the effective sliding window length sequence is uniquely determined, allowing attackers to derive the distribution characteristics and crack the key.

Innovation Solution

A method that acquires a sliding window sequence, scrambles one or more sliding windows to obtain a scrambled sequence, and performs Montgomery modular multiplication, thereby blinding the measurement results to resist SPA attacks without increasing power consumption or time delay.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If sliding window processing is used to optimize RSA computation, then computational efficiency is improved, but the key becomes vulnerable to SPA attacks due to deterministic window length sequences

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidsecurity against SPA attacks
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces dynamic adjustment of sliding window lengths based on random values, transforming the static and deterministic window processing into a dynamic and randomized process. This allows the system to maintain computational efficiency while preventing SPA attacks by making the operation sequence unpredictable

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of window length from a fixed value to a randomized value that varies during computation. By introducing randomness in the window length parameter, the system maintains the performance benefits of sliding window processing while eliminating the deterministic pattern that vulnerabilities to SPA attacks

Inventive Principle:
Principle #35Parameter changes

2Reliability

If randomization is introduced to resist SPA attacks, then security is improved, but computational overhead and time delay increase

Engineering Contradiction:
Improvesecurity against SPA attacksVSAvoidcomputational time delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary generation of random values and adjusts window lengths in advance during the computation process. This preliminary randomization is integrated into the existing sliding window framework without requiring additional computational steps, thus improving security while minimizing time overhead

Inventive Principle:
Principle #10Preliminary action

3Reliability

If additional countermeasures are implemented to prevent SPA attacks, then security is enhanced, but power consumption increases

Engineering Contradiction:
Improvesecurity against SPA attacksVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent uses the existing computational resources and operation sequence of the sliding window algorithm to generate randomness and implement countermeasures. The system leverages its own operational characteristics rather than introducing separate power-consuming countermeasure modules, thus enhancing security without significantly increasing power consumption

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10721056B2Key processing method and device
Publication Date: 2020.07.21 CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD
  • US10721056B2 patent drawing
  • US10721056B2 patent drawing
  • US10721056B2 patent drawing

AI summary

An attack on an RSA encryption algorithm based on simple power analysis (SPA) is thwarted by scrambling the sliding window sequence that results from performing sliding window processing on a power exponent. The sliding window sequence is scrambled with a random code that is utilized to determine an adjustment tendency and an adjustment length.