Security Scol plugin
|
Decryption transformation. More...
#include <sm4.h>
Protected Member Functions | |
void | ProcessAndXorBlock (const byte *inBlock, const byte *xorBlock, byte *outBlock) const |
Protected Member Functions inherited from SM4::Base | |
void | UncheckedSetKey (const byte *userKey, unsigned int keyLength, const NameValuePairs ¶ms) |
Additional Inherited Members | |
Public Member Functions inherited from BlockCipherImpl< SM4_Info > | |
unsigned int | BlockSize () const |
Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO > | |
std::string | AlgorithmName () const |
The algorithm name. | |
Static Public Member Functions inherited from AlgorithmImpl< BASE, ALGORITHM_INFO > | |
static std::string CRYPTOPP_API | StaticAlgorithmName () |
The algorithm name. | |
Protected Attributes inherited from SM4::Base | |
SecBlock< word32, AllocatorWithCleanup< word32 > > | m_rkeys |
SecBlock< word32, AllocatorWithCleanup< word32 > > | m_wspace |
Decryption transformation.
Dec provides implementation for decryption transformation. All key sizes are supported.
SM4 encryption is accelerated on machines with AES-NI. Decryption is not accelerated because it is not profitable. Thanks to Markku-Juhani Olavi Saarinen.