Botan
1.10.9
|
#include <key_spec.h>
Public Member Functions | |
Key_Length_Specification (size_t keylen) | |
Key_Length_Specification (size_t min_k, size_t max_k, size_t k_mod=1) | |
size_t | keylength_multiple () const |
size_t | maximum_keylength () const |
size_t | minimum_keylength () const |
bool | valid_keylength (size_t length) const |
Represents the length requirements on an algorithm key
Definition at line 18 of file key_spec.h.
|
inline |
Constructor for fixed length keys
keylen | the supported key length |
Definition at line 25 of file key_spec.h.
|
inline |
Constructor for variable length keys
min_k | the smallest supported key length |
max_k | the largest supported key length |
k_mod | the number of bytes the key must be a multiple of |
Definition at line 38 of file key_spec.h.
|
inline |
Definition at line 77 of file key_spec.h.
Referenced by Botan::keylength_multiple_of().
|
inline |
Definition at line 69 of file key_spec.h.
Referenced by Botan::max_keylength_of().
|
inline |
Definition at line 61 of file key_spec.h.
Referenced by Botan::min_keylength_of().
|
inline |
length | is a key length in bytes |
Definition at line 51 of file key_spec.h.