aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rc4/rc4_enc.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-06-26 16:09:29 +0000
committerAndy Polyakov <appro@openssl.org>2005-06-26 16:09:29 +0000
commita4022932ee15766c2f308d7ef9ef699ae0d78e59 (patch)
tree7593ae99f5a710e4c069fa4ab966703e6d80bc78 /crypto/rc4/rc4_enc.c
parent0e3b6b70df7c2e02ec32818ceaec99b3ac8a85cc (diff)
downloadopenssl-a4022932ee15766c2f308d7ef9ef699ae0d78e59.tar.gz
Omit padding in RC4_KEY on IA-64. The idea behind padding was to reserve
room for aligning of the key schedule itself [specific alignment is required for future performance improvements], but OpenSSH "abuses" our API by making copies and restoring RC4_KEY, thus ruining the alignment and making it impossible to recover the key schedule. PR: 1114
Diffstat (limited to 'crypto/rc4/rc4_enc.c')
-rw-r--r--crypto/rc4/rc4_enc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/rc4/rc4_enc.c b/crypto/rc4/rc4_enc.c
index 81a97ea3b7..d5f18a3a70 100644
--- a/crypto/rc4/rc4_enc.c
+++ b/crypto/rc4/rc4_enc.c
@@ -77,10 +77,6 @@ void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata,
x=key->x;
y=key->y;
d=key->data;
-#if defined(__ia64) || defined(__ia64__) || defined(_M_IA64)
- /* see crypto/rc4/asm/rc4-ia64.S for further details... */
- d=(RC4_INT *)(((size_t)(d+255))&~(sizeof(key->data)-1));
-#endif
#if defined(RC4_CHUNK)
/*