From: Ben Laurie Date: Thu, 18 Dec 2003 15:39:16 +0000 (+0000) Subject: Even ECB needs new keys. X-Git-Tag: BEN_FIPS_TEST_4^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01d49d19e05760d5cc0d0324bc6494f59b293e42;p=oweals%2Fopenssl.git Even ECB needs new keys. --- diff --git a/fips/des/fips_desmovs.c b/fips/des/fips_desmovs.c index e2d0bd2027..027cb3d3ad 100644 --- a/fips/des/fips_desmovs.c +++ b/fips/des/fips_desmovs.c @@ -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,