From 380537d9ffd819548088c25bfae58243c01394d9 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Thu, 18 Dec 2003 15:38:58 +0000 Subject: [PATCH] All CFB modes have to do magic on decrypt. --- fips/des/fips_desmovs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fips/des/fips_desmovs.c b/fips/des/fips_desmovs.c index 3fdde2978f..e2d0bd2027 100644 --- a/fips/des/fips_desmovs.c +++ b/fips/des/fips_desmovs.c @@ -331,7 +331,7 @@ void do_mct(char *amode, || imode == CBC)) memcpy(text,old_iv,8); - if(!dir && imode == CFB64) + if(!dir && (imode == CFB1 || imode == CFB8 || imode == CFB64)) { /* the test specifies using the output of the raw DES operation which we don't have, so reconstruct it... */ -- 2.25.1