Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
BlowStraw Class Reference

#include <blwstraw.h>

Inherits Straw.

Public Types

enum  CryptControl { ENCRYPT , DECRYPT }
 
typedef enum BlowStraw::CryptControl CryptControl
 

Public Member Functions

 BlowStraw (CryptControl control)
 
virtual ~BlowStraw (void)
 
virtual int Get (void *source, int slen)
 
void Key (void const *key, int length)
 
- Public Member Functions inherited from Straw
 Straw (void)
 
virtual ~Straw (void)
 
virtual void Get_From (Straw *pipe)
 
void Get_From (Straw &pipe)
 

Protected Attributes

BlowfishEngineBF
 

Additional Inherited Members

- Public Attributes inherited from Straw
StrawChainTo
 
StrawChainFrom
 

Detailed Description

Definition at line 50 of file blwstraw.h.

Member Typedef Documentation

◆ CryptControl

Member Enumeration Documentation

◆ CryptControl

Enumerator
ENCRYPT 
DECRYPT 

Definition at line 53 of file blwstraw.h.

Constructor & Destructor Documentation

◆ BlowStraw()

BlowStraw::BlowStraw ( CryptControl control)
inline

Definition at line 58 of file blwstraw.h.

◆ ~BlowStraw()

virtual BlowStraw::~BlowStraw ( void )
inlinevirtual

Definition at line 59 of file blwstraw.h.

Member Function Documentation

◆ Get()

int BlowStraw::Get ( void * source,
int slen )
virtual

Reimplemented from Straw.

Definition at line 65 of file blwstraw.cpp.

◆ Key()

void BlowStraw::Key ( void const * key,
int length )

Definition at line 146 of file blwstraw.cpp.

Member Data Documentation

◆ BF

BlowfishEngine* BlowStraw::BF
protected

Definition at line 73 of file blwstraw.h.


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