Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Low-entropy mask disclosure protection method for protecting SM4 cipher chip, and system implementing method

A cryptographic chip and leak protection technology, applied in the field of information security, can solve the problems affecting the operation efficiency of the SM4 cryptographic chip and the high implementation cost of the common mask method

Active Publication Date: 2017-10-03
CHINA ELECTRIC POWER RES INST +2
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the implementation cost of the common masking method is high, which seriously affects the operating efficiency of the SM4 cryptographic chip

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
  • Low-entropy mask disclosure protection method for protecting SM4 cipher chip, and system implementing method
  • Low-entropy mask disclosure protection method for protecting SM4 cipher chip, and system implementing method
  • Low-entropy mask disclosure protection method for protecting SM4 cipher chip, and system implementing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The technical content of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0035] The method process of the present invention is as figure 1 As shown, first select a mask with a length of 16 bytes, divide the mask into four groups, and each group of masks is four bytes, that is, 32 bits; then pre-calculate the S box to obtain 16 new S box, denoted as S new , storing the 16 S new ; The pre-computation method is: use the elements in each group of masks as the input of the S box, where the input mask of the S box is M i middle element M ij , then the S-box output mask is M i+1 middle element M (i+1)j , the values ​​of i and j are both 0 to 3, when the value of i+1 is 4, let i+1 be 0; then the round function uses the four sets of masks in step 1) to update the mask of the data to be protected; Among them, in each round of encryption, the use order of the four groups of masks is first determined; then the m...

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 low-entropy mask disclosure protection method for protecting an SM4 cipher chip, and a system implementing the method. The method comprises the following step: 1) a mask with a length of 16 bytes is selected and divided into four groups, each of which comprises four bytes, and each group of the mask Mi is divided into a quaternion (Mi0, Mi1, Mi2, and Mi3); 2) pre-calculation is carried out on an S box to obtain 16 novel S boxes, the 16 novel S boxes are recorded as Snews, and the 16 Snews are stored; 3) a round function carries out mask updating on data to be protected through the four groups of the masks obtained in Step 1), the masks are selected according to a determined order, and the mask updating is carried out on the data to be protected according to the Snew corresponding to the currently used mask; and 4) after the last round of the mask updating is completed, the mask used for the last round of the mask updating is removed from data obtained through the last round of the mask updating, so that an encrypted ciphertext value is obtained. The method and the system provided by the invention have the advantage that the physical safety of the SM4 cipher chip in an actual application scenario is ensured.

Description

technical field [0001] The invention relates to a leakage protection method for protecting an SM4 cryptographic chip and an implementation system thereof. The method can be used to protect the security of a typical SM4 cryptographic chip, so that it can effectively resist security threats brought by side channel cryptographic analysis. The advantage of the proposed method is to protect the security of the SM4 cryptographic chip without significantly increasing the implementation overhead of the SM4 cryptographic chip. In fact, effective control of mask overhead can be achieved by reducing mask information entropy. The invention belongs to the technical field of information security. Background technique [0002] As a typical encryption chip leakage protection method, masking eliminates the statistical dependence between the sensitive intermediate value and the energy leakage information of the encryption chip by using random numbers to randomize the sensitive intermediate v...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/06G06F21/60
CPCG06F21/602H04L9/0618H04L9/0631
Inventor 梁晓兵吕英杰翟峰赵兵李保丰付义伦刘鹰岑炜曹永峰许斌孔令达王玮黄吉涛
Owner CHINA ELECTRIC POWER RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products