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

#include <lsh_provider.hpp>

Public Member Functions

template<size_t hss = HS, typename std::enable_if< hss==0 >::type * = nullptr>
 lsh_provider (size_t hashsize)
 
template<size_t hss = HS, typename std::enable_if< hss !=0 >::type * = nullptr>
 lsh_provider ()
 
 ~lsh_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

◆ lsh_provider() [1/2]

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

◆ lsh_provider() [2/2]

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

◆ ~lsh_provider()

template<typename T , size_t HS = 0>
digestpp::detail::lsh_provider< T, HS >::~lsh_provider ( )
inline

Member Function Documentation

◆ clear()

template<typename T , size_t HS = 0>
void digestpp::detail::lsh_provider< T, HS >::clear ( )
inline

◆ final()

template<typename T , size_t HS = 0>
void digestpp::detail::lsh_provider< T, HS >::final ( unsigned char * hash)
inline

◆ hash_size()

template<typename T , size_t HS = 0>
size_t digestpp::detail::lsh_provider< T, HS >::hash_size ( ) const
inline

◆ init()

template<typename T , size_t HS = 0>
void digestpp::detail::lsh_provider< T, HS >::init ( )
inline

◆ update()

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

Member Data Documentation

◆ is_xof

template<typename T , size_t HS = 0>
const bool digestpp::detail::lsh_provider< T, HS >::is_xof = false
static

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