diff options
author | Andy Polyakov <appro@openssl.org> | 2005-06-26 16:09:29 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-06-26 16:09:29 +0000 |
commit | a4022932ee15766c2f308d7ef9ef699ae0d78e59 (patch) | |
tree | 7593ae99f5a710e4c069fa4ab966703e6d80bc78 /crypto/rc4/rc4_skey.c | |
parent | 0e3b6b70df7c2e02ec32818ceaec99b3ac8a85cc (diff) | |
download | openssl-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_skey.c')
-rw-r--r-- | crypto/rc4/rc4_skey.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/rc4/rc4_skey.c b/crypto/rc4/rc4_skey.c index 083b53dfb8..781ff2d8b9 100644 --- a/crypto/rc4/rc4_skey.c +++ b/crypto/rc4/rc4_skey.c @@ -93,10 +93,6 @@ void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data) unsigned int i; d= &(key->data[0]); -#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 key->x = 0; key->y = 0; id1=id2=0; |