Crypto++ 8.7
Free C++ class library of cryptographic schemes
List of all members
SAFER_Impl< BASE, INFO, STR > Class Template Reference

SAFER block cipher default implementation. More...

#include <safer.h>

+ Inheritance diagram for SAFER_Impl< BASE, INFO, STR >:

Additional Inherited Members

- Public Member Functions inherited from BlockCipherImpl< INFO, BASE >
unsigned int BlockSize () const
 Provides the block size of the algorithm. More...
 
- Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > > >
std::string AlgorithmName () const
 The algorithm name. More...
 
- Public Member Functions inherited from SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > >
size_t MinKeyLength () const
 The minimum key length used by the algorithm. More...
 
size_t MaxKeyLength () const
 The maximum key length used by the algorithm. More...
 
size_t DefaultKeyLength () const
 The default key length used by the algorithm. More...
 
size_t GetValidKeyLength (size_t keylength) const
 Provides a valid key length for the algorithm. More...
 
SimpleKeyingInterface::IV_Requirement IVRequirement () const
 The default IV requirements for the algorithm. More...
 
unsigned int IVSize () const
 The initialization vector length for the algorithm. More...
 
- Static Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > > >
static std::string StaticAlgorithmName ()
 The algorithm name. More...
 

Detailed Description

template<class BASE, class INFO, bool STR>
class SAFER_Impl< BASE, INFO, STR >

SAFER block cipher default implementation.

Template Parameters
BASESAFER::Enc or SAFER::Dec derived base class
INFOSAFER_Info derived class
STRflag indicating a strengthened implementation

SAFER-K is not strengthened; while SAFER-SK is strengthened.

Definition at line 54 of file safer.h.


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