Block Cipher Encryption Processing Method Reducing Resource Consumption
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing block cipher algorithm implementation for SMS4 encryption is inefficient and costly due to high resource consumption, particularly in the sub-key array storage unit, which occupies a significant portion of logical resources in integrated circuits.
Innovation Solution
A method that omits the sub-key array storage unit and introduces a sub-key registration unit, allowing for efficient key expansion and data encryption using multiple data conversion components, reducing resource consumption and increasing clock frequency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a sub-key array storage unit is used to store preconfigured sub-keys, then the encryption processing can be completed, but the resource consumption increases significantly occupying about 40% of total logical resources
Solution Approach 1:
The patent extracts and removes the sub-key array storage unit from the encryption system. Instead of storing all 32 sub-keys in a dedicated storage unit, the system generates sub-keys on-demand during encryption operations, eliminating the need for large-scale storage resources while maintaining encryption functionality.
Solution Approach 2:
The patent performs preliminary key expansion to generate sub-keys before they are needed, but stores only the essential master key and generation algorithms. The sub-keys are computed in advance when needed, reducing the need for large storage units during actual encryption operations.
2Productivity
If multiple data conversion components are used to improve processing efficiency, then the encryption speed increases, but the resource consumption and device complexity increase
Solution Approach 1:
The patent implements a dynamic architecture where data conversion components are activated based on operational needs. The system can flexibly allocate and activate conversion components during encryption operations, allowing efficient processing without permanently deploying multiple complex components that would increase device complexity.
Solution Approach 2:
The patent designs data conversion components with multi-functional capabilities, where a single component can perform multiple encryption operations with different sub-keys. This reduces the total number of components needed while maintaining high processing efficiency through versatile, reusable modules.
Data Source
AI summary
A block cipher algorithm based encryption processing method comprises the following steps: external key registration, external data registration, key expansion, data encryption conversion, internal data registration, and data iteration processing, which solves the problems of the prior ciphering method based on block cipher algorithm, such as low ciphering efficiency and high implementation cost, and efficiently reduces the resource consumption under the premise of keeping the high efficiency of the prior art, thereby reducing the implementation cost of the device. When the number of the conversion component is 1, the resource consumption is only about 60 percent of the prior art; and when the number of the conversion component is 2, the resource consumption is only about 70 percent of the prior art. The present invention increases a sub-key registration unit, which can reduce the critical paths and increase the clock dominant frequency of the ciphering equipment during the implementation of integrated circuits, thereby improving the ciphering capacity of the inventive method.


