digestpp 1.0
C++11 header-only message digest library
Loading...
Searching...
No Matches
digestpp::detail::jh_provider< HS > Class Template Reference

#include <jh_provider.hpp>

Public Member Functions

template<size_t hss = HS, typename std::enable_if< hss==0 >::type * = nullptr>
 jh_provider (size_t hashsize=512)
 
template<size_t hss = HS, typename std::enable_if< hss !=0 >::type * = nullptr>
 jh_provider ()
 
 ~jh_provider ()
 
void init ()
 
void update (const unsigned char *data, size_t len)
 
void final (unsigned char *hash)
 
void clear ()
 
size_t hash_size () const
 

Static Public Attributes

static const bool is_xof = false
 

Constructor & Destructor Documentation

◆ jh_provider() [1/2]

template<size_t HS = 0>
template<size_t hss = HS, typename std::enable_if< hss==0 >::type * = nullptr>
digestpp::detail::jh_provider< HS >::jh_provider ( size_t hashsize = 512)
inline

◆ jh_provider() [2/2]

template<size_t HS = 0>
template<size_t hss = HS, typename std::enable_if< hss !=0 >::type * = nullptr>
digestpp::detail::jh_provider< HS >::jh_provider ( )
inline

◆ ~jh_provider()

template<size_t HS = 0>
digestpp::detail::jh_provider< HS >::~jh_provider ( )
inline

Member Function Documentation

◆ clear()

template<size_t HS = 0>
void digestpp::detail::jh_provider< HS >::clear ( )
inline

◆ final()

template<size_t HS = 0>
void digestpp::detail::jh_provider< HS >::final ( unsigned char * hash)
inline

◆ hash_size()

template<size_t HS = 0>
size_t digestpp::detail::jh_provider< HS >::hash_size ( ) const
inline

◆ init()

template<size_t HS = 0>
void digestpp::detail::jh_provider< HS >::init ( )
inline

◆ update()

template<size_t HS = 0>
void digestpp::detail::jh_provider< HS >::update ( const unsigned char * data,
size_t len )
inline

Member Data Documentation

◆ is_xof

template<size_t HS = 0>
const bool digestpp::detail::jh_provider< HS >::is_xof = false
static

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