Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

InformationRecovery Class Reference

#include <ida.h>

Inheritance diagram for InformationRecovery:

RawIDA List of all members.

Detailed Description

a variant of Rabin's Information Dispersal Algorithm

Definition at line 109 of file ida.h.

Public Member Functions

 InformationRecovery (int threshold, BufferedTransformation *attachment=NULL, bool removePadding=true)
void Initialize (const NameValuePairs &parameters=g_nullNameValuePairs, int propagation=-1)
unsigned int GetThreshold () const
void AddOutputChannel (word32 channelId)
void ChannelData (word32 channelId, const byte *inString, unsigned int length, bool messageEnd)
unsigned int InputBuffered (word32 channelId) const
void ChannelInitialize (const std::string &channel, const NameValuePairs &parameters=g_nullNameValuePairs, int propagation=-1)
unsigned int ChannelPut2 (const std::string &channel, const byte *begin, unsigned int length, int messageEnd, bool blocking)

Protected Member Functions

void FlushOutputQueues ()
void OutputMessageEnds ()
unsigned int InsertInputChannel (word32 channelId)
unsigned int LookupInputChannel (word32 channelId) const
void ComputeV (unsigned int)
void PrepareInterpolation ()
void ProcessInputQueues ()

Protected Attributes

bool m_pad
ByteQueue m_queue
std::map< word32, unsigned
int > 
m_inputChannelMap
std::map< word32, unsigned
int >::iterator 
m_lastMapPosition
std::vector< MessageQueuem_inputQueues
std::vector< word32 > m_inputChannelIds
std::vector< word32 > m_outputChannelIds
std::vector< word32 > m_outputToInput
std::vector< std::string > m_outputChannelIdStrings
std::vector< ByteQueuem_outputQueues
int m_threshold
unsigned int m_channelsReady
unsigned int m_channelsFinished
std::vector< SecBlock< word32 > > m_v
SecBlock< word32 > m_u
SecBlock< word32 > m_w
SecBlock< word32 > m_y


The documentation for this class was generated from the following file:
Generated on Sun Mar 14 20:44:36 2004 for Crypto++ by doxygen 1.3.6-20040222