nil::crypto3::kdf::detail::kdf2_policy< Hash > Struct Template Reference

#include <kdf2_policy.hpp>

+ Inheritance diagram for nil::crypto3::kdf::detail::kdf2_policy< Hash >:
+ Collaboration diagram for nil::crypto3::kdf::detail::kdf2_policy< Hash >:

Public Types

typedef Hash hash_type
 
typedef boost::container::small_vector< std::uint8_t, salt_sizelabel_type
 
typedef boost::container::small_vector< std::uint8_t, salt_sizesalt_type
 
typedef boost::container::small_vector< std::uint8_t, secret_sizesecret_type
 

Static Public Attributes

constexpr static const std::size_t label_bits = CHAR_BIT
 
constexpr static const std::size_t label_size = CHAR_BIT / CHAR_BIT
 
constexpr static const std::size_t salt_bits = CHAR_BIT
 
constexpr static const std::size_t salt_size = CHAR_BIT / CHAR_BIT
 
constexpr static const std::size_t secret_bits = CHAR_BIT
 
constexpr static const std::size_t secret_size = CHAR_BIT / CHAR_BIT
 

Member Typedef Documentation

◆ hash_type

template<typename Hash >
typedef Hash nil::crypto3::kdf::detail::kdf2_policy< Hash >::hash_type

◆ label_type

template<typename Hash >
typedef boost::container::small_vector<std::uint8_t, salt_size> nil::crypto3::kdf::detail::kdf2_policy< Hash >::label_type

◆ salt_type

template<typename Hash >
typedef boost::container::small_vector<std::uint8_t, salt_size> nil::crypto3::kdf::detail::kdf2_policy< Hash >::salt_type

◆ secret_type

template<typename Hash >
typedef boost::container::small_vector<std::uint8_t, secret_size> nil::crypto3::kdf::detail::kdf2_policy< Hash >::secret_type

Member Data Documentation

◆ label_bits

template<typename Hash >
constexpr static const std::size_t nil::crypto3::kdf::detail::kdf2_policy< Hash >::label_bits = CHAR_BIT
staticconstexpr

◆ label_size

template<typename Hash >
constexpr static const std::size_t nil::crypto3::kdf::detail::kdf2_policy< Hash >::label_size = CHAR_BIT / CHAR_BIT
staticconstexpr

◆ salt_bits

template<typename Hash >
constexpr static const std::size_t nil::crypto3::kdf::detail::kdf2_policy< Hash >::salt_bits = CHAR_BIT
staticconstexpr

◆ salt_size

template<typename Hash >
constexpr static const std::size_t nil::crypto3::kdf::detail::kdf2_policy< Hash >::salt_size = CHAR_BIT / CHAR_BIT
staticconstexpr

◆ secret_bits

template<typename Hash >
constexpr static const std::size_t nil::crypto3::kdf::detail::kdf2_policy< Hash >::secret_bits = CHAR_BIT
staticconstexpr

◆ secret_size

template<typename Hash >
constexpr static const std::size_t nil::crypto3::kdf::detail::kdf2_policy< Hash >::secret_size = CHAR_BIT / CHAR_BIT
staticconstexpr

The documentation for this struct was generated from the following file: