}\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