projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
380537d
)
Even ECB needs new keys.
author
Ben Laurie
<ben@openssl.org>
Thu, 18 Dec 2003 15:39:16 +0000
(15:39 +0000)
committer
Ben Laurie
<ben@openssl.org>
Thu, 18 Dec 2003 15:39:16 +0000
(15:39 +0000)
fips/des/fips_desmovs.c
patch
|
blob
|
history
diff --git
a/fips/des/fips_desmovs.c
b/fips/des/fips_desmovs.c
index e2d0bd2027813797f3d2a1e12b2f19cdbd93abdc..027cb3d3add776bd38af935aeba0067f81190ea9 100644
(file)
--- 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,