summaryrefslogtreecommitdiffstats
path: root/crypto/md5
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-07-20 12:24:04 +0000
committerAndy Polyakov <appro@openssl.org>2005-07-20 12:24:04 +0000
commit165a28abae3a9f52b74636f2c1384396b4968656 (patch)
tree6686ca09760708c9bca20230d617a1d8d18be867 /crypto/md5
parent63999e5299f86ae3beaabca1f95f2eaa422a26d7 (diff)
Pedantic polish to md5-ia64.S.
Diffstat (limited to 'crypto/md5')
-rw-r--r--crypto/md5/asm/md5-ia64.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/md5/asm/md5-ia64.S b/crypto/md5/asm/md5-ia64.S
index 73273fa828..f6bb6aa9d1 100644
--- a/crypto/md5/asm/md5-ia64.S
+++ b/crypto/md5/asm/md5-ia64.S
@@ -168,6 +168,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define ADDP add
#endif
+#if defined(_HPUX_SOURCE) || defined(B_ENDIAN)
+#define HOST_IS_BIG_ENDIAN
+#endif
+
// Macros for getting the left and right portions of little-endian words
#define GETLW(dst, src, align) dep.z dst = src, 32 - 8 * align, 8 * align
@@ -312,7 +316,7 @@ md5_block_asm_host_order:
ld4 AccumD = [CtxPtr1]
dep DPtr_ = 0, DPtrIn, 0, 2
} ;;
-#if defined(_HPUX_SOURCE) || defined(B_ENDIAN)
+#ifdef HOST_IS_BIG_ENDIAN
(pDataOrder) rum psr.be;; // switch to little-endian
#endif
{ .mmb
@@ -361,7 +365,7 @@ md5_block_asm_host_order:
} ;;
.md5_exit:
-#if defined(_HPUX_SOURCE) || defined(B_ENDIAN)
+#ifdef HOST_IS_BIG_ENDIAN
(pDataOrder) sum psr.be;; // switch back to big-endian mode
#endif
{ .mmi