Crypto++
8.8
Free C++ class library of cryptographic schemes

Encryption transformation. More...
Public Member Functions  
std::string  AlgorithmProvider () const 
Public Member Functions inherited from BlockCipherImpl< SM4_Info >  
unsigned int  BlockSize () const 
Provides the block size of the algorithm. More...  
Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO >  
std::string  AlgorithmName () const 
The algorithm name. More...  
Additional Inherited Members  
Static Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO >  
static std::string  StaticAlgorithmName () 
The algorithm name. More...  
Encryption transformation.
Enc provides implementation for encryption transformation. All key sizes are supported.
SM4 encryption is accelerated on machines with AESNI. Decryption is not accelerated because it is not profitable. Thanks to MarkkuJuhani Olavi Saarinen.