Skip to content

Commit

Permalink
One des_encrypt to des_encrypt1 I forgot to commit...
Browse files Browse the repository at this point in the history
  • Loading branch information
levitte committed Mar 29, 2001
1 parent 307bf4d commit ae6dfff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/mdc2/mdc2dgst.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ static void mdc2_body(MDC2_CTX *c, const unsigned char *in, unsigned int len)

des_set_odd_parity(&c->h);
des_set_key_unchecked(&c->h,k);
des_encrypt(d,k,1);
des_encrypt1(d,k,1);

des_set_odd_parity(&c->hh);
des_set_key_unchecked(&c->hh,k);
des_encrypt(dd,k,1);
des_encrypt1(dd,k,1);

ttin0=tin0^dd[0];
ttin1=tin1^dd[1];
Expand Down

0 comments on commit ae6dfff

Please sign in to comment.