Cryptographic Exponentiation Side-Channel Protection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing cryptographic exponentiation algorithms are vulnerable to side-channel attacks, such as Single Power Analysis (SPA), which can reveal sensitive information about the exponent through electrical consumption patterns, and are not optimized for execution speed.
Innovation Solution
An iterative calculation method that performs exponentiation using only multiplications of identical large variables, decomposing multiplications of different variables into combinations of identical variable multiplications, and employing simultaneous execution of multiplications to maintain regularity and avoid dummy operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If the SQUARE function is used for multiplying identical large variables and the MULT function for multiplying different large variables, then the execution time is optimized, but the electrical consumption pattern reveals information about the exponent bits through SPA analysis
Solution Approach 1:
The patent applies homogeneity by ensuring that all multiplication operations in the exponentiation algorithm are performed using the same function (MULT), rather than distinguishing between SQUARE for identical variables and MULT for different variables. This creates a uniform operation pattern that prevents SPA attacks while maintaining execution efficiency through optimized multiplication routines
2Loss of information
If only the MULT function is used for all multiplications without the SQUARE function, then SPA protection is improved, but the execution time increases due to loss of optimization
Solution Approach 1:
The patent changes the operational parameter by using a single MULT function for all multiplications instead of switching between SQUARE and MULT functions. This parameter change maintains security by creating uniform power consumption patterns while preserving performance through efficient multiplication algorithm implementation
3Loss of information
If dummy multiplications are inserted to create regularity in the algorithm, then SPA protection is improved, but the execution time increases due to unnecessary operations
Solution Approach 1:
The patent extracts and eliminates the need for dummy multiplications by using a unified MULT function approach that inherently provides regularity in operation patterns. This removes unnecessary computational steps while maintaining the security benefits of regular power consumption patterns
Data Source
Figure 1~4
Figure 5A~6B
AI summary
The invention relates to a method and a device (DV1) protected against side-channel attacks, for computing the result of the exponentiation of a data m by an exponent d. The method and the device are configured to perform only multiplications of identical large variables by decomposing any multiplication of different large variables x, y into a combination of multiplications of identical large variables.