Masking Matrix Key Generation for Side-Channel Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cryptographic technologies are vulnerable to side-channel attacks, particularly during key generation, as operations like GCD computation can leak secret information through physical emissions.

Innovation Solution

The implementation of matrix-based masking techniques, where input numbers are masked using elements of a masking matrix with random elements, to perform GCD and modular inversion operations, thereby protecting against side-channel attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional key generation operations are performed without masking, then computational efficiency is maintained, but the system becomes vulnerable to side-channel attacks that can leak secret information through physical emissions

Engineering Contradiction:
Improvesecurity against side-channel attacksVSAvoidcomputational complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces masking matrices as intermediary elements that mediate between the secret cryptographic inputs and the computational operations. These matrices transform the secret values into masked representations that can be processed without directly exposing the secrets, thereby preventing side-channel leakage while maintaining the ability to perform necessary cryptographic computations

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameter representation by transforming secret values into masked forms using randomly generated masking matrices. This parameter transformation allows the system to work with equivalent mathematical representations that do not directly reveal the secret information through physical emissions, thus improving security against side-channel attacks

Inventive Principle:
Principle #35Parameter changes

2Reliability

If masking techniques are applied to protect against side-channel attacks, then security is improved, but the computational overhead and operation time increase

Engineering Contradiction:
Improvesecurity against side-channel attacksVSAvoidkey generation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary masking to the cryptographic inputs before the key generation operations commence. By pre-transforming the secret values into masked representations using randomly generated matrices, the system prepares the data in advance to resist side-channel attacks during the actual computational phase, avoiding the need for repeated masking operations throughout the computation

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the key generation process into distinct phases: masking preparation, masked computation, and result extraction. This segmentation allows the system to perform computationally intensive masking operations in advance and separately, enabling parallel processing and optimizing the timing of different operations to minimize overall execution time

Inventive Principle:
Principle #1Segmentation

3Reliability

If random masking matrices are used to mask input numbers, then protection against side-channel attacks is enhanced, but the mathematical operations become more complex

Engineering Contradiction:
Improveprotection of secret valuesVSAvoidmathematical operation complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent changes the mathematical parameters by transforming secret values into masked forms using randomly generated matrices. This parameter transformation allows the system to work with equivalent mathematical representations that do not directly reveal the secret information through physical emissions, thus improving security against side-channel attacks

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12219056B2Masking of key generation operations with random matrices in cryptographic applications
Publication Date: 2025.02.04 CRYPTOGRAPHY RESEARCH INC
  • US12219056B2 patent drawing
  • US12219056B2 patent drawing
  • US12219056B2 patent drawing

AI summary

Disclosed are systems and techniques for enhanced protection of cryptographic key generation in cryptographic applications. In particular, described is a method and a system that performs the method of obtaining input numbers associated with a cryptographic application, generating masking matrix based on at least one random value, obtaining masked numbers using a matrix product of the MM and the input numbers, determining a greatest common divisor (GCD) of the masked numbers, identifying a GCD of the input numbers, and using the identified GCD to generate a cryptographic key.