Crypto++ 8.7
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
CipherModeFinalTemplate_ExternalCipher< BASE > Class Template Reference

#include <modes.h>

+ Inheritance diagram for CipherModeFinalTemplate_ExternalCipher< BASE >:

Public Member Functions

 CipherModeFinalTemplate_ExternalCipher ()
 Construct a default CipherModeFinalTemplate. More...
 
 CipherModeFinalTemplate_ExternalCipher (BlockCipher &cipher)
 Construct a CipherModeFinalTemplate. More...
 
 CipherModeFinalTemplate_ExternalCipher (BlockCipher &cipher, const byte *iv, int feedbackSize=0)
 Construct a CipherModeFinalTemplate. More...
 
std::string AlgorithmName () const
 Provides the name of this algorithm. More...
 
std::string AlgorithmProvider () const
 

Detailed Description

template<class BASE>
class CipherModeFinalTemplate_ExternalCipher< BASE >
Template Parameters
BASECipherModeFinalTemplate_CipherHolder base class

Base class for external mode cipher combinations

Definition at line 409 of file modes.h.

Constructor & Destructor Documentation

◆ CipherModeFinalTemplate_ExternalCipher() [1/3]

Construct a default CipherModeFinalTemplate.

The cipher is not keyed.

Definition at line 414 of file modes.h.

◆ CipherModeFinalTemplate_ExternalCipher() [2/3]

Construct a CipherModeFinalTemplate.

Parameters
cipherAn external block cipher

The cipher should be keyed.

Definition at line 419 of file modes.h.

◆ CipherModeFinalTemplate_ExternalCipher() [3/3]

template<class BASE >
CipherModeFinalTemplate_ExternalCipher< BASE >::CipherModeFinalTemplate_ExternalCipher ( BlockCipher cipher,
const byte iv,
int  feedbackSize = 0 
)
inline

Construct a CipherModeFinalTemplate.

Parameters
cipherAn external block cipher
iva byte array used to resynchronize the cipher
feedbackSizethe feedback size, in bytes

The cipher should be keyed.

Definition at line 427 of file modes.h.

Member Function Documentation

◆ AlgorithmName()

template<class BASE >
std::string CipherModeFinalTemplate_ExternalCipher< BASE >::AlgorithmName ( ) const
inline

Provides the name of this algorithm.

Returns
the standard algorithm name

The standard algorithm name can be a name like AES or AES/GCM. Some algorithms do not have standard names yet. For example, there is no standard algorithm name for Shoup's ECIES.

Note
AlgorithmName is not universally implemented yet

Definition at line 436 of file modes.h.

◆ AlgorithmProvider()

template<class BASE >
std::string CipherModeFinalTemplate_ExternalCipher< BASE >::AlgorithmProvider ( ) const
inline

Definition at line 440 of file modes.h.


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