Codeofchina.com is in charge of this English translation. In case of any doubt about the English translation, the Chinese original shall be considered authoritative.
This standard is developed in accordance with the rules given in GB/T 1.1-2009.
Attention is drawn to the possibility that some of the elements of this standard may be the subject of patent rights, the issuing body of this document shall not be held responsible for identifying any or all such patent rights.
This standard was proposed by Cryptography Administration of the People’s Republic of China.
This part is under the jurisdiction of SAC/TC 260 National Technical Committee on Information Technology Security of Standardization Administration of China.
Information Security Technology - SM4 Block Cipher Algorithm
1 Scope
This standard specifies algorithm structure and algorithm description of SM4 block cipher algorithm and corresponding arithmetic example.
This standard is applicable to realization, test and application of block cipher algorithm in commercial encryption products.
2 Terms and Definitions
For the purposes of this document, the following terms and definitions apply.
2.1
block length
the number of bits of a message block
2.2
key length
the number of bits of key
2.3
key expansion algorithm
arithmetic unit transforming key into round key
2.4
rounds
number of iterations of round function
2.5
round key
also known as subkey which is derived according to key schedule algorithm used for key input from key used for each round in iterative block cipher
2.6
word
set (string) with length of 32-bit
2.7
S-box
fixed replacement with 8-bit input and 8-bit output which is recorded as Sbox (.)
3 Symbols and Abbreviations
For the purposes of this document, the following symbols and abbreviations apply:
○+ 32-bit XOR
<<
Contents of GB/T 32907-2016
Foreword i
1 Scope
2 Terms and Definitions
3 Symbols and Abbreviations
4 Algorithm Structure
5 Key and Key Parameter
6 Round Function F
7 Algorithm Description
Annex A (Informative) Arithmetic Example