unused stuff
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#include "mqueue.h"
|
||||
#include "fltrimpl.h"
|
||||
#include "argnames.h"
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
||||
@@ -32,13 +32,6 @@ public:
|
||||
explicit InvalidRounds(const std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rounds) + " is not a valid number of rounds") {}
|
||||
};
|
||||
|
||||
class HashTransformationWithDefaultTruncation : public HashTransformation
|
||||
{
|
||||
public:
|
||||
virtual void Final(byte *digest) =0;
|
||||
void TruncatedFinal(byte *digest, unsigned int digestSize);
|
||||
};
|
||||
|
||||
//! .
|
||||
// TODO: look into this virtual inheritance
|
||||
class ASN1CryptoMaterial : virtual public ASN1Object, virtual public CryptoMaterial
|
||||
@@ -123,41 +116,6 @@ private:
|
||||
bool IsolatedFlush(bool hardFlush, bool blocking) {assert(false); return false;}
|
||||
};
|
||||
|
||||
template <class T>
|
||||
class Multichannel : public CustomSignalPropagation<T>
|
||||
{
|
||||
public:
|
||||
Multichannel() {}
|
||||
Multichannel(BufferedTransformation *q) : CustomSignalPropagation<T>(q) {}
|
||||
|
||||
void Initialize(const NameValuePairs ¶meters, int propagation)
|
||||
{ChannelInitialize(NULL_CHANNEL, parameters, propagation);}
|
||||
bool Flush(bool hardFlush, int propagation=-1, bool blocking=true)
|
||||
{return ChannelFlush(NULL_CHANNEL, hardFlush, propagation, blocking);}
|
||||
bool MessageSeriesEnd(int propagation=-1, bool blocking=true)
|
||||
{return ChannelMessageSeriesEnd(NULL_CHANNEL, propagation, blocking);}
|
||||
byte * CreatePutSpace(unsigned int &size)
|
||||
{return ChannelCreatePutSpace(NULL_CHANNEL, size);}
|
||||
unsigned int Put2(const byte *begin, unsigned int length, int messageEnd, bool blocking)
|
||||
{return ChannelPut2(NULL_CHANNEL, begin, length, messageEnd, blocking);}
|
||||
unsigned int PutModifiable2(byte *inString, unsigned int length, int messageEnd, bool blocking)
|
||||
{return ChannelPutModifiable2(NULL_CHANNEL, inString, length, messageEnd, blocking);}
|
||||
|
||||
// void ChannelMessageSeriesEnd(const std::string &channel, int propagation=-1)
|
||||
// {PropagateMessageSeriesEnd(propagation, channel);}
|
||||
byte * ChannelCreatePutSpace(const std::string &channel, unsigned int &size)
|
||||
{size = 0; return NULL;}
|
||||
bool ChannelPutModifiable(const std::string &channel, byte *inString, unsigned int length)
|
||||
{ChannelPut(channel, inString, length); return false;}
|
||||
|
||||
virtual unsigned int ChannelPut2(const std::string &channel, const byte *begin, unsigned int length, int messageEnd, bool blocking) =0;
|
||||
unsigned int ChannelPutModifiable2(const std::string &channel, byte *begin, unsigned int length, int messageEnd, bool blocking)
|
||||
{return ChannelPut2(channel, begin, length, messageEnd, blocking);}
|
||||
|
||||
virtual void ChannelInitialize(const std::string &channel, const NameValuePairs ¶meters=g_nullNameValuePairs, int propagation=-1) =0;
|
||||
virtual bool ChannelFlush(const std::string &channel, bool hardFlush, int propagation=-1, bool blocking=true) =0;
|
||||
};
|
||||
|
||||
template <class T>
|
||||
class AutoSignaling : public T
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user