nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode > Class Template Reference

NIST SP 800-108 KDF. More...

#include <sp800_108.hpp>

+ Collaboration diagram for nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >:

Public Types

typedef policy_type::mac_type mac_type
 
typedef policy_type::mode_type mode_type
 
typedef mode_type::secret_type secret_type
 

Public Member Functions

void process ()
 
 sp800_108 (const secret_type &key)
 

Static Public Attributes

constexpr static const std::size_t secret_bits = mode_type::secret_bits
 

Protected Attributes

mode_type mode
 

Detailed Description

template<typename MessageAuthenticationCode, template< typename > class Mode>
class nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >

NIST SP 800-108 KDF.

Template Parameters
ModeMode intended to be used
MessageAuthenticationCode

Member Typedef Documentation

◆ mac_type

template<typename MessageAuthenticationCode , template< typename > class Mode>
typedef policy_type::mac_type nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >::mac_type

◆ mode_type

template<typename MessageAuthenticationCode , template< typename > class Mode>
typedef policy_type::mode_type nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >::mode_type

◆ secret_type

template<typename MessageAuthenticationCode , template< typename > class Mode>
typedef mode_type::secret_type nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >::secret_type

Constructor & Destructor Documentation

◆ sp800_108()

template<typename MessageAuthenticationCode , template< typename > class Mode>
nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >::sp800_108 ( const secret_type key)
inline

Member Function Documentation

◆ process()

template<typename MessageAuthenticationCode , template< typename > class Mode>
void nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >::process ( )
inline

Member Data Documentation

◆ mode

template<typename MessageAuthenticationCode , template< typename > class Mode>
mode_type nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >::mode
protected

◆ secret_bits

template<typename MessageAuthenticationCode , template< typename > class Mode>
constexpr static const std::size_t nil::crypto3::kdf::sp800_108< MessageAuthenticationCode, Mode >::secret_bits = mode_type::secret_bits
staticconstexpr

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