Crypto++
Public Types | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
SAFER_K Class Reference

SAFER-K More...

#include <safer.h>

Inheritance diagram for SAFER_K:
SAFER_K_Info SAFER BlockCipherDocumentation FixedBlockSize< 8 > VariableKeyLength< 16, 8, 16, 8 > VariableRounds< 10, 1, 13 >

Public Types

typedef BlockCipherFinal
< ENCRYPTION, SAFER_Impl< Enc,
SAFER_K_Info, false > > 
Encryption
 
typedef BlockCipherFinal
< DECRYPTION, SAFER_Impl< Dec,
SAFER_K_Info, false > > 
Decryption
 

Static Public Member Functions

static const char * StaticAlgorithmName ()
 
static size_t StaticGetValidKeyLength (size_t n)
 
static unsigned int StaticGetDefaultRounds (size_t keylength)
 

Static Public Attributes

static const int BLOCKSIZE
 
static const int MIN_KEYLENGTH
 
static const int MAX_KEYLENGTH
 
static const int DEFAULT_KEYLENGTH
 
static const int KEYLENGTH_MULTIPLE
 
static const int IV_REQUIREMENT
 
static const int IV_LENGTH
 
static const int DEFAULT_ROUNDS
 
static const int MIN_ROUNDS
 
static const int MAX_ROUNDS
 

Protected Member Functions

void ThrowIfInvalidRounds (int rounds, const Algorithm *alg)
 
unsigned int GetRoundsAndThrowIfInvalid (const NameValuePairs &param, const Algorithm *alg)
 

Detailed Description

SAFER-K

Definition at line 57 of file safer.h.


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