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

« back to all changes in this revision

Viewing changes to crypto/des/des_locl.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:
160
160
                                } \
161
161
                        }
162
162
 
163
 
#if defined(OPENSSL_SYS_WIN32) && defined(_MSC_VER)
 
163
#if (defined(OPENSSL_SYS_WIN32) && defined(_MSC_VER)) || defined(__ICC)
164
164
#define ROTATE(a,n)     (_lrotr(a,n))
165
165
#elif defined(__GNUC__) && __GNUC__>=2 && !defined(__STRICT_ANSI__) && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) && !defined(PEDANTIC)
166
166
# if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__)
421
421
        PERM_OP(l,r,tt, 4,0x0f0f0f0fL); \
422
422
        }
423
423
 
424
 
OPENSSL_EXTERN const DES_LONG DES_SPtrans[8][64];
 
424
extern const DES_LONG DES_SPtrans[8][64];
425
425
 
426
426
void fcrypt_body(DES_LONG *out,DES_key_schedule *ks,
427
427
                 DES_LONG Eswap0, DES_LONG Eswap1);