Extensible pipelined circuit aiming at SM4 cryptographic algorithm and implementation method thereof

A cryptographic algorithm and pipeline technology, which is applied in the field of scalable pipeline circuits and its realization, can solve problems such as low throughput rate, not allowing new data to be loaded, and large area overhead

Active Publication Date: 2016-05-11
NANJING QINHENG MICROELECTRONICS CO LTD
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing hardware circuit structure mostly uses a loop to achieve 32 iterations, that is, a set of 128-bit data is not allowed to load new data before 32 iterations are

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
  • Extensible pipelined circuit aiming at SM4 cryptographic algorithm and implementation method thereof
  • Extensible pipelined circuit aiming at SM4 cryptographic algorithm and implementation method thereof
  • Extensible pipelined circuit aiming at SM4 cryptographic algorithm and implementation method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0019] The present invention provides a kind of extensible pipeline circuit aimed at SM4 cryptographic algorithm, such as figure 1 As shown, it specifically includes: an input data buffer module S101, a data distribution and enable signal generation module S102, a control state machine S103, an SM4 algorithm core array S104, and an output data buffer S105. Among them, the input data buffer module S101 splices the continuously input N (N is equal to 8, 16, 32, 64) bit data into 128-bit data after 128 / N cycles; the data distribution and enable signal generation module S102 will input The 128-bit data output by the buffer is allocated to each SM4 algorithm core in turn, and provides an enable signal for each SM4 algorithm co...

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 an extensible pipelined circuit aiming at an SM4 cryptographic algorithm and an implementation method thereof. According to the invention, an encryption and decryption iterative operation and a key extending algorithm are implemented through an SM4 algorithm core array, the SM4 algorithm core array comprises N/4 SM4 algorithm cores, each SM4 algorithm core performs loop iteration 32 times to finish encryption/decryption of 128 bits of data, the N/4 SM4 algorithm cores perform parallel execution, the number of the SM4 algorithm cores is regulated according to I/O bit width, and given that the I/O bit width is N, so the number of the algorithm cores in the structure is N/4. According to the invention, encryption/decryption of the SM4 algorithm can be executed in a pipelined form, and a circuit structure can be regulated according to I/O interfaces with different bit widths.

Description

Technical field: [0001] The invention relates to the fields of information security technology and integrated circuit design, in particular to an extensible pipeline circuit for SM4 encryption algorithm and its realization method. Background technique: [0002] The SM4 algorithm, the original SMS4 algorithm, is a block symmetric cipher algorithm for wireless LAN products announced by the State Commercial Encryption Administration Office in January 2006, and was approved as an industry standard by the State Encryption Administration in March 2012. [0003] The SM4 algorithm is a block cipher algorithm, and its block length and key length are both 128 bits. In the SM4 algorithm standard, the algorithm is divided into three parts: encryption algorithm, decryption algorithm and key expansion algorithm. The encryption algorithm consists of 32 iterative operations and 1 reverse sequence transformation. Each iterative operation needs to load a set of round keys into the round func...

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/0618H04L9/0631
Inventor 陈锐
Owner NANJING QINHENG MICROELECTRONICS CO LTD
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