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_t.h File Reference
#include <cstring>
#include <cstdlib>
#include <stdint.h>
#include <assert.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <iostream>
#include <unistd.h>
Include dependency graph for hash_t.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hash__< md, SIZE >
 
class  hash_generator__< md, SIZE >
 

Typedefs

typedef hash__< EVP_md5, 16 > md5_t
 
typedef hash__< EVP_sha1, 20 > sha1_t
 
typedef hash__< EVP_sha256, 32 > sha256_t
 
typedef hash_generator__< EVP_md5, 16 > md5_generator
 
typedef hash_generator__< EVP_sha1, 20 > sha1_generator
 
typedef hash_generator__< EVP_sha256, 32 > sha256_generator
 

Functions

template<typename T >
std::string digest_name ()
 
template<>
std::string digest_name< md5_t > ()
 
template<>
std::string digest_name< sha1_t > ()
 
template<>
std::string digest_name< sha256_t > ()
 

Typedef Documentation

◆ md5_generator

typedef hash_generator__<EVP_md5,16> md5_generator

Definition at line 298 of file hash_t.h.

◆ md5_t

typedef hash__<EVP_md5,16> md5_t

Definition at line 162 of file hash_t.h.

◆ sha1_generator

typedef hash_generator__<EVP_sha1,20> sha1_generator

Definition at line 299 of file hash_t.h.

◆ sha1_t

typedef hash__<EVP_sha1,20> sha1_t

Definition at line 163 of file hash_t.h.

◆ sha256_generator

typedef hash_generator__<EVP_sha256,32> sha256_generator

Definition at line 300 of file hash_t.h.

◆ sha256_t

typedef hash__<EVP_sha256,32> sha256_t

Definition at line 164 of file hash_t.h.

Function Documentation

◆ digest_name()

template<typename T >
std::string digest_name ( )
inline

◆ digest_name< md5_t >()

template<>
std::string digest_name< md5_t > ( )
inline

Definition at line 172 of file hash_t.h.

◆ digest_name< sha1_t >()

template<>
std::string digest_name< sha1_t > ( )
inline

Definition at line 176 of file hash_t.h.

◆ digest_name< sha256_t >()

template<>
std::string digest_name< sha256_t > ( )
inline

Definition at line 180 of file hash_t.h.