PanamaCipherPolicy< B > Class Template Reference
_
More...
List of all members.
Public Types |
typedef word32 | WordType |
Public Member Functions |
unsigned int | GetBytesPerIteration () const |
unsigned int | GetIterationsToBuffer () const |
bool | CanOperateKeystream () const |
virtual unsigned int | GetOptimalBlockSize () const |
virtual void | WriteKeystream (byte *keystream, size_t iterationCount) |
virtual void | SeekToIteration (lword iterationCount) |
Static Public Member Functions |
static const char * | StaticAlgorithmName () |
static size_t | StaticGetValidKeyLength (size_t keylength) |
| The default key length for the cipher provided by a static function.
|
Static Public Attributes |
static const int | BYTES_PER_ITERATION |
static const int | KEYLENGTH |
| The default key length used by the cipher provided as a constant.
|
static const int | MIN_KEYLENGTH |
| The minimum key length used by the cipher provided as a constant.
|
static const int | MAX_KEYLENGTH |
| The maximum key length used by the cipher provided as a constant.
|
static const int | DEFAULT_KEYLENGTH |
| The default key length used by the cipher provided as a constant.
|
static const int | IV_REQUIREMENT |
| The default IV requirements for the cipher provided as a constant.
|
static const int | IV_LENGTH |
| The default IV length used by the cipher provided as a constant.
|
Private Member Functions |
void | Reset () |
void | Iterate (size_t count, const word32 *p=NULL, byte *output=NULL, const byte *input=NULL, KeystreamOperation operation=WRITE_KEYSTREAM) |
Detailed Description
template<class B>
class PanamaCipherPolicy< B >
_
Definition at line 130 of file panama.h.
Member Function Documentation
static size_t FixedKeyLength< N, IV_REQ, IV_L >::StaticGetValidKeyLength |
( |
size_t |
keylength |
) |
[inline, static, inherited] |
The default key length for the cipher provided by a static function.
- Parameters:
-
| keylength | the size of the key, in bytes |
The default implementation returns KEYLENGTH. keylength is unused in the default implementation.
Definition at line 139 of file seckey.h.
Member Data Documentation
The default key length used by the cipher provided as a constant.
KEYLENGTH is provided in bytes, not bits
Definition at line 118 of file seckey.h.
The minimum key length used by the cipher provided as a constant.
MIN_KEYLENGTH is provided in bytes, not bits
Definition at line 121 of file seckey.h.
The maximum key length used by the cipher provided as a constant.
MAX_KEYLENGTH is provided in bytes, not bits
Definition at line 124 of file seckey.h.
The default key length used by the cipher provided as a constant.
DEFAULT_KEYLENGTH is provided in bytes, not bits
Definition at line 127 of file seckey.h.
The default IV requirements for the cipher provided as a constant.
The default value is NOT_RESYNCHRONIZABLE. See IV_Requirement in cryptlib.h for allowed values.
Definition at line 131 of file seckey.h.
The default IV length used by the cipher provided as a constant.
IV_LENGTH is provided in bytes, not bits. The default implementation uses 0.
Definition at line 134 of file seckey.h.
The documentation for this class was generated from the following files: