Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Protected Attributes |
List of all members
nil::crypto3::kdf::sp800_56a< mac::hmac< Hash >, typename std::enable_if< is_mac< mac::hmac< Hash > >::value >::type > Class Template Reference
Strictly standard-compliant SP 800-56a version. More...
#include <sp800_56a.hpp>
Collaboration diagram for nil::crypto3::kdf::sp800_56a< mac::hmac< Hash >, typename std::enable_if< is_mac< mac::hmac< Hash > >::value >::type >:
Public Types | |
typedef policy_type::hash_type | hash_type |
typedef policy_type::key_type | key_type |
typedef policy_type::mac_type | mac_type |
typedef policy_type::salt_type | salt_type |
Public Member Functions | |
sp800_56a (const salt_type &salt) | |
Static Public Member Functions | |
static void | process (const key_type &key) |
Static Public Attributes | |
constexpr static const std::size_t | max_key_bits = policy_type::max_key_bits |
constexpr static const std::size_t | min_key_bits = policy_type::min_key_bits |
constexpr static const std::size_t | salt_bits = policy_type::salt_bits |
Protected Attributes | |
mac_type | mac |
Detailed Description
template<typename Hash>
class nil::crypto3::kdf::sp800_56a< mac::hmac< Hash >, typename std::enable_if< is_mac< mac::hmac< Hash > >::value >::type >
Strictly standard-compliant SP 800-56a version.
- Template Parameters
-
Hash
Member Typedef Documentation
◆ hash_type
template<typename Hash >
typedef policy_type::hash_type nil::crypto3::kdf::sp800_56a< mac::hmac< Hash >, typename std::enable_if< is_mac< mac::hmac< Hash > >::value >::type >::hash_type |
◆ key_type
template<typename Hash >
typedef policy_type::key_type nil::crypto3::kdf::sp800_56a< mac::hmac< Hash >, typename std::enable_if< is_mac< mac::hmac< Hash > >::value >::type >::key_type |
◆ mac_type
template<typename Hash >
typedef policy_type::mac_type nil::crypto3::kdf::sp800_56a< mac::hmac< Hash >, typename std::enable_if< is_mac< mac::hmac< Hash > >::value >::type >::mac_type |
◆ salt_type
template<typename Hash >
typedef policy_type::salt_type nil::crypto3::kdf::sp800_56a< mac::hmac< Hash >, typename std::enable_if< is_mac< mac::hmac< Hash > >::value >::type >::salt_type |
Constructor & Destructor Documentation
◆ sp800_56a()
template<typename Hash >
|
inline |
Member Function Documentation
◆ process()
template<typename Hash >
|
inlinestatic |
Member Data Documentation
◆ mac
template<typename Hash >
|
protected |
◆ max_key_bits
template<typename Hash >
|
staticconstexpr |
◆ min_key_bits
template<typename Hash >
|
staticconstexpr |
◆ salt_bits
template<typename Hash >
|
staticconstexpr |
The documentation for this class was generated from the following file: