projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
51 broke -E logic completely, rewise it
[tfcrypt.git]
/
tfc_misc.c
diff --git
a/tfc_misc.c
b/tfc_misc.c
index 01998f2f13a877e451fd007cfac347282a2c896d..2aa58df4b5fd46ea9d579f3be3e4cafb85067e0f 100644
(file)
--- a/
tfc_misc.c
+++ b/
tfc_misc.c
@@
-97,6
+97,7
@@
const char *tfc_modename(int mode)
case TFC_MODE_XTS: return "XTS";
case TFC_MODE_ECB: return "ECB";
case TFC_MODE_CBC: return "CBC";
case TFC_MODE_XTS: return "XTS";
case TFC_MODE_ECB: return "ECB";
case TFC_MODE_CBC: return "CBC";
+ case TFC_MODE_PCBC: return "PCBC";
}
return NULL;
}
return NULL;
@@
-106,6
+107,7
@@
tfc_yesno tfc_is_freestream(int mode)
{
switch (mode) {
case TFC_MODE_PLAIN:
{
switch (mode) {
case TFC_MODE_PLAIN:
+ case TFC_MODE_XOR:
case TFC_MODE_STREAM: return YES;
}
case TFC_MODE_STREAM: return YES;
}