nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode > Class Template Reference

PRF used in TLS 1.2. More...

#include <prf_tls.hpp>

+ Collaboration diagram for nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >:

Public Types

typedef policy_type::label_type label_type
 
typedef policy_type::mac_type1 mac_type1
 
typedef policy_type::mac_type2 mac_type2
 
typedef policy_type::salt_type salt_type
 
typedef policy_type::secret_type secret_type
 

Public Member Functions

 prf_tls (const secret_type &secret)
 

Static Public Member Functions

static void process ()
 

Static Public Attributes

constexpr static const std::size_t label_bits = policy_type::label_bits
 
constexpr static const std::size_t salt_bits = policy_type::salt_bits
 
constexpr static const std::size_t secret_bits = policy_type::secret_bits
 
constexpr static const std::size_t version = policy_type::version
 

Protected Attributes

mac_type1 mac
 

Detailed Description

template<typename MessageAuthenticationCode>
class nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >

PRF used in TLS 1.2.

Template Parameters
MessageAuthenticationCode

Member Typedef Documentation

◆ label_type

template<typename MessageAuthenticationCode >
typedef policy_type::label_type nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::label_type

◆ mac_type1

template<typename MessageAuthenticationCode >
typedef policy_type::mac_type1 nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::mac_type1

◆ mac_type2

template<typename MessageAuthenticationCode >
typedef policy_type::mac_type2 nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::mac_type2

◆ salt_type

template<typename MessageAuthenticationCode >
typedef policy_type::salt_type nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::salt_type

◆ secret_type

template<typename MessageAuthenticationCode >
typedef policy_type::secret_type nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::secret_type

Constructor & Destructor Documentation

◆ prf_tls()

template<typename MessageAuthenticationCode >
nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::prf_tls ( const secret_type secret)
inline

Member Function Documentation

◆ process()

template<typename MessageAuthenticationCode >
static void nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::process ( )
inlinestatic

Member Data Documentation

◆ label_bits

template<typename MessageAuthenticationCode >
constexpr static const std::size_t nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::label_bits = policy_type::label_bits
staticconstexpr

◆ mac

template<typename MessageAuthenticationCode >
mac_type1 nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::mac
protected

◆ salt_bits

template<typename MessageAuthenticationCode >
constexpr static const std::size_t nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::salt_bits = policy_type::salt_bits
staticconstexpr

◆ secret_bits

template<typename MessageAuthenticationCode >
constexpr static const std::size_t nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::secret_bits = policy_type::secret_bits
staticconstexpr

◆ version

template<typename MessageAuthenticationCode >
constexpr static const std::size_t nil::crypto3::kdf::prf_tls< 2, MessageAuthenticationCode, MessageAuthenticationCode >::version = policy_type::version
staticconstexpr

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