|
PST File Format SDK v0.4
|
Collaboration diagram for Disk Layer:Modules | |
| Header Structures | |
| Utility Functions | |
| Page Structures | |
| Block Structures | |
| Heap Structures | |
| BTH Structures | |
| Property Context Structures | |
| Table Context Structures | |
| Name to ID Mapping Structures | |
Files | |
| file | disk.h |
| Disk data structure definitions. | |
Classes | |
| struct | pstsdk::disk::block_reference< T > |
| The combination of the id and physical location of a block or page. More... | |
Functions | |
| void | pstsdk::disk::permute (void *pdata, ulong cb, bool encrypt) |
| Modifies the data block in place, according to the permute method. | |
| void | pstsdk::disk::cyclic (void *pdata, ulong cb, ulong key) |
| Modifies the data block in place, according to the cyclic method. | |
Modifies the data block in place, according to the cyclic method.
This algorithm is called to "encrypt" external data if the crypt_method of the file is set to crypt_method_cyclic
| [in,out] | pdata | A pointer to the data to "encrypt". This data is modified in place |
| [in] | cb | The size of the block of data |
| [in] | key | The key used in the cycle process. Typically this is the block_id of the data being "encrypted". |
Modifies the data block in place, according to the permute method.
This algorithm is called to "encrypt" external data if the crypt_method of the file is set to crypt_method_permute
| [in,out] | pdata | A pointer to the data to "encrypt". This data is modified in place |
| [in] | cb | The size of the block of data |
| [in] | encrypt | True if "encrypting", false is unencrypting |