#include <MNDecrypt.h>
Collaboration diagram for MNDecrypt:

Public Member Functions | |
| MNDecrypt (const char *filename) | |
| ~MNDecrypt () | |
| void | write (const unsigned char *data, u_int64 pos, u_int64 len) |
| u_int64 | bytesAvail () |
| const unsigned char * | read () |
| bool | isInitialized () |
Protected Types | |
| typedef u_int64_t | u_int64 |
| typedef u_int32_t | u_int32 |
| typedef Rijndael * | rijndael_ptr |
Protected Member Functions | |
| u_int64 | relBlockPos (const u_int64 pos) |
| bool | isOffset (const u_int64 pos) |
| bool | isPlain (const u_int64 pos) |
| bool | isCipher (const u_int64 pos) |
| void * | safemalloc (size_t size) |
| void * | safecalloc (size_t nmemb, size_t size) |
| void * | saferealloc (void *ptr, size_t size) |
Protected Attributes | |
| unsigned char * | _data |
| unsigned char * | _decrypted |
| unsigned char | _oddStuff [16] |
| u_int64 | _dataLen |
| bool | _dataLocal |
| u_int32 | _keyLen |
| u_int32 | _buckets |
| u_int32 | _bucketSize |
| u_int32 | _offset |
| u_int32 | _plainLen |
| u_int32 | _cipherLen |
| u_int64 | _cipherBlockLen |
| u_int64 | _blockLen |
| u_int32 * | _userID |
| Rijndael ** | _decrypters |
| u_int64 | _lastPos |
| bool | _initialized |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8