projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-X: add simple XOR mode (embedded xor tool)
[tfcrypt.git]
/
tfc_signal.c
diff --git
a/tfc_signal.c
b/tfc_signal.c
index 1e025349a52c70e73a6c945d1ac141353ad0bdcc..aaacb2bb8191c9dbd28785b384547d9b7e756529 100644
(file)
--- a/
tfc_signal.c
+++ b/
tfc_signal.c
@@
-66,6
+66,7
@@
void print_crypt_status(int signal)
case TFC_DO_DECRYPT: oper_mode = "decrypted"; break;
default:
if (ctr_mode == TFC_MODE_PLAIN) oper_mode = "written";
case TFC_DO_DECRYPT: oper_mode = "decrypted"; break;
default:
if (ctr_mode == TFC_MODE_PLAIN) oper_mode = "written";
+ else if (ctr_mode == TFC_MODE_XOR) oper_mode = "xored";
else if (ctr_mode == TFC_MODE_SKSUM) oper_mode = "hashed";
else oper_mode = NULL;
break;
else if (ctr_mode == TFC_MODE_SKSUM) oper_mode = "hashed";
else oper_mode = NULL;
break;