diff options
Diffstat (limited to 'protocols/WhatsApp/src/OpenSSL/rc4.h')
-rw-r--r-- | protocols/WhatsApp/src/OpenSSL/rc4.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/OpenSSL/rc4.h b/protocols/WhatsApp/src/OpenSSL/rc4.h new file mode 100644 index 0000000000..91376bedd3 --- /dev/null +++ b/protocols/WhatsApp/src/OpenSSL/rc4.h @@ -0,0 +1,23 @@ +#ifndef HEADER_RC4_LOCL_H +#define HEADER_RC4_LOCL_H + +typedef int RC4_INT; + +typedef struct rc4_key_st + { + RC4_INT x,y; + RC4_INT data[256]; + } RC4_KEY; + +#ifdef __cplusplus +extern "C" { +#endif + +void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data); +void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata, unsigned char *outdata); + +#ifdef __cplusplus +} +#endif + +#endif |