TY - GEN
T1 - Fast implementation for SM4 cipher algorithm based on bit-slice technology
AU - Zhang, Jingbin
AU - Ma, Meng
AU - Wang, Ping
N1 - Publisher Copyright:
© 2018, Springer Nature Switzerland AG.
PY - 2018
Y1 - 2018
N2 - The SM4 block cipher algorithm used in IEEE 802.11i standard is released by the China National Cryptographic Authority and is one of the most important symmetric cryptographic algorithms in China. However, whether in the round encryption or key expansion phase of the SM4 algorithm, a large number of bit operations on the registers (e.g., circular shifting) are required. These operations are not effective to encryption in scenarios with large-scale data. In traditional implementations of SM4, different operands are assigned to different words and are processed serially, which can bring redundant operations in the process of encryption and decryption. Bit-slice technology places the same bit of multiple operands into one word, which facilitates bit-level operations in parallel. Bit-slice is actually a single instruction parallel processing technology for data, hence it can be accelerated by the CPU’s multimedia instructions. In this paper, we propose a fast implementation of the SM4 algorithm using bit-slice techniques. The experiment proves that the Bit-slice based SM4 is more efficient than the original version. It increases the encryption and decryption speed of the message by an average of 80%–120%, compared with the original approach.
AB - The SM4 block cipher algorithm used in IEEE 802.11i standard is released by the China National Cryptographic Authority and is one of the most important symmetric cryptographic algorithms in China. However, whether in the round encryption or key expansion phase of the SM4 algorithm, a large number of bit operations on the registers (e.g., circular shifting) are required. These operations are not effective to encryption in scenarios with large-scale data. In traditional implementations of SM4, different operands are assigned to different words and are processed serially, which can bring redundant operations in the process of encryption and decryption. Bit-slice technology places the same bit of multiple operands into one word, which facilitates bit-level operations in parallel. Bit-slice is actually a single instruction parallel processing technology for data, hence it can be accelerated by the CPU’s multimedia instructions. In this paper, we propose a fast implementation of the SM4 algorithm using bit-slice techniques. The experiment proves that the Bit-slice based SM4 is more efficient than the original version. It increases the encryption and decryption speed of the message by an average of 80%–120%, compared with the original approach.
KW - Bit-slice technology
KW - Block cipher algorithm
KW - Efficiency
KW - SM4
KW - Substitution-Box (S-box)
UR - http://www.scopus.com/inward/record.url?scp=85058512410&partnerID=8YFLogxK
U2 - 10.1007/978-3-030-05755-8_11
DO - 10.1007/978-3-030-05755-8_11
M3 - Conference contribution
AN - SCOPUS:85058512410
SN - 9783030057541
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 104
EP - 113
BT - Smart Computing and Communication - 3rd International Conference, SmartCom 2018, Proceedings
A2 - Qiu, Meikang
PB - Springer Verlag
T2 - 3rd International Conference on Smart Computing and Communications, SmartCom 2018
Y2 - 10 December 2018 through 12 December 2018
ER -