Inherited by algorithms with fixed block size.
More...
|
|
static const int | BLOCKSIZE = N |
| | The block size of the algorithm provided as a constant.
|
| |
|
static const int | DEFAULT_BLOCKSIZE = N |
| | The default blocksize for the algorithm provided as a constant.
|
| |
|
static const int | MIN_BLOCKSIZE = N |
| | The minimum blocksize for the algorithm provided as a constant.
|
| |
|
static const int | MAX_BLOCKSIZE = N |
| | The maximum blocksize for the algorithm provided as a constant.
|
| |
template<unsigned int N>
class FixedBlockSize< N >
Inherited by algorithms with fixed block size.
- Template Parameters
-
| N | the blocksize of the algorithm |
Definition at line 40 of file seckey.h.
◆ StaticGetValidBlockSize() [1/2]
template<unsigned int N>
| static size_t FixedBlockSize< N >::StaticGetValidBlockSize |
( |
size_t |
blocksize | ) |
|
|
inlinestatic |
The default block size for the algorithm provided by a static function.
- Parameters
-
| blocksize | the block size, in bytes |
The default implementation returns BLOCKSIZE. blocksize is unused in the default implementation.
Definition at line 55 of file seckey.h.
◆ StaticGetValidBlockSize() [2/2]
template<unsigned int N>
| static size_t FixedBlockSize< N >::StaticGetValidBlockSize |
( |
size_t |
keylength, |
|
|
size_t |
blocksize |
|
) |
| |
|
inlinestatic |
The default block size under a key provided by a static function.
- Parameters
-
| keylength | the size of the key, in bytes |
| blocksize | the block size, in bytes |
The default implementation returns BLOCKSIZE. blocksize is unused in the default implementation.
Definition at line 64 of file seckey.h.
The documentation for this class was generated from the following file: