Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SameKeyLengthAs Class Template Reference

support query of key length that's the same as another class. More...

#include <misc.h>

Inheritance diagram for SameKeyLengthAs:

CBC_MAC DMAC List of all members.

Public Types

enum  { MIN_KEYLENGTH = T::MIN_KEYLENGTH, MAX_KEYLENGTH = T::MAX_KEYLENGTH, DEFAULT_KEYLENGTH = T::DEFAULT_KEYLENGTH }

Static Public Methods

unsigned int KeyLength (unsigned int keylength)
 returns the smallest valid key length in bytes that is >= min(n, MAX_KEYLENGTH). More...


Detailed Description

template<class T> class SameKeyLengthAs

support query of key length that's the same as another class.

Definition at line 501 of file misc.h.


Member Enumeration Documentation

template<class T>
anonymous enum
 

Definition at line 504 of file misc.h.


Member Function Documentation

template<class T>
unsigned int SameKeyLengthAs<T>::KeyLength ( unsigned int keylength ) [inline, static]
 

returns the smallest valid key length in bytes that is >= min(n, MAX_KEYLENGTH).

Definition at line 506 of file misc.h.


The documentation for this class was generated from the following file:
Generated at Mon Jan 15 01:17:05 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000