diff options
author | pixel <pixel> | 2007-06-11 11:29:16 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-06-11 11:29:16 +0000 |
commit | e1953bb532fdcb7b629ab10cdc86f0253874d0fa (patch) | |
tree | 501f48952593d4855cb8ba5b030269ddf089c1dd /include/rc4.h | |
parent | 9db92074f0a05b2b2e34f960b12c1fb64906131b (diff) |
Adding missing header files.
Diffstat (limited to 'include/rc4.h')
-rw-r--r-- | include/rc4.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/rc4.h b/include/rc4.h new file mode 100644 index 0000000..45b3e1e --- /dev/null +++ b/include/rc4.h @@ -0,0 +1,20 @@ +#ifndef _RC4_H +#define _RC4_H + +struct rc4_state +{ + int x, y, m[256]; +}; + +#ifdef __cplusplus +extern "C" { +#endif + +void rc4_setup( struct rc4_state *s, unsigned char *key, int length ); +void rc4_crypt( struct rc4_state *s, unsigned char *data, int length ); + +#ifdef __cplusplus +} +#endif + +#endif /* rc4.h */ |