Security Scol plugin
|
Classes for the SM4 block cipher. More...
#include <sm4.h>
Classes | |
class | Base |
SM4 block cipher transformation functions. More... | |
class | Dec |
Decryption transformation. More... | |
class | Enc |
Encryption transformation. More... | |
Public Types | |
typedef BlockCipherFinal< ENCRYPTION, Enc > | Encryption |
typedef BlockCipherFinal< DECRYPTION, Dec > | Decryption |
![]() | |
typedef BlockCipher | Encryption |
implements the BlockCipher interface | |
typedef BlockCipher | Decryption |
implements the BlockCipher interface | |
Additional Inherited Members | |
![]() | |
CRYPTOPP_CONSTANT (BLOCKSIZE=N) | |
The block size of the algorithm provided as a constant. | |
![]() | |
CRYPTOPP_CONSTANT (KEYLENGTH=N) | |
The default key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (MIN_KEYLENGTH=N) | |
The minimum key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (MAX_KEYLENGTH=N) | |
The maximum key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=N) | |
The default key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (IV_REQUIREMENT=SimpleKeyingInterface::NOT_RESYNCHRONIZABLE) | |
The default IV requirements for the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (IV_LENGTH=0) | |
The default IV length used by the algorithm provided as a constant. | |
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API | StaticGetValidKeyLength (size_t keylength) |
The default key length for the algorithm provided by a static function. | |
![]() | |
static const std::string | StaticAlgorithmName () |
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 formerly known as SMS4.
typedef BlockCipherFinal<DECRYPTION, Dec> SM4::Decryption |
typedef BlockCipherFinal<ENCRYPTION, Enc> SM4::Encryption |