Commit 380537d9 authored by Ben Laurie's avatar Ben Laurie
Browse files

All CFB modes have to do magic on decrypt.

parent 3229fd6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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... */