Research on the Rapid Realization of SM4 in CBC Mode
摘要
The GSMA RSP standard defines a number of security mechanisms including secure communication assurance, data encryption and identity authentication. Profile encryption technology is the core algorithm of the RSP standard to ensure data confidentiality, and the symmetric encryption algorithm AES is used to encrypt data to ensure data confidentiality. The SM4 algorithm is a symmetric cryptographic technique developed by the Chinese National Cryptographic Administration and standardized as part of the State Encryption Standard in China. SM4 is widely adopted in various applications, including wireless communication systems and secure data transmissions. In this paper, a fast implementation method of SM4 in CBC mode is proposed to replace the RSP standard AES algorithm. We calculate the possible parallelization operations in CBC mode using the operational relationship between the SM4 algorithm round functions, and ensure the correctness of SM4 CBC encryption through a feedback compensation method. Which can effectively ensure the confidentiality of the SM2 eSIM platform.