tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

hash_generator__< md, SIZE > Class Template Reference

#include <hash_t.h>

Public Member Functions

 hash_generator__ ()
 
 ~hash_generator__ ()
 
void release ()
 
void init ()
 
void update (const uint8_t *buf, size_t bufsize)
 
hash__< md, SIZE > final ()
 

Static Public Member Functions

static hash__< md, SIZE > hash_buf (const uint8_t *buf, size_t bufsize)
 

Public Attributes

int64_t hashed_bytes
 

Private Member Functions

hash_generator__operator= (const hash_generator__ &)
 
 hash_generator__ (const hash_generator__ &)
 

Static Private Member Functions

static bool iszero (const uint8_t *buf, size_t bufsize)
 

Private Attributes

EVP_MD_CTX * mdctx
 
bool initialized
 
bool finalized
 

Detailed Description

template<const EVP_MD * md, size_t SIZE>
class hash_generator__< md, SIZE >

Definition at line 191 of file hash_t.h.

Constructor & Destructor Documentation

◆ hash_generator__() [1/2]

template<const EVP_MD * md, size_t SIZE>
hash_generator__< md, SIZE >::hash_generator__ ( const hash_generator__< md, SIZE > &  )
private

◆ hash_generator__() [2/2]

template<const EVP_MD * md, size_t SIZE>
hash_generator__< md, SIZE >::hash_generator__ ( )
inline

Definition at line 209 of file hash_t.h.

◆ ~hash_generator__()

template<const EVP_MD * md, size_t SIZE>
hash_generator__< md, SIZE >::~hash_generator__ ( )
inline

Definition at line 210 of file hash_t.h.

References hash_generator__< md, SIZE >::release().

Member Function Documentation

◆ final()

◆ hash_buf()

template<const EVP_MD * md, size_t SIZE>
static hash__<md,SIZE> hash_generator__< md, SIZE >::hash_buf ( const uint8_t buf,
size_t  bufsize 
)
inlinestatic

◆ init()

◆ iszero()

template<const EVP_MD * md, size_t SIZE>
static bool hash_generator__< md, SIZE >::iszero ( const uint8_t buf,
size_t  bufsize 
)
inlinestaticprivate

Definition at line 197 of file hash_t.h.

◆ operator=()

template<const EVP_MD * md, size_t SIZE>
hash_generator__& hash_generator__< md, SIZE >::operator= ( const hash_generator__< md, SIZE > &  )
private

◆ release()

template<const EVP_MD * md, size_t SIZE>
void hash_generator__< md, SIZE >::release ( )
inline

◆ update()

template<const EVP_MD * md, size_t SIZE>
void hash_generator__< md, SIZE >::update ( const uint8_t buf,
size_t  bufsize 
)
inline

Member Data Documentation

◆ finalized

template<const EVP_MD * md, size_t SIZE>
bool hash_generator__< md, SIZE >::finalized
private

◆ hashed_bytes

template<const EVP_MD * md, size_t SIZE>
int64_t hash_generator__< md, SIZE >::hashed_bytes

◆ initialized

template<const EVP_MD * md, size_t SIZE>
bool hash_generator__< md, SIZE >::initialized
private

◆ mdctx

template<const EVP_MD * md, size_t SIZE>
EVP_MD_CTX* hash_generator__< md, SIZE >::mdctx
private

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