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
SHA1Summation Class Reference

#include <sha1.h>

Inheritance diagram for SHA1Summation:
Collaboration diagram for SHA1Summation:

Public Member Functions

 SHA1Summation ()
 
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)
 
SHA1SumValue Result ()
 

Private Member Functions

unsigned char Buffer[64] __attribute__ ((aligned(8)))
 
unsigned char State[5 *4] __attribute__ ((aligned(8)))
 
unsigned char Count[2 *4] __attribute__ ((aligned(8)))
 

Private Attributes

bool Done
 

Constructor & Destructor Documentation

SHA1Summation::SHA1Summation ( )

Member Function Documentation

unsigned char Buffer [64] SHA1Summation::__attribute__ ( (aligned(8))  )
private
unsigned char State [5*4] SHA1Summation::__attribute__ ( (aligned(8))  )
private
unsigned char Count [2*4] SHA1Summation::__attribute__ ( (aligned(8))  )
private
bool SHA1Summation::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
SHA1SumValue SHA1Summation::Result ( )

Member Data Documentation

bool SHA1Summation::Done
private

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