Even ECB needs new keys.
authorBen Laurie <ben@openssl.org>
Thu, 18 Dec 2003 15:39:16 +0000 (15:39 +0000)
committerBen Laurie <ben@openssl.org>
Thu, 18 Dec 2003 15:39:16 +0000 (15:39 +0000)
fips/des/fips_desmovs.c

index e2d0bd2027813797f3d2a1e12b2f19cdbd93abdc..027cb3d3add776bd38af935aeba0067f81190ea9 100644 (file)
@@ -258,7 +258,7 @@ void shiftin(unsigned char *dst,unsigned char *src,int nbits)
 char *t_tag[2] = {"PLAINTEXT", "CIPHERTEXT"};
 char *t_mode[6] = {"CBC","ECB","OFB","CFB1","CFB8","CFB64"};
 enum Mode {CBC, ECB, OFB, CFB1, CFB8, CFB64};
-int Sizes[6]={64,0,64,1,8,64};
+int Sizes[6]={64,64,64,1,8,64};
 
 void do_mct(char *amode, 
            int akeysz, int numkeys, unsigned char *akey,unsigned char *ivec,