IBR-DTNSuite  0.8
ibrcommon::HMacStream Class Reference

#include <HMacStream.h>

Inheritance diagram for ibrcommon::HMacStream:
Collaboration diagram for ibrcommon::HMacStream:

List of all members.

Public Member Functions

 HMacStream (const unsigned char *const key, const size_t key_size)
virtual ~HMacStream ()

Static Public Attributes

static const size_t BUFF_SIZE = 2048

Protected Member Functions

virtual void update (char *buf, const size_t size)
virtual void finalize (char *hash, unsigned int &size)

Detailed Description

Definition at line 16 of file HMacStream.h.


Constructor & Destructor Documentation

ibrcommon::HMacStream::HMacStream ( const unsigned char *const  key,
const size_t  key_size 
)

Definition at line 12 of file HMacStream.cpp.

Definition at line 19 of file HMacStream.cpp.


Member Function Documentation

void ibrcommon::HMacStream::finalize ( char *  hash,
unsigned int &  size 
) [protected, virtual]

Implements ibrcommon::HashStream.

Definition at line 30 of file HMacStream.cpp.

void ibrcommon::HMacStream::update ( char *  buf,
const size_t  size 
) [protected, virtual]

Implements ibrcommon::HashStream.

Definition at line 24 of file HMacStream.cpp.


Member Data Documentation

const size_t ibrcommon::HMacStream::BUFF_SIZE = 2048 [static]

Definition at line 20 of file HMacStream.h.


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