diff options
author | Richard Levitte <levitte@openssl.org> | 2005-06-23 21:27:21 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-06-23 21:27:21 +0000 |
commit | 1110cea00735fd3f779f62d28a12f4dd613fad61 (patch) | |
tree | 3af81f32a87d09b8ea9cfed33582972faa9ebffb /crypto/md5/md5_locl.h | |
parent | 0ed64ce3108def08e93b87cecf4cd616586c3833 (diff) |
Update for Stratus VOS.
PR: 1130
Diffstat (limited to 'crypto/md5/md5_locl.h')
-rw-r--r-- | crypto/md5/md5_locl.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/md5/md5_locl.h b/crypto/md5/md5_locl.h index 2f5b045f36..94f395f27a 100644 --- a/crypto/md5/md5_locl.h +++ b/crypto/md5/md5_locl.h @@ -67,7 +67,9 @@ #ifdef MD5_ASM # if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__) || defined(__x86_64) || defined(__x86_64__) -# define md5_block_host_order md5_block_asm_host_order +# if !defined(B_ENDIAN) +# define md5_block_host_order md5_block_asm_host_order +# endif # elif defined(__sparc) && defined(OPENSSL_SYS_ULTRASPARC) void md5_block_asm_data_order_aligned (MD5_CTX *c, const MD5_LONG *p,size_t num); # define HASH_BLOCK_DATA_ORDER_ALIGNED md5_block_asm_data_order_aligned @@ -78,6 +80,7 @@ void md5_block_host_order (MD5_CTX *c, const void *p,size_t num); void md5_block_data_order (MD5_CTX *c, const void *p,size_t num); #if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__) || defined(__x86_64) || defined(__x86_64__) +# if !defined(B_ENDIAN) /* * *_block_host_order is expected to handle aligned data while * *_block_data_order - unaligned. As algorithm and host (x86) @@ -99,7 +102,8 @@ void md5_block_data_order (MD5_CTX *c, const void *p,size_t num); * * <appro@fy.chalmers.se> */ -#define md5_block_data_order md5_block_host_order +# define md5_block_data_order md5_block_host_order +# endif #endif #define DATA_ORDER_IS_LITTLE_ENDIAN |