#include <safer.h>
Public Types | |
typedef BlockCipherFinal < ENCRYPTION, SAFER_Impl< Enc, SAFER_SK_Info, true > > | Encryption |
implements the BlockCipher interface | |
typedef BlockCipherFinal < DECRYPTION, SAFER_Impl< Dec, SAFER_SK_Info, true > > | Decryption |
implements the BlockCipher interface | |
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 ¶m, const Algorithm *alg) |
Definition at line 71 of file safer.h.