Security Scol plugin
Protected Member Functions | 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 >:
BlockCipherImpl< INFO, BASE > AlgorithmImpl< SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > > > SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > > TwoBases< BASE, INFO >

Protected Member Functions

bool Strengthened () const
 

Additional Inherited Members

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

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.

Member Function Documentation

◆ Strengthened()

template<class BASE , class INFO , bool STR>
bool SAFER_Impl< BASE, INFO, STR >::Strengthened ( ) const
inlineprotected

Definition at line 57 of file safer.h.


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