diff options
author | Andy Polyakov <appro@openssl.org> | 2004-11-26 15:12:17 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-11-26 15:12:17 +0000 |
commit | bc3e7fabe7f93084d8d93f55bebe20057a0b6970 (patch) | |
tree | 2c55eac5ababd587ea42cd730a50c751554ebb2c /crypto/rc4/rc4_skey.c | |
parent | d675c74d14f9e7f7046ee7b383e41868782ab5bd (diff) | |
download | openssl-bc3e7fabe7f93084d8d93f55bebe20057a0b6970.tar.gz |
Engage RC4 IA-64 assembler module.
Diffstat (limited to 'crypto/rc4/rc4_skey.c')
-rw-r--r-- | crypto/rc4/rc4_skey.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/rc4/rc4_skey.c b/crypto/rc4/rc4_skey.c index 781ff2d8b9..083b53dfb8 100644 --- a/crypto/rc4/rc4_skey.c +++ b/crypto/rc4/rc4_skey.c @@ -93,6 +93,10 @@ 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; |