GB/T 32905-2016 in English
VALIDInformation security technology SM3 cryptographic hash algorithm
- Issued on:2016-08-29
- Implemented on:2017-03-01
- File Format:PDF
- Delivery:Via email within 1~3 business days
$233.00
| Standard No: | GB/T 32905-2016 |
| Document status: | VALID |
| Title in English: | Information security technology SM3 cryptographic hash algorithm |
| Title in Chinese: | 信息安全技术 SM3密码杂凑算法 |
| Language: | English |
| File Format: | Electronic (PDF) |
| Delivery: | Via email within 1~3 business days |
| Issued on: | 2016-08-29 |
| Implemented on: | 2017-03-01 |
| ICS Classification: | 35.040-Character sets and information coding |
| Chinese Classification: | L80-Data encryption |
| Professional Classification: | GB-National Standard |
| Related Keywords: | cryptographic hash algorithm
hash algorithm information security technology sm3 hash value hash value output message digest |
| Related Topics: | password
sm3 new sm3 GB/T 32905 GBT32905 GB/T 32905-2016 Information security technology machine learning algorithm security assessment Information security technology secure electronic signature cryptography technology National standards for password complexity |
《GB/T 32905-2016信息安全技术 SM3密码杂凑算法》由TC260(全国网络安全标准化技术委员会)归口,主管部门为国家标准化管理委员会。
This standard is developed in accordance with the rules given in GB/T 1.1-2009.
This part was proposed by the State 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.
Drafting organizations of this part: Tsinghua University, State Commercial Cryptography Testing Center, Information Engineering University, DCS Center of Chinese Academy of Sciences.
Chief drafting staff of this part: Wang Xiaoyun, Li Zheng, Wang Yongchuan, Yu Hongbo, Xie Yongquan, Zhang Chao, Luo Peng, Lv Shuwang
Information security techniques - SM3 cryptographic hash algorithm
1 Scope
This standard specifies computing methods and steps of SM3 cryptographic hash algorithm and corresponding operation examples.
It is applicable to digital signature and verification, generation and verification of message authentication code and random number generation in commercial cypher application, which can meet the security requirements of various cryptography applications.
2 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
2.1
bit string
binary digit sequence composed of 0 and 1
2.2
big-endian
a representation format of data in memory, specifying the high significant bit at left and the low significant bit at right, i.e. high order byte of digit is placed at the low address of reservoir and low order byte of digit at the high address of reservoir
2.3
message
a bit string with any finite length, used as input data for the hash algorithm in this standard
2.4
hash value
output message digest (bit string) when hash algorithm works on a message
2.5
word
set (string) with length of 32-bit
3 Symbols
For the purposes of this document, the following symbol applies.
ABCDEFGH: registers of 8 words or concatenation of their values
B(i): the ith message grouping
CF: the compression function
FFj: the Boolean function, different equations are taken depending on j
GGj: the Boolean function, different equations are taken depending on j
IV: the initial value, used to determine the initial state of the compression function register
P0: the permutation function in compression function
P1: the permutation function in message extension
Tj: the constant, different values are taken depending on j
m: the message
m': the message after filling
mod: the modulo operation
n: the number of message grouping
∧: 32 bits and operation
∨: 32 bits or operation
⊕: 32 bits exclusive-or operation
¬: 32 bits non-operation
+: mod 232 addition arithmetic operation
<<
←: left assignment
4 Constant and functions
4.1 Initial value
IV=7380166f 4914b2b9 172442d7 da8a0600 a96f30bc 163138aa e38dee4d b0fb0e4e
4.2 Constant
4.3 Boolean function
Where, X, Y and Z are words.
4.4 Permutation function
P0(X)=X⊕(X<<<9)⊕(X<<<17)
P1(X)=X⊕(X<<<15)⊕(X<<<23)
Where, X is word.
5 Algorithm description
5.1 General
Input message m with length of l (l<264) bits for SM3 cryptographic hash algorithm and generate hash value after filling and iterative compression. The output length of hash value is 256 bits. See Annex A for operation example.
5.2 Filling
Assume that the length of the message m is I bit. First add the bit "1" to the end of the message, and then add k of "0"s, where k is the smallest non-negative integer that satisfies l+1+k=448 (mod 512). Then add a 64-bit bit string, which is a binary representation of length l. Bit length of message m′ after filling is multiple of 512.
Foreword i
1 Scope
2 Terms and definitions
3 Symbols
4 Constant and functions
4.1 Initial value
4.2 Constant
4.3 Boolean function
4.4 Permutation function
5 Algorithm description
5.1 General
5.2 Filling
5.3 Iterative compression
5.4 Outputting hash value
Annex A (Informative) Operation examples

Loading PDF document...
Error loading PDF. Please make sure the file is valid and try again.
We also recommend
-

GB/T 17901.1-2020 in English
Information technology—Security techniques—Key management—Part 1: Framework
2020-03-06 -

GB/T 45240-2025 in English
General requirements for device-independent quantum random number generators
2025-01-24 -

GB/T 15278-1994 in English
Information processing-Data encipherment-Physical layer interoperability requirements
1994-01-02 -

GB/Z 24294.1-2018 in English
Information security technology—Guide of implementation for internet-basede-government information security—Part 1:General
2018-03-15 -

GB/T 20009-2019 in English
Information security technology—Security evaluation criteria for database management system
2019-08-30 -

GB/T 39276-2020 in English
Information security technology—General security requirements of network products and services
2020-11-19 -

GB/T 28449-2018 in English
Information security technology-Testing and evaluation process guide for classified protection of cybersecurity
2018-12-28