High-performance and small-area XTS-SM4 encryption circuit

A technology of XTS-SM4 and encryption circuit, which is applied in the field of high-performance and small-area XTS-SM4 encryption circuit, can solve the problem of ignoring area overhead, reduce cost and area overhead, meet the requirements of real-time data processing, and improve information efficiency. Effects on Sex and Reliability

Active Publication Date: 2019-01-04
NANJING NANJI INTELLIGENT AGRI MASCH TECH RES INST CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The SM4 algorithm is an encryption standard independently defined by my country. The current high-performance design scheme for this algorithm ignores the area

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
  • High-performance and small-area XTS-SM4 encryption circuit
  • High-performance and small-area XTS-SM4 encryption circuit
  • High-performance and small-area XTS-SM4 encryption circuit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be further described below in conjunction with the accompanying drawings.

[0034] like figure 2 As shown, the XTS encryption mode process is:

[0035] The adjustment value i and the adjustment value key Key2 are encrypted by SM4, and then combined with GF(2 128 ) in the field corresponding to the original element α of the polynomial x j Modular multiplication, j is the position of the data block to be encrypted in the entire data unit of the file to be encrypted. The result of the modular multiplication is XORed with the plaintext P to obtain the output data PP, and the data PP and the key Key1 are encrypted by SM4 to obtain the output data CC. The data CC is XORed with the modular multiplication result again, and finally the ciphertext C is obtained.

[0036] In the XTS encryption mode, the SM4 encryption algorithm module is mainly responsible for encrypting the adjustment value and plaintext data. Because in the XTS encryption mode, the...

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 provides a high-performance and small-area XTS-SM4 encryption circuit, which can realize a XTS encryption mode and an SM4 encryption function. An XTS encryption mode circuit is composedof a two-out-of-four selector, a one-out-of-two distributor, a register and a modular multiplication unit. A pipelined SM4 encryption circuit is composed of 32 round transformation units. The XTS encryption mode circuit multiplexes SM4 IP to reduce the area overhead of the encryption circuit. The pipelined SM4 encryption circuit adopts a three-stage sub-pipeline structure to further improve the encryption speed of the circuit. Through the combination of the XTS encryption mode circuit and the pipelined SM4 encryption circuit, the circuit area is reduced while the data throughput is guaranteed.

Description

technical field [0001] The invention relates to the technical field of encryption circuit realization, in particular to a high-performance and small-area XTS-SM4 encryption circuit. Background technique [0002] The SM4 encryption algorithm is a cryptographic algorithm independently designed by my country. It has the advantages of simple structure and easy implementation. It is currently mainly used for network and storage data encryption. Both the plaintext and the key length of the algorithm are 128 bits, and it mainly includes four modules: round transformation, key expansion, linear transformation and reverse transformation. The SM4 encryption process is as follows: split the input plaintext P according to 32 bits, and divide it into four data blocks, denoted as (P3, P2, P1, P0), which are used as the input of the first round of transformation. Perform key addition, byte replacement, and linear transformation operations on the input in sequence, and the obtained result ...

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/12
Inventor 周芳吴宁张金宝葛芬朱圆
Owner NANJING NANJI INTELLIGENT AGRI MASCH TECH RES INST 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