Print this page
6652716 Need an ARCFOUR implementation optimized for Intel EM64T

*** 17,34 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* ! * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _ARCFOUR_H #define _ARCFOUR_H ! #pragma ident "@(#)arcfour.h 1.6 07/03/29 SMI" #ifdef __cplusplus extern "C" { #endif --- 17,34 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* ! * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _ARCFOUR_H #define _ARCFOUR_H ! #pragma ident "@(#)arcfour.h 1.7 08/03/20 SMI" #ifdef __cplusplus extern "C" { #endif
*** 48,57 **** --- 48,60 ---- void arcfour_crypt(ARCFour_key *key, uchar_t *in, uchar_t *out, size_t len); #ifdef sun4u void arcfour_crypt_aligned(ARCFour_key *key, size_t len, uchar_t *in, uchar_t *out); #endif /* sun4u */ + #ifdef __amd64 + int arcfour_crypt_on_intel(void); + #endif /* _amd64 */ #ifdef __cplusplus } #endif