X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfc_conf.c;h=fe36a13eaf90d4f1740dc16979159f3595595cac;hb=7274f5687aeae3d14e686cff6fb8626e644b09c9;hp=da4523151b5a070be91d0d48300d9d2612f8040a;hpb=72672c5cb76597fdc07cbc9bc190394d1c1d3ee1;p=tfcrypt.git diff --git a/tfc_conf.c b/tfc_conf.c index da45231..fe36a13 100644 --- a/tfc_conf.c +++ b/tfc_conf.c @@ -2,7 +2,7 @@ * tfcrypt -- high security Threefish encryption tool. * * tfcrypt is copyrighted: - * Copyright (C) 2012-2018 Andrey Rys. All rights reserved. + * Copyright (C) 2012-2019 Andrey Rys. All rights reserved. * * tfcrypt is licensed to you under the terms of std. MIT/X11 license: * @@ -76,12 +76,12 @@ _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")) 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")) {