Substitution-Permutation Cipher Masking Against Fault Injection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Cryptographic substitution-permutation networks are vulnerable to fault injection attacks, which can compromise secret data by interrupting computations and allowing attackers to decipher cryptographic keys due to incomplete or weak intermediate outputs.
Innovation Solution
Implement obfuscation transformations using invertible transforms based on random numbers during each round of computations in the substitution-permutation network, applying masking matrices and vectors to obfuscate intermediate outputs, ensuring that even incomplete computations produce cryptographically strong results.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If fault injection attacks interrupt cryptographic computations, then attackers can obtain intermediate outputs, but this reveals secret data and compromises security
Solution Approach 1:
The patent applies preliminary action by performing obfuscation transformations on intermediate outputs before they can be exposed to attackers. Masking matrices and vectors are pre-computed and applied to encrypt intermediate results, ensuring that even if fault injection interrupts the computation, the exposed data remains protected. This proactive protection prevents the harmful effect of information leakage before it can occur.
2Productivity
If intermediate outputs are produced during cryptographic computations, then computation progress is visible, but this creates weak outputs vulnerable to cryptanalysis
Solution Approach 1:
The patent introduces masking matrices and vectors as intermediary elements between the cryptographic computation and the output. These intermediaries transform intermediate results into obfuscated forms that maintain computational efficiency while preventing direct access to meaningful cryptographic data. The masking acts as a mediator that preserves computation speed while eliminating the vulnerability of intermediate outputs.
3Ease of manufacture
If standard cryptographic operations are used without obfuscation, then implementation is simple, but secret data can be deciphered from interrupted computations
Solution Approach 1:
The patent changes the parameters of cryptographic operations by introducing obfuscation transformations with masking matrices and vectors. These parameter changes modify intermediate outputs without fundamentally altering the core cryptographic algorithm, maintaining implementation simplicity while adding a layer of protection. The transformed parameters ensure that even interrupted computations produce only obfuscated, non-sensitive data.
Data Source
AI summary
Aspects of the present disclosure involve a method and a system to perform the method to obtain a cryptographic output of a plurality of rounds of a cipher, by performing a plurality of modified rounds of the cipher, each of the modified rounds computing an unmasking transform, an operation of a respective round of the cipher, and a masking transform, the unmasking transform being an inverse of the masking transform of a previous round of the cipher.


