11 #ifndef CRYPTOPP_SM4_H 12 #define CRYPTOPP_SM4_H 24 static const std::string StaticAlgorithmName()
44 void UncheckedSetKey(
const byte *userKey,
unsigned int keyLength,
const NameValuePairs ¶ms);
54 class CRYPTOPP_NO_VTABLE
Enc :
public Base 57 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
64 class CRYPTOPP_NO_VTABLE
Dec :
public Base 67 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
76 #endif // CRYPTOPP_SM4_H Inherited by keyed algorithms with fixed key length.
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
Secure memory block with allocator and cleanup.
Library configuration file.
Provides implementation for encryption transformation.
Interface for one direction (encryption or decryption) of a block cipher.
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
Classes and functions for implementing secret key algorithms.
Classes for the SM4 block cipher.
SM4 block cipher transformation functions.
SM4 block cipher information.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Crypto++ library namespace.
Provides implementation for encryption transformation.
Interface for retrieving values given their names.