projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
-g, -j: shortcuts for stream ciphers with random counter
[tfcrypt.git]
/
tfc_conf.c
diff --git
a/tfc_conf.c
b/tfc_conf.c
index fc9bec78d447bdaf47eec64bdc1bd38bb1f80042..fe36a13eaf90d4f1740dc16979159f3595595cac 100644
(file)
--- a/
tfc_conf.c
+++ b/
tfc_conf.c
@@
-76,6
+76,8
@@
_nspc:
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"))