Crypto++
7.0
Free C++ class library of cryptographic schemes
|
Classes for the SM4 block cipher. More...
Go to the source code of this file.
Classes | |
struct | SM4_Info |
SM4 block cipher information. More... | |
class | SM4 |
Classes for the SM4 block cipher. More... | |
class | SM4::Base |
SM4 block cipher transformation functions. More... | |
class | SM4::Enc |
Encryption transformation. More... | |
class | SM4::Dec |
Encryption transformation. More... | |
Classes for the SM4 block cipher.
SM4 is a block cipher designed by Xiaoyun Wang, et al. The block cipher is part of the Chinese State Cryptography Administration portfolio. The cipher was formely known as SMS4.
SM4 encryption is accelerated on machines with AES-NI. Decryption is not acclerated because it is not profitable. Thanks to Markku-Juhani Olavi Saarinen for help and the code.
Definition in file sm4.h.