Botan 3.6.1
Crypto and TLS for C&
|
#include <sym_algo.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 |
Key_Length_Specification | multiple (size_t n) const |
bool | valid_keylength (size_t length) const |
Represents the length requirements on an algorithm key
Definition at line 21 of file sym_algo.h.
|
inlineexplicit |
Constructor for fixed length keys
keylen | the supported key length |
Definition at line 27 of file sym_algo.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 35 of file sym_algo.h.
|
inline |
Definition at line 59 of file sym_algo.h.
|
inline |
Definition at line 54 of file sym_algo.h.
|
inline |
Definition at line 49 of file sym_algo.h.
|
inline |
Definition at line 66 of file sym_algo.h.
Referenced by Botan::XTS_Mode::key_spec().
|
inline |
length | is a key length in bytes |
Definition at line 42 of file sym_algo.h.