nil::crypto3::mac::detail::computation_policy< Mac > Struct Template Reference

#include <mac_processing_policies.hpp>

+ Inheritance diagram for nil::crypto3::mac::detail::computation_policy< Mac >:
+ Collaboration diagram for nil::crypto3::mac::detail::computation_policy< Mac >:

Public Types

typedef key_type::internal_accumulator_type internal_accumulator_type
 
typedef mac_key< mac_typekey_type
 
typedef basic_policy< Mac >::mac_type mac_type
 
typedef key_type::digest_type result_type
 
typedef std::size_t size_type
 

Static Public Member Functions

template<typename... Args>
static void init_accumulator (const key_type &key, Args &...args)
 
template<typename... Args>
static result_type process (const key_type &key, Args &...args)
 
template<typename... Args>
static void update (const key_type &key, Args &...args)
 

Member Typedef Documentation

◆ internal_accumulator_type

template<typename Mac >
typedef key_type::internal_accumulator_type nil::crypto3::mac::detail::computation_policy< Mac >::internal_accumulator_type

◆ key_type

template<typename Mac >
typedef mac_key<mac_type> nil::crypto3::mac::detail::computation_policy< Mac >::key_type

◆ mac_type

template<typename Mac >
typedef basic_policy<Mac>::mac_type nil::crypto3::mac::detail::computation_policy< Mac >::mac_type

◆ result_type

template<typename Mac >
typedef key_type::digest_type nil::crypto3::mac::detail::computation_policy< Mac >::result_type

◆ size_type

template<typename Mac >
typedef std::size_t nil::crypto3::mac::detail::basic_policy< Mac >::size_type
inherited

Member Function Documentation

◆ init_accumulator()

template<typename Mac >
template<typename... Args>
static void nil::crypto3::mac::detail::computation_policy< Mac >::init_accumulator ( const key_type key,
Args &...  args 
)
inlinestatic

◆ process()

template<typename Mac >
template<typename... Args>
static result_type nil::crypto3::mac::detail::computation_policy< Mac >::process ( const key_type key,
Args &...  args 
)
inlinestatic

◆ update()

template<typename Mac >
template<typename... Args>
static void nil::crypto3::mac::detail::computation_policy< Mac >::update ( const key_type key,
Args &...  args 
)
inlinestatic

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