Crypto++  5.6.3
Free C++ class library of cryptographic schemes
Classes | Functions
seckey.h File Reference

Classes and functions for implementing secret key algorithms. More...

Go to the source code of this file.

Classes

class  FixedBlockSize< N >
 Inherited by block ciphers with fixed block size. More...
 
class  FixedRounds< R >
 Inherited by ciphers with fixed number of rounds. More...
 
class  VariableRounds< D, N, M >
 Inherited by ciphers with variable number of rounds. More...
 
class  FixedKeyLength< N, IV_REQ, IV_L >
 Inherited by keyed algorithms with fixed key length. More...
 
class  VariableKeyLength< D, N, M, Q, IV_REQ, IV_L >
 Inherited by keyed algorithms with variable key length. More...
 
class  SameKeyLengthAs< T, IV_REQ, IV_L >
 Provides key lengths based on another class's key length. More...
 
class  SimpleKeyingInterfaceImpl< BASE, INFO >
 Provides class member functions to access SimpleKeyingInterface constants. More...
 
class  BlockCipherImpl< INFO, BASE >
 Provides class member functions to access BlockCipher constants. More...
 
class  BlockCipherFinal< DIR, BASE >
 Provides class member functions to key a block cipher. More...
 
class  MessageAuthenticationCodeImpl< BASE, INFO >
 Provides class member functions to access MessageAuthenticationCode constants. More...
 
class  MessageAuthenticationCodeFinal< BASE >
 Provides class member functions to key a message authentication code. More...
 
class  BlockCipherDocumentation
 Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher. More...
 
class  SymmetricCipherDocumentation
 Provides Encryption and Decryption typedefs used by derived classes to implement a symmetric cipher. More...
 
class  AuthenticatedSymmetricCipherDocumentation
 Provides Encryption and Decryption typedefs used by derived classes to implement an authenticated encryption cipher. More...
 

Functions

CipherDir ReverseCipherDir (CipherDir dir)
 Inverts the cipher's direction. More...
 

Detailed Description

Classes and functions for implementing secret key algorithms.

Definition in file seckey.h.

Function Documentation

CipherDir ReverseCipherDir ( CipherDir  dir)
inline

Inverts the cipher's direction.

Parameters
dirthe cipher's direction
Returns
DECRYPTION if dir is ENCRYPTION, DECRYPTION otherwise

Definition at line 25 of file seckey.h.