libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MD5Summation Class Reference

#include <md5.h>

Inheritance diagram for MD5Summation:
Collaboration diagram for MD5Summation:

Public Member Functions

 MD5Summation ()
 
bool Add (const unsigned char *inbuf, unsigned long long inlen)
 
bool Add (const char *inbuf, unsigned long long const inlen)
 
bool Add (const unsigned char *Data)
 
bool Add (const char *Data)
 
bool Add (const unsigned char *Beg, const unsigned char *End)
 
bool Add (const char *Beg, const char *End)
 
bool AddFD (int Fd, unsigned long long Size=0)
 
bool AddFD (FileFd &Fd, unsigned long long Size=0)
 
MD5SumValue Result ()
 

Private Attributes

uint32_t Buf [4]
 
unsigned char Bytes [2 *4]
 
bool Done
 
unsigned char In [16 *4]
 

Constructor & Destructor Documentation

MD5Summation::MD5Summation ( )

Member Function Documentation

bool MD5Summation::Add ( const unsigned char *  inbuf,
unsigned long long  inlen 
)
virtual

Implements SummationImplementation.

Referenced by Hashes::Add().

Here is the caller graph for this function:

bool SummationImplementation::Add ( const char *  inbuf,
unsigned long long const  inlen 
)
inlineinherited

References SummationImplementation::Add().

Referenced by SummationImplementation::Add().

Here is the call graph for this function:

Here is the caller graph for this function:

bool SummationImplementation::Add ( const unsigned char *  Data)
inlineinherited

References SummationImplementation::Add().

Referenced by SummationImplementation::Add().

Here is the call graph for this function:

Here is the caller graph for this function:

bool SummationImplementation::Add ( const char *  Data)
inlineinherited

References SummationImplementation::Add().

Referenced by SummationImplementation::Add().

Here is the call graph for this function:

Here is the caller graph for this function:

bool SummationImplementation::Add ( const unsigned char *  Beg,
const unsigned char *  End 
)
inlineinherited

References SummationImplementation::Add().

Referenced by SummationImplementation::Add().

Here is the call graph for this function:

Here is the caller graph for this function:

bool SummationImplementation::Add ( const char *  Beg,
const char *  End 
)
inlineinherited

References SummationImplementation::Add().

Referenced by SummationImplementation::Add().

Here is the call graph for this function:

Here is the caller graph for this function:

bool SummationImplementation::AddFD ( int  Fd,
unsigned long long  Size = 0 
)
inherited
bool SummationImplementation::AddFD ( FileFd Fd,
unsigned long long  Size = 0 
)
inherited
MD5SumValue MD5Summation::Result ( )

Member Data Documentation

uint32_t MD5Summation::Buf[4]
private
unsigned char MD5Summation::Bytes[2 *4]
private
bool MD5Summation::Done
private
unsigned char MD5Summation::In[16 *4]
private

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