1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- #ifndef POLARSSL_ARC4_H
- #define POLARSSL_ARC4_H
- #include <string.h>
- typedef struct
- {
- int x;
- int y;
- unsigned char m[256];
- }
- arc4_context;
- #ifdef __cplusplus
- extern "C" {
- #endif
- void arc4_setup( arc4_context *ctx, const unsigned char *key, unsigned int keylen );
- int arc4_crypt( arc4_context *ctx, size_t length, const unsigned char *input,
- unsigned char *output );
- int arc4_self_test( int verbose );
- #ifdef __cplusplus
- }
- #endif
- #endif
|