#ifndef _ARC4_H_5f57b099_ #define _ARC4_H_5f57b099_ /* ARC4_STATE is an encryption engine's state. */ typedef struct { unsigned char s[258]; } ARC4_STATE; /* Interfaces */ /* arc4_init initializes a new ARC4_STATE. */ extern void arc4_init(ARC4_STATE *); /* arc4_setkey re-keys an ARC4_STATE. */ extern void arc4_setkey(ARC4_STATE *, const void *, unsigned int, unsigned int); /* arc4_crypt does encryption/decryption. The data buffers may be the same. */ extern void arc4_crypt(ARC4_STATE *, const void *, unsigned int, void *); #endif