* Copyright Martin Westergaard Jørgensen <martinwj2005@gmail.com>\r
* Copyright 2009, 2010 Daniël Niggebrugge <niggebrugge@fox-it.com>\r
* Copyright 2009 James Dickson\r
- * Copyright 2009, 2010 James Nobis <frt@quelrod.net>\r
+ * Copyright 2009, 2010, 2011 James Nobis <frt@quelrod.net>\r
* Copyright 2010 uroskn\r
*\r
* Modified by Martin Westergaard Jørgensen <martinwj2005@gmail.com> to support * indexed and hybrid tables\r
}\r
}\r
}\r
-\r
- // (Over)write session data if we are not resuming\r
- if (!resumeSession)\r
+ else\r
{\r
+ // (Over)write session data if we are not resuming\r
FILE* file = fopen(sSessionPathName.c_str(), "w");\r
string buffer = "";\r
\r
printf("total disk access time: %.2f s\n", ce.GetStatTotalDiskAccessTime());\r
printf("total cryptanalysis time: %.2f s\n", ce.GetStatTotalCryptanalysisTime());\r
printf("total pre-calculation time: %.2f s\n", ce.GetStatTotalPrecalculationTime());\r
- printf("total chain walk step: %d\n", ce.GetStatTotalChainWalkStep());\r
+// printf("total chain walk step: %d\n", ce.GetStatTotalChainWalkStep());\r
+ printf("total chain walk step: %llu\n", ce.GetStatTotalChainWalkStep());\r
printf("total false alarm: %d\n", ce.GetStatTotalFalseAlarm());\r
- printf("total chain walk step due to false alarm: %d\n", ce.GetStatTotalChainWalkStepDueToFalseAlarm());\r
+// printf("total chain walk step due to false alarm: %d\n", ce.GetStatTotalChainWalkStepDueToFalseAlarm());\r
+ printf("total chain walk step due to false alarm: %llu\n", ce.GetStatTotalChainWalkStepDueToFalseAlarm());\r
// printf("total chain walk step skipped due to checkpoints: %d\n", ce.GetStatTotalFalseAlarmSkipped()); // Checkpoints not used - yet\r
printf("\n");\r
\r