nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type > Struct Template Reference

#include <emsa1.hpp>

+ Collaboration diagram for nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >:

Public Types

typedef Hash hash_type
 
typedef accumulator_set< hash_typeinternal_accumulator_type
 
typedef MsgReprType msg_repr_type
 
typedef msg_repr_type result_type
 

Static Public Member Functions

static void init_accumulator (internal_accumulator_type &acc)
 
static result_type process (internal_accumulator_type &acc)
 
template<typename InputRange >
static void update (internal_accumulator_type &acc, const InputRange &range)
 
template<typename InputIterator >
static void update (internal_accumulator_type &acc, InputIterator first, InputIterator last)
 

Member Typedef Documentation

◆ hash_type

template<typename MsgReprType , typename Hash >
typedef Hash nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >::hash_type

◆ internal_accumulator_type

template<typename MsgReprType , typename Hash >
typedef accumulator_set<hash_type> nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >::internal_accumulator_type

◆ msg_repr_type

template<typename MsgReprType , typename Hash >
typedef MsgReprType nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >::msg_repr_type

◆ result_type

template<typename MsgReprType , typename Hash >
typedef msg_repr_type nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >::result_type

Member Function Documentation

◆ init_accumulator()

template<typename MsgReprType , typename Hash >
static void nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >::init_accumulator ( internal_accumulator_type acc)
inlinestatic

◆ process()

template<typename MsgReprType , typename Hash >
static result_type nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >::process ( internal_accumulator_type acc)
inlinestatic

◆ update() [1/2]

template<typename MsgReprType , typename Hash >
template<typename InputRange >
static void nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >::update ( internal_accumulator_type acc,
const InputRange &  range 
)
inlinestatic

◆ update() [2/2]

template<typename MsgReprType , typename Hash >
template<typename InputIterator >
static void nil::crypto3::pubkey::padding::detail::emsa1_encoding_policy< MsgReprType, Hash, typename std::enable_if< std::is_same< typename Hash::digest_type, MsgReprType >::value >::type >::update ( internal_accumulator_type acc,
InputIterator  first,
InputIterator  last 
)
inlinestatic

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