Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

WvBlowfishStream Class Reference

#include <wvcrypto.h>

Inheritance diagram for WvBlowfishStream:

WvCryptoStream WvCryptoStream WvStreamClone WvStreamClone WvStreamClone WvStreamClone WvStream WvStream WvStream WvStream WvStream WvStream WvStream WvStream List of all members.

Public Methods

 WvBlowfishStream (WvStream *_slave, const void *_key, size_t keysize)
virtual ~WvBlowfishStream ()
 WvBlowfishStream (WvStream *_slave, const void *_key, size_t keysize)
virtual ~WvBlowfishStream ()

Protected Methods

virtual size_t uread (void *buf, size_t size)
virtual size_t uwrite (const void *buf, size_t size)
virtual size_t uread (void *buf, size_t size)
virtual size_t uwrite (const void *buf, size_t size)

Private Attributes

bf_key_st * key
unsigned char envec [2048]
unsigned char devec [2048]
int ennum
int denum
bf_key_st * key

Constructor & Destructor Documentation

WvBlowfishStream::WvBlowfishStream WvStream   _slave,
const void *    _key,
size_t    keysize
 

Definition at line 92 of file wvcrypto.cc.

References denum, devec, ennum, envec, and key.

WvBlowfishStream::~WvBlowfishStream   [virtual]
 

Definition at line 129 of file wvcrypto.cc.

References key.

WvBlowfishStream::WvBlowfishStream WvStream   _slave,
const void *    _key,
size_t    keysize
 

virtual WvBlowfishStream::~WvBlowfishStream   [virtual]
 


Member Function Documentation

virtual size_t WvBlowfishStream::uread void *    buf,
size_t    size
[protected, virtual]
 

unbuffered I/O functions; these ignore the buffer, which is handled by read(). Don't call these functions unless you have a _really_ good reason.

Reimplemented from WvStreamClone.

size_t WvBlowfishStream::uread void *    buf,
size_t    size
[protected, virtual]
 

unbuffered I/O functions; these ignore the buffer, which is handled by read(). Don't call these functions unless you have a _really_ good reason.

Reimplemented from WvStreamClone.

Definition at line 116 of file wvcrypto.cc.

References WvCryptoStream::cryptbuf(), denum, devec, key, size, and WvStreamClone::uread().

virtual size_t WvBlowfishStream::uwrite const void *    buf,
size_t    size
[protected, virtual]
 

unbuffered I/O functions; these ignore the buffer, which is handled by write(). Don't call these functions unless you have a _really_ good reason.

Reimplemented from WvStreamClone.

size_t WvBlowfishStream::uwrite const void *    buf,
size_t    size
[protected, virtual]
 

unbuffered I/O functions; these ignore the buffer, which is handled by write(). Don't call these functions unless you have a _really_ good reason.

Reimplemented from WvStreamClone.

Definition at line 104 of file wvcrypto.cc.

References WvCryptoStream::cryptbuf(), ennum, envec, key, size, and WvStreamClone::uwrite().


Member Data Documentation

int WvBlowfishStream::denum [private]
 

Definition at line 71 of file include/wvcrypto.h.

Referenced by uread(), and WvBlowfishStream().

unsigned char WvBlowfishStream::devec [private]
 

Definition at line 70 of file include/wvcrypto.h.

Referenced by uread(), and WvBlowfishStream().

int WvBlowfishStream::ennum [private]
 

Definition at line 71 of file include/wvcrypto.h.

Referenced by uwrite(), and WvBlowfishStream().

unsigned char WvBlowfishStream::envec [private]
 

Definition at line 70 of file include/wvcrypto.h.

Referenced by uwrite(), and WvBlowfishStream().

struct bf_key_st* WvBlowfishStream::key [private]
 

Definition at line 69 of file include/wvcrypto.h.

struct bf_key_st* WvBlowfishStream::key [private]
 

Definition at line 69 of file crypto/wvcrypto.h.

Referenced by uread(), uwrite(), WvBlowfishStream(), and ~WvBlowfishStream().


The documentation for this class was generated from the following files:
Generated on Sat Aug 24 23:07:59 2002 for WvStreams by doxygen1.2.15