Pedantic polish to rc4-ia64.pl.
authorAndy Polyakov <appro@openssl.org>
Wed, 20 Jul 2005 11:47:47 +0000 (11:47 +0000)
committerAndy Polyakov <appro@openssl.org>
Wed, 20 Jul 2005 11:47:47 +0000 (11:47 +0000)
crypto/rc4/asm/rc4-ia64.pl

index 988eec1e94c79f0abf158ebb7a207b0188f3aa13..49cd5b5e6945a16fd3f67d343d028864174d06c8 100644 (file)
@@ -231,7 +231,7 @@ sub emit_body {
 ___
 
     if (($p & 0xf) == 0) {
 ___
 
     if (($p & 0xf) == 0) {
-       $c.="#ifdef RC4_BIG_ENDIAN\n";
+       $c.="#ifdef HOST_IS_BIG_ENDIAN\n";
        &I(\$c,"shr.u   OutWord[%u] = OutWord[%u], 32;;",
                                $iw1 % $NOutWord, $iw1 % $NOutWord);
        $c.="#endif\n";
        &I(\$c,"shr.u   OutWord[%u] = OutWord[%u], 32;;",
                                $iw1 % $NOutWord, $iw1 % $NOutWord);
        $c.="#endif\n";
@@ -392,7 +392,7 @@ $code=<<___;
 /* Define a macro for the bit number of the n-th byte: */
 
 #if defined(_HPUX_SOURCE) || defined(B_ENDIAN)
 /* Define a macro for the bit number of the n-th byte: */
 
 #if defined(_HPUX_SOURCE) || defined(B_ENDIAN)
-# define RC4_BIG_ENDIAN
+# define HOST_IS_BIG_ENDIAN
 # define BYTE_POS(n)   (56 - (8 * (n)))
 #else
 # define BYTE_POS(n)   (8 * (n))
 # define BYTE_POS(n)   (56 - (8 * (n)))
 #else
 # define BYTE_POS(n)   (8 * (n))