projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3f56e8
)
Pedantic polish to rc4-ia64.pl.
author
Andy Polyakov
<appro@openssl.org>
Wed, 20 Jul 2005 11:47:47 +0000
(11:47 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Wed, 20 Jul 2005 11:47:47 +0000
(11:47 +0000)
crypto/rc4/asm/rc4-ia64.pl
patch
|
blob
|
history
diff --git
a/crypto/rc4/asm/rc4-ia64.pl
b/crypto/rc4/asm/rc4-ia64.pl
index 988eec1e94c79f0abf158ebb7a207b0188f3aa13..49cd5b5e6945a16fd3f67d343d028864174d06c8 100644
(file)
--- a/
crypto/rc4/asm/rc4-ia64.pl
+++ b/
crypto/rc4/asm/rc4-ia64.pl
@@
-231,7
+231,7
@@
sub emit_body {
___
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";
@@
-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
RC4
_BIG_ENDIAN
+# define
HOST_IS
_BIG_ENDIAN
# define BYTE_POS(n) (56 - (8 * (n)))
#else
# define BYTE_POS(n) (8 * (n))