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

« back to all changes in this revision

Viewing changes to crypto/des/des_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
#ifndef OPENSSL_FIPS
 
62
 
61
63
void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc)
62
64
        {
63
65
        register DES_LONG l,r,t,u;
287
289
        data[1]=r;
288
290
        }
289
291
 
 
292
#endif /* ndef OPENSSL_FIPS */
 
293
 
290
294
#ifndef DES_DEFAULT_OPTIONS
291
295
 
 
296
#if !defined(OPENSSL_FIPS) || !defined(I386_ONLY)
 
297
 
292
298
#undef CBC_ENC_C__DONT_UPDATE_IV
293
299
#include "ncbc_enc.c" /* DES_ncbc_encrypt */
294
300
 
404
410
        tin[0]=tin[1]=0;
405
411
        }
406
412
 
 
413
#endif /* !defined(OPENSSL_FIPS) || !defined(I386_ONLY) */
 
414
 
407
415
#endif /* DES_DEFAULT_OPTIONS */