llnullcipher.h

Go to the documentation of this file.
00001 
00031 #ifndef LLNULLCIPHER_H
00032 #define LLNULLCIPHER_H
00033 
00034 #include "llcipher.h"
00035 
00036 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00037 // Class LLNullCipher
00038 //
00039 // A class which implements LLCipher, but does not transform src
00040 // during encryption.
00041 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00042 
00043 class LLNullCipher : public LLCipher
00044 {
00045 public:
00046         LLNullCipher() {}
00047         virtual ~LLNullCipher() {}
00048         virtual U32 encrypt(const U8* src, U32 src_len, U8* dst, U32 dst_len);
00049         virtual U32 decrypt(const U8* src, U32 src_len, U8* dst, U32 dst_len);
00050         virtual U32 requiredEncryptionSpace(U32 src_len) const;
00051 };
00052 
00053 #endif

Generated on Thu Jul 1 06:08:55 2010 for Second Life Viewer by  doxygen 1.4.7