From d98918b029c579d98cd2a97320fbc1be1f7e61ac Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 17 May 2004 00:59:07 +0000 Subject: [PATCH] unused stuff --- stepmania/src/crypto51/filters.cpp | 1 - stepmania/src/crypto51/simple.h | 42 ------------------------------ 2 files changed, 43 deletions(-) diff --git a/stepmania/src/crypto51/filters.cpp b/stepmania/src/crypto51/filters.cpp index 64c2a37dca..09d135be40 100644 --- a/stepmania/src/crypto51/filters.cpp +++ b/stepmania/src/crypto51/filters.cpp @@ -5,7 +5,6 @@ #include "mqueue.h" #include "fltrimpl.h" #include "argnames.h" -#include #include NAMESPACE_BEGIN(CryptoPP) diff --git a/stepmania/src/crypto51/simple.h b/stepmania/src/crypto51/simple.h index e26cefd40f..afcbda5546 100644 --- a/stepmania/src/crypto51/simple.h +++ b/stepmania/src/crypto51/simple.h @@ -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 Multichannel : public CustomSignalPropagation -{ -public: - Multichannel() {} - Multichannel(BufferedTransformation *q) : CustomSignalPropagation(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 AutoSignaling : public T {