|
|
1.1 root 1: /* 1.1.1.6 ! root 2: Copyright (c) 2008-2009 TrueCrypt Developers Association. All rights reserved. 1.1 root 3: 1.1.1.6 ! root 4: Governed by the TrueCrypt License 2.8 the full text of which is contained in ! 5: the file License.txt included in TrueCrypt binary and source code distribution ! 6: packages. 1.1 root 7: */ 8: 9: #ifndef TC_HEADER_Common_Wipe 10: #define TC_HEADER_Common_Wipe 11: 12: #include "Tcdefs.h" 13: 14: #ifdef __cplusplus 15: extern "C" { 16: #endif 17: 18: typedef enum 19: { 20: /* WARNING: As these values are written to config files, if they or their meanings 21: are changed, incompatiblity with other versions may arise (upgrade, downgrade, etc.). 22: When adding a new constant, verify that the value is unique within this block. */ 23: TC_WIPE_NONE = 0, 1.1.1.3 root 24: TC_WIPE_1_RAND = 100, 1.1 root 25: TC_WIPE_3_DOD_5220 = 300, 26: TC_WIPE_7_DOD_5220 = 700, 27: TC_WIPE_35_GUTMANN = 3500 28: 29: } WipeAlgorithmId; 30: 31: #define TC_WIPE_RAND_CHAR_COUNT 3 32: 1.1.1.5 root 33: int GetWipePassCount (WipeAlgorithmId algorithm); 1.1 root 34: BOOL WipeBuffer (WipeAlgorithmId algorithm, byte randChars[TC_WIPE_RAND_CHAR_COUNT], int pass, byte *buffer, size_t size); 35: 36: #ifdef __cplusplus 37: } 38: #endif 39: 40: #endif // TC_HEADER_Common_Wipe
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.