~ubuntu-branches/ubuntu/hardy/openssl/hardy-security

« back to all changes in this revision

Viewing changes to crypto/des/des.h

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051213213742-7em5nrw5c7ceegyd
Tags: 0.9.8a-5
Stop ssh from crashing randomly on sparc (Closes: #335912)
Patch from upstream cvs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
#ifndef HEADER_NEW_DES_H
60
60
#define HEADER_NEW_DES_H
61
61
 
 
62
#include <openssl/e_os2.h>      /* OPENSSL_EXTERN, OPENSSL_NO_DES,
 
63
                                   DES_LONG (via openssl/opensslconf.h */
 
64
 
62
65
#ifdef OPENSSL_NO_DES
63
66
#error DES is disabled.
64
67
#endif
65
68
 
66
 
#include <openssl/opensslconf.h> /* DES_LONG */
67
 
#include <openssl/e_os2.h>      /* OPENSSL_EXTERN */
68
 
 
69
69
#ifdef OPENSSL_BUILD_SHLIBCRYPTO
70
70
# undef OPENSSL_EXTERN
71
71
# define OPENSSL_EXTERN OPENSSL_EXPORT
128
128
#define DES_rw_mode OPENSSL_GLOBAL_REF(DES_rw_mode)
129
129
 
130
130
const char *DES_options(void);
131
 
void DES_ecb3_encrypt(const unsigned char *input, unsigned char *output,
 
131
void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
132
132
                      DES_key_schedule *ks1,DES_key_schedule *ks2,
133
133
                      DES_key_schedule *ks3, int enc);
134
134
DES_LONG DES_cbc_cksum(const unsigned char *input,DES_cblock *output,