nil::crypto3::pbkdf::detail::pbkdf2_functions< MessageAuthenticationCode > Struct Template Reference
#include <pbkdf2_functions.hpp>
Inheritance diagram for nil::crypto3::pbkdf::detail::pbkdf2_functions< MessageAuthenticationCode >:
Collaboration diagram for nil::crypto3::pbkdf::detail::pbkdf2_functions< MessageAuthenticationCode >:
Public Types | |
typedef policy_type::digest_type | digest_type |
typedef policy_type::mac_type | mac_type |
typedef pbkdf2_policy< MessageAuthenticationCode > | policy_type |
typedef policy_type::salt_type | salt_type |
Static Public Member Functions | |
static std::size_t | round_up (std::size_t n, std::size_t align_to) |
Static Public Attributes | |
constexpr static const std::size_t | digest_bits = policy_type::digest_bits |
constexpr static const std::size_t | salt_bits = policy_type::salt_bits |
constexpr static const std::size_t | salt_size = CHAR_BIT / CHAR_BIT |
Member Typedef Documentation
◆ digest_type
template<typename MessageAuthenticationCode >
typedef policy_type::digest_type nil::crypto3::pbkdf::detail::pbkdf2_functions< MessageAuthenticationCode >::digest_type |
◆ mac_type
template<typename MessageAuthenticationCode >
typedef policy_type::mac_type nil::crypto3::pbkdf::detail::pbkdf2_functions< MessageAuthenticationCode >::mac_type |
◆ policy_type
template<typename MessageAuthenticationCode >
typedef pbkdf2_policy<MessageAuthenticationCode> nil::crypto3::pbkdf::detail::pbkdf2_functions< MessageAuthenticationCode >::policy_type |
◆ salt_type
template<typename MessageAuthenticationCode >
typedef policy_type::salt_type nil::crypto3::pbkdf::detail::pbkdf2_functions< MessageAuthenticationCode >::salt_type |
Member Function Documentation
◆ round_up()
template<typename MessageAuthenticationCode >
|
inlinestatic |
Round up
- Parameters
-
n a non-negative integer align_to the alignment boundary
- Returns
- n rounded up to a multiple of align_to
Member Data Documentation
◆ digest_bits
template<typename MessageAuthenticationCode >
|
staticconstexpr |
◆ salt_bits
template<typename MessageAuthenticationCode >
|
staticconstexpr |
◆ salt_size
template<typename MessageAuthenticationCode >
|
staticconstexprinherited |
The documentation for this struct was generated from the following file: