Full-pipeline SMS4 encryption and decryption method and system

An encryption and decryption, pipeline technology, applied in the field of data encryption, can solve the problem of not being able to receive and process the next set of plaintext or ciphertext, increased resource consumption, low information throughput rate, etc.

Active Publication Date: 2021-02-09
SICHUAN JIUZHOU ELECTRIC GROUP
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the traditional serial processing architecture can save circuit resources, the biggest disadvantage is that the next set of plaintext or ciphertext cannot be received and processed before a set of plaintext or ciphertext is encrypted or decrypted, and the information throughput rate is low.
Analyzing the above-mentioned SMS4 algorithm, it can be seen that the FPGA realizes single-channel serial processing of SMS4 encryption and decryption transformation, and the delay clock is at least

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Full-pipeline SMS4 encryption and decryption method and system
  • Full-pipeline SMS4 encryption and decryption method and system
  • Full-pipeline SMS4 encryption and decryption method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0116] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific implementations of the present invention are now described. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the present invention, that is, the described embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0117] A full-pipeline SMS4 encryption and decryption method of the present invention adopts a full-pipeline processing architecture based on Block RAM, n rounds of key generation and n rounds of encryption and decryption in one encryption and decryption conversion process are completely serially connec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a full-pipeline SMS4 encryption and decryption method and system. The method is characterized by using full-pipeline processing architecture based on a Block RAM; connecting all operational circuits for carrying out the n key generation in a one-time encryption and decryption conversion process, and n encryption and decryption completely in series; caching multi-clock-period intermediate operation data through the Block RAM, and storing an S box lookup table and a fixed parameter lookup table, wherein the intermediate operation data comprises a ciphertext, an intermediate key, a round key and an encryption and decryption trigger; realizing plaintext and ciphertext continuous input processing through a full-pipeline processing architecture; and realizing the multi-clock period delay output of the intermediate operation data through the read-write time difference of the dual-port Block RAM. An SMS4 algorithm is realized by using the pipeline architecture, FPGA embedded Block RAM resources are fully utilized to realize multi-clock-period caching of a large amount of intermediate operation data and S-box lookup table storage in a plurality of round key generation units and encryption and decryption units, the resource consumption of configurable logic blocks is reduced to the maximum extent, and the information throughput rate is improved to the maximum extent.

Description

technical field [0001] The invention relates to the technical field of data encryption, in particular to a full-line SMS4 encryption and decryption method and system. Background technique [0002] The SMS4 algorithm is the first commercial block cipher standard officially announced in China, and it is also the block cipher algorithm recommended by China's wireless LAN security standards. The block length and key length of the algorithm are both 128 bits, and the encryption algorithm adopts 32-round unbalanced Feistel structure. SMS4 goes through 32 rounds of non-linear iterations and then adds a reverse sequence transformation. Only the decryption key is the reverse sequence of the encryption key, so that the decryption algorithm can be consistent with the encryption algorithm. [0003] The 128-bit initial plaintext is divided into four 32-bit words, expressed as (X 0 ,X 1 ,X 2 ,X 3 ), the ciphertext is divided into 4 words, expressed as (Y 0 ,Y 1 ,Y 2 ,Y 3 ). Supp...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L9/06
CPCH04L9/0618H04L2209/125H04L2209/12
Inventor 朱爱红
Owner SICHUAN JIUZHOU ELECTRIC GROUP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products