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_conf.c
diff --git
a/tfc_conf.c
b/tfc_conf.c
index 15a79ed77059f3f13046626de0589e7aeba14f2f..fe36a13eaf90d4f1740dc16979159f3595595cac 100644
(file)
--- a/
tfc_conf.c
+++ b/
tfc_conf.c
@@
-76,12
+76,12
@@
_nspc:
ctr_mode = TFC_MODE_STREAM;
else if (!strcasecmp(d, "cbc"))
ctr_mode = TFC_MODE_CBC;
ctr_mode = TFC_MODE_STREAM;
else if (!strcasecmp(d, "cbc"))
ctr_mode = TFC_MODE_CBC;
+ else if (!strcasecmp(d, "pcbc"))
+ ctr_mode = TFC_MODE_PCBC;
else if (!strcasecmp(d, "ecb"))
ctr_mode = TFC_MODE_ECB;
else if (!strcasecmp(d, "xts"))
ctr_mode = TFC_MODE_XTS;
else if (!strcasecmp(d, "ecb"))
ctr_mode = TFC_MODE_ECB;
else if (!strcasecmp(d, "xts"))
ctr_mode = TFC_MODE_XTS;
- else if (!strcasecmp(d, "ocb"))
- ctr_mode = TFC_MODE_OCB;
else xerror(NO, YES, YES, "[%s] ctr_mode=%s: invalid mode of operation", path, d);
}
else if (!strcmp(s, "tfc_salt")) {
else xerror(NO, YES, YES, "[%s] ctr_mode=%s: invalid mode of operation", path, d);
}
else if (!strcmp(s, "tfc_salt")) {