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

16-wheel SM4-128/128 white box password implementation method

A technology of white-box cipher and implementation method, which is applied in the new mode of encryption algorithm and the field of improved SM4 white-box cipher implementation, which can solve the problems of not being able to effectively improve the security of white-box cipher algorithm, insufficient security and reliability, etc., to ensure integrity Performance and usability, small footprint, and high execution efficiency

Inactive Publication Date: 2019-09-24
BEIJING ELECTRONICS SCI & TECH INST
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Complex internal codes that can cancel each other cannot effectively improve the security of white-box cryptographic algorithms, and the introduction of random numbers in white-box attack environments is not safe and reliable enough

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
  • 16-wheel SM4-128/128 white box password implementation method
  • 16-wheel SM4-128/128 white box password implementation method
  • 16-wheel SM4-128/128 white box password implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The scheme proposed by the present invention will be described in further detail below in conjunction with the accompanying drawings, but the scope of the present invention is not limited in any way.

[0025] The scheme proposed by the present invention is improved based on the SM4 encryption algorithm. The improved SM4 cipher algorithm is still an iterative cipher algorithm, which consists of an encryption and decryption algorithm and a key expansion algorithm. The length of the plaintext and the length of the key are both 128 bits. The initial plaintext is calculated after 16 iterations and 1 reverse transformation R 128-bit ciphertext.

[0026] Step one, such as Figure II As shown, in the process of iterative operation, each round of round function produces two intermediate variables, namely

[0027]

[0028]

[0029] in, is the bit XOR symbol, X j (j=0, 1, ..., 32) are all 32-bit values, which are intermediate variables produced by iterative operations o...

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

In an unsafe environment, a cryptographic analyzer can implement attacks on an algorithm and a secret key by tracking a binary system operated by a program, reading the secret key in a memory and a program execution intermediate result, carrying out static analysis and the like, and a white-box cryptographic algorithm can protect the secret key in the unsafe environment. The invention discloses a 16-round SM4-128 / 128 white box password implementation method, which describes a new mode of improving an SM4 password algorithm when the encryption round number is 16, and the mode improves the structure of a round function, namely the iterative process of the encryption algorithm. An improved SM4 white-box cryptographic algorithm is provided, and the whole encryption and decryption process can be converted into a form of calculating randomly selected affine transformation and lookup tables. The principle is that the internal state of a coding hiding algorithm is input and output scrambled, the secret key is embedded into a lookup table in a coding mode, and meanwhile, a block matrix is used for reducing the scale of the lookup table.

Description

technical field [0001] The invention belongs to the technical field of information security, and in particular relates to an improved SM4 white-box cipher realization method. The invention also relates to a new mode of the encryption algorithm with 128 bits or even a larger value for plaintext grouping when the number of rounds of SM4 algorithm encryption is 16. Background technique [0002] At present, it is generally believed that the public cryptographic algorithm can provide the corresponding security guarantee under the condition that the key is kept secret, but the operating environment of the cryptographic algorithm is not necessarily safe enough. In an insecure environment, cryptanalysts can attack algorithms and keys by tracking the running binary of the program, reading the key in memory and the intermediate result of program execution, and static analysis. This attack environment is called a white-box attack environment, which assumes that the attacker has comple...

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 BEIJING ELECTRONICS SCI & TECH 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