12 #ifndef __UT_BlowfishIO__
13 #define __UT_BlowfishIO__
32 static int getFilteredSize(
int original_size );
42 int stream_size)
override;
46 int buffer_size)
override;
50 int endFilter(
char *buffer,
int buffer_size )
override;
53 virtual int64 getMemoryUsage(
bool inclusive)
const;
57 bool myFullBlocksFlag;
74 static int getEncryptedSize(
int plain_text_size );
77 static int getCryptBufferSize(
int max_buffer_size );
80 static int getBlockSize();
84 static int getPreambleSize();
87 static bool getVersion(
const char * preamble,
int preamble_length,
91 static bool getPlainTextLength(
const char * preamble,
97 bool decrypt(
const uint8 * input,
uint8 * output,
101 int64 getMemoryUsage(
bool inclusive)
const;
107 #endif // __UT_BlowfishIO__
int getVersion(int version)
virtual int getDataChunkLength(int buffer_size)
virtual int endFilter(char *, int)
GLuint GLsizei GLsizei * length
virtual int beginFilter(char *, int, int)
GT_API const UT_StringHolder version
LeafData & operator=(const LeafData &)=delete
virtual int doFilterChunk(char *buffer, int data_size, int buffer_size)=0