nil::crypto3::kdf::mode::counter< MessageAuthenticationCode > Struct Template Reference

NIST SP 800-108 KDF Counter Mode (5.1) More...

#include <sp800_108.hpp>

+ Inheritance diagram for nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >:
+ Collaboration diagram for nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >:

Public Types

typedef sp800_108_mode< MessageAuthenticationCode >::mac_type mac_type
 
typedef mac_type::key_type secret_type
 

Public Member Functions

 counter (const secret_type &key)
 
void process ()
 

Static Public Attributes

constexpr static const std::size_t secret_bits = mac_type::key_bits
 

Protected Attributes

mac_type mac
 

Detailed Description

template<typename MessageAuthenticationCode>
struct nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >

NIST SP 800-108 KDF Counter Mode (5.1)

Template Parameters
MessageAuthenticationCode

Member Typedef Documentation

◆ mac_type

template<typename MessageAuthenticationCode >
typedef sp800_108_mode<MessageAuthenticationCode>::mac_type nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >::mac_type

◆ secret_type

template<typename MessageAuthenticationCode >
typedef mac_type::key_type nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >::secret_type

Constructor & Destructor Documentation

◆ counter()

template<typename MessageAuthenticationCode >
nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >::counter ( const secret_type key)
inline

Member Function Documentation

◆ process()

template<typename MessageAuthenticationCode >
void nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >::process ( )
inline

Member Data Documentation

◆ mac

template<typename MessageAuthenticationCode >
mac_type nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >::mac
protected

◆ secret_bits

template<typename MessageAuthenticationCode >
constexpr static const std::size_t nil::crypto3::kdf::mode::counter< MessageAuthenticationCode >::secret_bits = mac_type::key_bits
staticconstexpr

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