Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

XMACC< T > Class Template Reference

#include <xormac.h>

Inheritance diagram for XMACC< T >:

ClonableImpl< XMACC< T >, MessageAuthenticationCodeImpl< XMACC_Base< T > > > MessageAuthenticationCodeImpl< XMACC_Base< T > > AlgorithmImpl< SimpleKeyingInterfaceImpl< XMACC_Base< T >, XMACC_Base< T > >, XMACC_Base< T > > SimpleKeyingInterfaceImpl< XMACC_Base< T >, XMACC_Base< T > > List of all members.

Detailed Description

template<class T>
class XMACC< T >

XMAC

If you need to generate MACs with XMACC (instead of just verifying them), you must save the counter before destroying an XMACC object and reinitialize it the next time you create an XMACC with the same key. Start counter at 0 when using a key for the first time.

Definition at line 65 of file xormac.h.

Public Types

enum  

Public Member Functions

 XMACC (const byte *key, word32 counter=0xffffffff)
ClonableClone () const
void SetKey (const byte *key, unsigned int length, const NameValuePairs &params=g_nullNameValuePairs)
std::string AlgorithmName () const
unsigned int MinKeyLength () const
unsigned int MaxKeyLength () const
unsigned int DefaultKeyLength () const
unsigned int GetValidKeyLength (unsigned int n) const
XMACC_Base< T >::IV_Requirement IVRequirement () const

Static Public Member Functions

std::string StaticAlgorithmName ()

Protected Member Functions

void AssertValidKeyLength (unsigned int length)


The documentation for this class was generated from the following file:
Generated on Fri Aug 27 14:05:44 2004 for Crypto++ by doxygen 1.3.8