diff options
Diffstat (limited to 'drivers/staging/vt6656/rc4.h')
| -rw-r--r-- | drivers/staging/vt6656/rc4.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/staging/vt6656/rc4.h b/drivers/staging/vt6656/rc4.h index bf607c9d446..d376e1adcc1 100644 --- a/drivers/staging/vt6656/rc4.h +++ b/drivers/staging/vt6656/rc4.h @@ -30,18 +30,17 @@ #ifndef __RC4_H__ #define __RC4_H__ -#include "ttype.h" +#include <linux/types.h> -/*--------------------- Export Definitions -------------------------*/ -/*--------------------- Export Types ------------------------------*/ typedef struct { - UINT ux; - UINT uy; - BYTE abystate[256]; + unsigned int ux; + unsigned int uy; + u8 abystate[256]; } RC4Ext, *PRC4Ext; -VOID rc4_init(PRC4Ext pRC4, PBYTE pbyKey, UINT cbKey_len); -UINT rc4_byte(PRC4Ext pRC4); -void rc4_encrypt(PRC4Ext pRC4, PBYTE pbyDest, PBYTE pbySrc, UINT cbData_len); +void rc4_init(PRC4Ext pRC4, u8 * pbyKey, unsigned int cbKey_len); +unsigned int rc4_byte(PRC4Ext pRC4); +void rc4_encrypt(PRC4Ext pRC4, u8 * pbyDest, u8 * pbySrc, + unsigned int cbData_len); -#endif //__RC4_H__ +#endif /* __RC4_H__ */ |
