Security Scol plugin
Protected Member Functions | Protected Attributes | List of all members
SM4::Base Class Reference

SM4 block cipher transformation functions. More...

#include <sm4.h>

Inheritance diagram for SM4::Base:
BlockCipherImpl< SM4_Info > AlgorithmImpl< BASE, ALGORITHM_INFO > SM4::Dec SM4::Enc

Protected Member Functions

void UncheckedSetKey (const byte *userKey, unsigned int keyLength, const NameValuePairs &params)
 

Protected Attributes

SecBlock< word32, AllocatorWithCleanup< word32 > > m_rkeys
 
SecBlock< word32, AllocatorWithCleanup< word32 > > m_wspace
 

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.
 

Detailed Description

SM4 block cipher transformation functions.

Provides implementation common to encryption and decryption

Since
Crypto++ 6.0

Definition at line 50 of file sm4.h.

Member Function Documentation

◆ UncheckedSetKey()

void SM4::Base::UncheckedSetKey ( const byte userKey,
unsigned int  keyLength,
const NameValuePairs params 
)
protected

Definition at line 113 of file sm4.cpp.

Member Data Documentation

◆ m_rkeys

SecBlock<word32, AllocatorWithCleanup<word32> > SM4::Base::m_rkeys
protected

Definition at line 55 of file sm4.h.

◆ m_wspace

SecBlock<word32, AllocatorWithCleanup<word32> > SM4::Base::m_wspace
mutableprotected

Definition at line 56 of file sm4.h.


The documentation for this class was generated from the following files: