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
SHA2SummationBase Class Referenceabstract

#include <sha2.h>

Inheritance diagram for SHA2SummationBase:
Collaboration diagram for SHA2SummationBase:

Public Member Functions

bool Add (const unsigned char *inbuf, unsigned long long len)=0
 
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)
 
void Result ()
 

Protected Attributes

bool Done
 

Member Function Documentation

bool SHA2SummationBase::Add ( const unsigned char *  inbuf,
unsigned long long  len 
)
pure virtual

Implements SummationImplementation.

Implemented in SHA512Summation, and SHA256Summation.

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
void SHA2SummationBase::Result ( )

Member Data Documentation


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