Security Scol plugin
Public Types | List of all members
SAFER_SK Class Reference

SAFER-SK block cipher. More...

#include <safer.h>

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

Public Types

typedef BlockCipherFinal< ENCRYPTION, SAFER_Impl< Enc, SAFER_SK_Info, true > > Encryption
 
typedef BlockCipherFinal< DECRYPTION, SAFER_Impl< Dec, SAFER_SK_Info, true > > Decryption
 
- Public Types inherited from BlockCipherDocumentation
typedef BlockCipher Encryption
 implements the BlockCipher interface
 
typedef BlockCipher Decryption
 implements the BlockCipher interface
 

Additional Inherited Members

- Public Member Functions inherited from SAFER_SK_Info
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName ()
 
- Public Member Functions inherited from FixedBlockSize< 8 >
 CRYPTOPP_CONSTANT (BLOCKSIZE=N)
 The block size of the algorithm provided as a constant.
 
- Public Member Functions inherited from VariableKeyLength< 16, 8, 16, 8 >
 CRYPTOPP_CONSTANT (MIN_KEYLENGTH=N)
 The minimum key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MAX_KEYLENGTH=M)
 The maximum key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=D)
 The default key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (KEYLENGTH_MULTIPLE=Q)
 The key length multiple used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (IV_REQUIREMENT=SimpleKeyingInterface::NOT_RESYNCHRONIZABLE)
 The default IV requirements for the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (IV_LENGTH=0)
 The default initialization vector length for the algorithm provided as a constant.
 
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API StaticGetValidKeyLength (size_t keylength)
 Provides a valid key length for the algorithm provided by a static function.
 
- Public Member Functions inherited from VariableRounds< 10, 1, 13 >
 CRYPTOPP_CONSTANT (DEFAULT_ROUNDS=D)
 The default number of rounds for the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MIN_ROUNDS=N)
 The minimum number of rounds for the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MAX_ROUNDS=M)
 The maximum number of rounds for the algorithm provided as a constant.
 
CRYPTOPP_STATIC_CONSTEXPR unsigned int StaticGetDefaultRounds (size_t keylength)
 The default number of rounds for the algorithm based on key length provided by a static function.
 
- Protected Member Functions inherited from VariableRounds< 10, 1, 13 >
void ThrowIfInvalidRounds (int rounds, const Algorithm *alg)
 Validates the number of rounds for an algorithm.
 
unsigned int GetRoundsAndThrowIfInvalid (const NameValuePairs &param, const Algorithm *alg)
 Validates the number of rounds for an algorithm.
 

Detailed Description

SAFER-SK block cipher.

See also
SAFER-SK

Definition at line 83 of file safer.h.

Member Typedef Documentation

◆ Decryption

Definition at line 87 of file safer.h.

◆ Encryption

Definition at line 86 of file safer.h.


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