~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/des/ecb3_enc.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Martin
  • Date: 2004-12-16 18:41:29 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20041216184129-z7xjkul57mh1jiha
Tags: upstream-0.9.7e
ImportĀ upstreamĀ versionĀ 0.9.7e

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
#include "des_locl.h"
60
60
 
61
 
void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
 
61
void DES_ecb3_encrypt(const unsigned char *in, unsigned char *out,
62
62
                      DES_key_schedule *ks1, DES_key_schedule *ks2,
63
63
                      DES_key_schedule *ks3,
64
64
             int enc)
65
65
        {
66
66
        register DES_LONG l0,l1;
67
67
        DES_LONG ll[2];
68
 
        const unsigned char *in = &(*input)[0];
69
 
        unsigned char *out = &(*output)[0];
70
68
 
71
69
        c2l(in,l0);
72
70
        c2l(in,l1);