-X: add simple XOR mode (embedded xor tool)
[tfcrypt.git] / tfc_signal.c
index 1e025349a52c70e73a6c945d1ac141353ad0bdcc..aaacb2bb8191c9dbd28785b384547d9b7e756529 100644 (file)
@@ -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";
+                       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;