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

TEA block cipher. More...

#include <tea.h>

Inheritance diagram for TEA:
TEA_Info BlockCipherDocumentation FixedBlockSize< 8 > FixedKeyLength< 16 > VariableRounds< 32 >

Public Types

typedef BlockCipherFinal< ENCRYPTION, Enc > Encryption
 
typedef BlockCipherFinal< DECRYPTION, Dec > 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 TEA_Info
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName ()
 The algorithm name.
 
- 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 FixedKeyLength< 16 >
 CRYPTOPP_CONSTANT (KEYLENGTH=N)
 The default key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MIN_KEYLENGTH=N)
 The minimum key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MAX_KEYLENGTH=N)
 The maximum key length used by the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=N)
 The default key length 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 IV length used by the algorithm provided as a constant.
 
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API StaticGetValidKeyLength (size_t keylength)
 The default key length for the algorithm provided by a static function.
 
- Public Member Functions inherited from VariableRounds< 32 >
 CRYPTOPP_CONSTANT (DEFAULT_ROUNDS=D)
 The default number of rounds for the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MIN_ROUNDS=1)
 The minimum number of rounds for the algorithm provided as a constant.
 
 CRYPTOPP_CONSTANT (MAX_ROUNDS=INT_MAX)
 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< 32 >
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

TEA block cipher.

See also
TEA

Definition at line 27 of file tea.h.

Member Typedef Documentation

◆ Decryption

Definition at line 56 of file tea.h.

◆ Encryption

Definition at line 55 of file tea.h.


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