Check patentability & draft patents in minutes with Patsnap Eureka AI!

High-performance GFN masking method for enhancing anti-attack capability

An anti-attack, high-performance technology, applied in the direction of instruments, electrical digital data processing, digital data protection, etc., can solve the problems of anti-attack ability and difficult implementation cost, so as to avoid the risk of energy leakage, flexible application, and reduce the number of registers. number effect

Pending Publication Date: 2021-06-01
SHANDONG HUAYI MICRO ELECTRONICS
View PDF14 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, most of the existing masking methods are aimed at a specific single algorithm, and it is difficult to balance the anti-attack ability and implementation cost.

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 GFN masking method for enhancing anti-attack capability
  • High-performance GFN masking method for enhancing anti-attack capability
  • High-performance GFN masking method for enhancing anti-attack capability

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0040] Taking the SM4 encryption algorithm of the generalized Feistel structure as an example, the present invention will be further described in detail in conjunction with the accompanying drawings.

[0041] The overall structure of the SM4 algorithm is GFN 4,32 .

[0042] See attached Figure 1-2 , combined with Figure 3-5 as shown,

[0043] A high-performance GFN masking method that enhances the ability to resist attacks, including:

[0044] 1) Perform a random number R on the original S box entry s1 mask, and export using the random number R s2 Perform mask processing, pre-generate mask S box, random number R s1 = R k ⊕R d , the modified mask S-box is: Sm(A,R s1 , R s2 )=S(A⊕R s1 )⊕R s2 . Where A is the original entry variable.

[0045] In the above 1), the mask S-box is as image 3 As shown, the random number R s1 , R s2 , R k , R d , all are 32bit, namely GFN 4,12 The single branch size of . R s2 , R k , R d From different independent random sour...

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 high-performance GFN masking method for enhancing the anti-attack capability, and the method achieves the comprehensive protection on an S box, key expansion and an encryption / decryption data path, wherein each item can resist second-order energy attacks, and the anti-attack capability is higher on the whole. According to the mask S box, the S box only needs to be generated once in advance, the key expansion and encryption / decryption data paths can share the S box, an additional multiplication circuit does not need to be added to calculate intermediate data, and the hardware area and the power consumption overhead can be greatly reduced. Intermediate data in round operation are protected by different random masks all the time, and the problem of energy leakage caused by real intermediate value information is avoided in the mask processing process no matter for key expansion or for encryption / decryption of a data path. According to the invention, the number of extra registers is effectively reduced, the application is more flexible, the logic control is simple, and a large amount of hardware resources can be saved and the cost is reduced on the basis of greatly enhancing the differential power consumption attack resistance and the related power consumption attack resistance.

Description

technical field [0001] The invention discloses a high-performance GFN masking method with enhanced anti-attack capability, belongs to the technical field of information security chip design, and is applicable to a generalized Feistel structure cryptographic algorithm. Background technique [0002] With the rapid development of science and technology, the degree of informatization is gradually improving, and information security is becoming more and more important. Encryption technology guarantees information security in terms of mathematical algorithms. Compared with software implementation, hardware implementation, especially integrated circuits, has a higher degree of security. [0003] With the development of IC analysis technology, the security of chips is also subject to more and more challenges. Side channel attack (SCA) poses a serious security threat to information security products because of its low cost and high efficiency. Side-channel attacks are divided into...

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): G06F21/60G06F7/58
CPCG06F21/602G06F7/588
Inventor 韩英曾为民李向宏马德营孙绍涛
Owner SHANDONG HUAYI MICRO ELECTRONICS
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More